/*!*********************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/styles/main.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************/
@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap);
/*!************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/components/SearchModal.css ***!
  \************************************************************************************************************************************************************************************/
/* Search Modal Overlay is now handled globally in main.scss */
.wz-search-modal-overlay {
    opacity: 0;
    animation: fadeInOverlay 0.2s forwards;
}

@keyframes fadeInOverlay {
    to {
        opacity: 1;
    }
}

/* Modal Content is now partially handled globally */
.wz-search-modal-content {
    transform: translateY(10px);
    opacity: 0;
    animation: slideUpModal 0.2s 0.05s forwards;
}

@keyframes slideUpModal {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Header: Search Input */
.wz-search-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
}

.wz-search-modal-icon {
    color: #888;
}

.wz-search-modal-input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1.1rem;
    flex: 1;
    font-weight: 500;
}

.wz-search-modal-input::-moz-placeholder {
    color: #666;
}

.wz-search-modal-input::placeholder {
    color: #666;
}

.wz-search-modal-close-icon {
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wz-search-modal-close-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Filters Bar */
.wz-search-filters {
    padding: 10px 20px;
    display: flex;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow-x: auto;
    /* Hide scrollbar */
    scrollbar-width: none;
}

.wz-search-filters::-webkit-scrollbar {
    display: none;
}

.wz-filter-group {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #aaa;
    font-size: 0.85rem;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    white-space: nowrap;
}

.wz-filter-group:hover {
    color: #fff;
}

.wz-filter-group svg {
    width: 14px;
    height: 14px;
}

.wz-filter-select {
    background: transparent;
    border: none;
    color: inherit;
    font-size: inherit;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    /* Hide default arrow */
    font-weight: 500;
}

/* Results Content */
.wz-search-results-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

/* Scrollbar styling for results */
.wz-search-results-list::-webkit-scrollbar {
    width: 6px;
}

.wz-search-results-list::-webkit-scrollbar-track {
    background: transparent;
}

.wz-search-results-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* Result Group */
.wz-search-group {
    margin-bottom: 16px;
}

.wz-search-group-title {
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wz-search-item {
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background 0.1s;
}

.wz-search-item:hover,
.wz-search-item.highlighted {
    background: rgba(255, 255, 255, 0.06);
}

.wz-search-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.wz-search-item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    /* truncate text */
}

.wz-search-item-title {
    color: #e0e0e0;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wz-search-item-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #777;
    margin-top: 2px;
}

.wz-search-meta-separator {
    color: #444;
}

/* Empty / Initial State */
.wz-search-empty {
    padding: 40px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .wz-search-modal-header {
        padding: 12px 15px;
    }

    .wz-search-modal-input {
        font-size: 1rem;
    }

    .wz-search-filters {
        padding: 8px 15px;
        gap: 12px;
    }

    .wz-search-results-list {
        padding-bottom: 20px;
    }

    .wz-search-group-title {
        padding: 8px 15px;
    }

    .wz-search-item {
        padding: 10px 15px;
    }
}
/*!**********************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/components/BottomNav.css ***!
  \**********************************************************************************************************************************************************************************/
/* ────────────────────────────────────────────────────────────
   BottomNav.css – Compact pill for mobile (2 items, no labels)
   ──────────────────────────────────────────────────────────── */

.wz-bottom-nav {
    position: fixed;
    bottom: calc(20px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
    left: calc(20px + var(--safe-area-inset-left, env(safe-area-inset-left, 0px)));
    transform: none;
    width: auto;
    min-width: 110px;
    height: 50px;
    background: rgba(30, 30, 30, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 25px;
    display: none; /* Hidden on desktop */
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    padding: 0 6px;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .wz-bottom-nav {
        display: flex;
    }
}

/* ── Items ── */
.bottom-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease, transform 0.15s ease;
    border-radius: 20px;
    width: 44px;
    height: 44px;
    padding: 0;
    box-sizing: border-box;
}

.bottom-nav-item svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.bottom-nav-item:active {
    transform: scale(0.9);
}

/* ── Active state ── */
.bottom-nav-item.active {
    color: #ffffff;
}

/* ── Hover ── */
@media (hover: hover) {
    .bottom-nav-item:not(.active):hover {
        color: rgba(255, 255, 255, 0.75);
    }
}

/*!*****************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/components/ConnectionsModal.css ***!
  \*****************************************************************************************************************************************************************************************/
.connections-modal-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.connections-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.connections-search-container {
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.02);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon-inline {
    position: absolute;
    left: 16px;
    color: #555;
}

.connections-search-input {
    width: 100%;
    background: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 12px 16px 12px 48px !important;
    color: #fff !important;
    font-size: 15px !important;
    transition: all 0.2s !important;
}

.connections-search-input:focus {
    outline: none !important;
    border-color: #FFB300 !important;
    background: #222 !important;
}

/* Notification Strip */
.notification-strip {
    background: rgba(255, 179, 0, 0.05);
    border-top: 1px solid rgba(255, 179, 0, 0.1);
    border-bottom: 1px solid rgba(255, 179, 0, 0.1);
    padding: 12px 24px;
}

.notification-strip h3 {
    font-size: 11px;
    color: #FFB300;
    margin: 0 0 10px 0;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pending-request-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.pending-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pending-user-info span {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}

.pending-actions {
    display: flex;
    gap: 10px;
}

.btn-accept, .btn-reject {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-accept {
    background: #2e7d32;
    color: #fff;
}

.btn-accept:hover {
    background: #388e3c;
    transform: scale(1.1);
}

.btn-reject {
    background: #c62828;
    color: #fff;
}

.btn-reject:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

/* Lists */
.connections-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px 24px;
}

.connections-content::-webkit-scrollbar {
    width: 6px;
}

.connections-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.section-title {
    font-size: 11px;
    color: #666;
    margin: 24px 0 12px 0;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.user-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.user-profile-mini {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-mini {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.user-details h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.user-details p {
    margin: 2px 0 0 0;
    font-size: 12px;
    color: #666;
}

.btn-list-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-list-action:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-list-action.primary {
    background: #FFB300;
    color: #000;
    border: none;
}

.btn-list-action.primary:hover {
    background: #ffc107;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 179, 0, 0.2);
}

.btn-list-action:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/*!*******************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/components/Header.css ***!
  \*******************************************************************************************************************************************************************************/
.wz-global-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: var(--bg-color, #000000);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    height: auto;
}

.header-left {
    display: flex;
    align-items: center;
    min-width: 0;
}

.wz-global-header .wz-back-link-container {
    width: auto;
    max-width: 100%;
    min-width: 0;
}

.wz-global-header .wz-back-link {
    margin-bottom: 0;
    padding: 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    font-size: 0.85rem;
}

@media (max-width: 480px) {
    .wz-global-header .wz-back-link {
        font-size: 0.78rem;
        max-width: 160px;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-action-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    padding: 6px 10px;
}

.header-action-btn:hover {
    color: #fff;
}

.header-action-btn.success {
    color: #b3cf5f;
}

.header-profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s;
}

.header-profile-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.profile-avatar-mini {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.6);
}

.profile-avatar-mini img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 50%;
}

.profile-name {
    font-size: 13px;
    font-weight: 500;
}

/* Dropdown Container */
.header-profile-container {
    position: relative;
}

.header-profile-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-profile-btn:hover,
.header-profile-btn.active {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Dropdown Menu */
.header-profile-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 220px;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: dropdownFadeIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-user-info {
    padding: 8px 12px 12px 12px;
    display: flex;
    flex-direction: column;
}

.dropdown-hello {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 4px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.dropdown-item.logout {
    color: #f56565;
}

.dropdown-item.logout:hover {
    background: rgba(245, 101, 101, 0.1);
    color: #fc8181;
}

@media (max-width: 768px) {
    .wz-global-header {
        padding: 15px 20px;
    }

    .profile-name {
        display: none;
    }

    .header-profile-btn {
        padding: 8px;
    }
}

.header-login-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #7545e3 0%, #5a32b3 100%);
    border: none;
    padding: 8px 18px;
    border-radius: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(117, 69, 227, 0.2);
}

.header-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(117, 69, 227, 0.3);
    filter: brightness(1.1);
}

.header-login-btn:active {
    transform: translateY(0);
}

.header-login-btn span {
    display: inline-block;
}

@media (max-width: 480px) {
    .header-login-btn span {
        display: none;
    }

    .header-login-btn {
        padding: 8px;
    }
}

/* Header Refresh Button Styles */
.header-manual-refresh-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.header-manual-refresh-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.header-manual-refresh-btn svg {
    fill: #9b9b9b;
    transition: fill 0.2s;
}

.header-manual-refresh-btn:hover svg {
    fill: #ffffff;
}

/* Spin animation on click */
.header-manual-refresh-btn svg.spin-animation {
    animation: manual-spin 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes manual-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.wz-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.wz-header-action-btn-custom {
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.wz-header-action-btn-custom.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.wz-header-action-btn-custom.secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.wz-header-action-btn-custom.primary {
    background: var(--accent-primary, #7545e3);
    color: #fff;
    box-shadow: 0 2px 8px rgba(117, 69, 227, 0.25);
}

.wz-header-action-btn-custom.primary:hover:not(:disabled) {
    background: var(--accent-hover, #6134ca);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(117, 69, 227, 0.35);
}

.wz-header-action-btn-custom:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .wz-header-action-btn-custom {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .wz-header-actions {
        gap: 6px;
    }

    .wz-header-action-btn-custom {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
}

.wz-header-action-btn-custom.mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    .wz-back-link-container.hidden-on-mobile {
        display: none !important;
    }

    .wz-header-action-btn-custom.mobile-only {
        display: flex;
    }
}
/*!***************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/pages/Explore.css ***!
  \***************************************************************************************************************************************************************************/
/* ── Explore Page Main ── */
.explore-page {
    padding: 32px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Hero Section ── */
.explore-hero {
    position: relative;
    padding: 60px 40px;
    border-radius: 20px;
    background: radial-gradient(100% 100% at 50% 0%, rgba(117, 69, 227, 0.08) 0%, rgba(0, 0, 0, 0) 100%), 
                linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    margin-bottom: 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.explore-hero-glow {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 150px;
    background: radial-gradient(circle, rgba(117, 69, 227, 0.2) 0%, rgba(117, 69, 227, 0) 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 1;
}

.explore-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    width: 100%;
}

.explore-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(117, 69, 227, 0.15);
    border: 1px solid rgba(117, 69, 227, 0.3);
    color: #a78bfa;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.explore-badge-icon {
    color: #a78bfa;
}

.explore-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 0 0 16px;
    background: linear-gradient(135deg, #ffffff 0%, #a0aec0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.explore-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0 0 32px;
}

/* ── Search Bar Trigger ── */
.explore-search-trigger {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 20px;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.explore-search-trigger:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(117, 69, 227, 0.5);
    box-shadow: 0 4px 30px rgba(117, 69, 227, 0.15);
    transform: translateY(-1px);
}

.explore-search-trigger span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
    margin-left: 12px;
    flex-grow: 1;
}

.search-icon-subtle {
    color: rgba(255, 255, 255, 0.3);
}

.search-shortcut-hint {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: monospace;
}

/* ── Loading Spinner ── */
.explore-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    color: rgba(255, 255, 255, 0.4);
}

.spinner-subtle {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-top-color: #7545e3;
    border-radius: 50%;
    animation: explore-spin 0.8s linear infinite;
    margin-bottom: 16px;
}

@keyframes explore-spin {
    to { transform: rotate(360deg); }
}

/* ── Section Grid ── */
.explore-content-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.explore-sections-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.explore-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.explore-section-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 12px;
}

.explore-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.explore-section-title-wrap h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.3px;
}

.text-accent {
    color: #a78bfa;
}

.explore-section-subtitle-text {
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ── Songs Lists ── */
.explore-songs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.explore-empty-state {
    padding: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
    border: 1px dashed rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 0.9rem;
}

/* ── Verified Profiles ── */
.verified-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.verified-profile-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 16px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.verified-profile-card:hover {
    background: rgba(117, 69, 227, 0.04);
    border-color: rgba(117, 69, 227, 0.25);
    transform: translateY(-2px);
}

.profile-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    overflow: hidden;
    flex-shrink: 0;
}

.profile-card-avatar img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.profile-card-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
}

.profile-card-name {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.profile-card-name span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-card-handle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ── CTA Banner ── */
.explore-cta-section {
    margin-top: 60px;
    padding-bottom: 24px;
}

.explore-cta-card {
    position: relative;
    padding: 48px 40px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(117, 69, 227, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
    border: 1px solid rgba(117, 69, 227, 0.2);
    overflow: hidden;
}

.explore-cta-glow {
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(117, 69, 227, 0.25) 0%, rgba(117, 69, 227, 0) 70%);
    filter: blur(40px);
    pointer-events: none;
}

.explore-cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.explore-cta-content h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}

.explore-cta-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 0 28px;
}

.explore-cta-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #7545e3;
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(117, 69, 227, 0.3);
}

.cta-btn-primary:hover {
    background: #8656f4;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(117, 69, 227, 0.4);
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ── Responsive adjustments ── */
@media (max-width: 1024px) {
    .explore-hero h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .explore-sections-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .explore-hero {
        padding: 40px 20px;
        margin-bottom: 32px;
    }
    
    .explore-hero h1 {
        font-size: 1.85rem;
    }
    
    .explore-cta-card {
        padding: 32px 24px;
    }
}

/*!************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/pages/Home.css ***!
  \************************************************************************************************************************************************************************/
/* ────────────────────────────────────────────────────────────
   Home.css – Nueva Home limpia y minimalista
   ──────────────────────────────────────────────────────────── */

.home-page {
    padding-bottom: calc(100px + var(--safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.home-inner-container {
    max-width: 480px;
    width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* ── A. Logo ── */
.home-logo-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: clamp(60px, 12vh, 120px);
    margin-bottom: clamp(40px, 8vh, 80px);
}

.home-logo-svg {
    max-width: 168px;
    width: 100%;
    height: auto;
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .home-logo-svg animate {
        display: none !important;
    }
    .home-logo-rect {
        fill: #ffffff !important;
    }
}

/* ── Content ── */
.home-content {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 100%;
}

/* ── B. Shortcuts ── */
.home-shortcuts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}

.home-shortcut-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-sizing: border-box;
}

.home-shortcut-pill:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.home-shortcut-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.home-shortcut-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
}

/* ── C. Espacios ── */
.home-espacios-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 12px;
}

.home-section-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    text-align: left;
}

.home-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.3px;
}

.home-section-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 4px 0 0;
}

.home-espacios-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.home-espacio-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    color: #ffffff;
}

.home-espacio-row:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.home-espacio-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 12px;
}

.home-espacio-count {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
    flex-shrink: 0;
}

.home-espacios-empty {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
    text-align: center;
    line-height: 1.5;
    margin: 24px 0 16px;
    padding: 0 10px;
}

/* ── D. Crear espacio ── */
.home-create-space-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 12px;
    align-self: flex-start;
}

.home-espacios-empty ~ .home-create-space-btn {
    align-self: center;
}

.home-create-space-btn:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

/* Form */
.home-create-space-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    width: 100%;
}

.home-create-space-input {
    width: 100%;
    background: #18181c;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 14px;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    box-sizing: border-box;
}

.home-create-space-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
}

.home-create-space-actions {
    display: flex;
    gap: 8px;
}

.home-create-space-confirm {
    padding: 8px 16px;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.home-create-space-cancel {
    padding: 8px 14px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    cursor: pointer;
}
/*!*******************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/styles/PageLayout.css ***!
  \*******************************************************************************************************************************************************************************/
/* PageLayout.css - Shared styles for page containers, headers, and lists */

.wz-app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background: #000;
}

.wz-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100vh;
    overflow: hidden;
}

.wz-main-content {
    flex: 1;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
}

.wz-page-container {
    flex: 1;
    padding: 100px 40px 40px;
    color: var(--text-color);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-container {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    width: 100%;
    min-height: 0;
}

/* Constrain direct children to max-width — unified across all main pages */
.wz-page-container>* {
    width: 100%;
    max-width: 900px;
}

/* Response Mobile Styles */
@media (max-width: 1200px) {
    .wz-page-container {
        padding: 70px 15px var(--mobile-page-padding-bottom, 110px);
    }

    .is-immersive .wz-page-container {
        padding-bottom: 0 !important;
    }
}

/* Headers */
.page-header {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    width: 100%;
    gap: 10px;
}

.header-left-group {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    /* Allow shrinking */
}

.page-header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .page-header {
        margin-bottom: 15px;
    }

    .page-header h1 {
        font-size: 1.25rem;
    }
}

@media (max-width: 400px) {
    .page-header h1 {
        font-size: 1.1rem;
    }

    .header-left-group {
        gap: 8px;
    }
}

.mobile-back-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-color);
    padding: 0;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-back-btn {
        display: flex;
        align-items: center;
    }
}

/* Page Layout Grids (Optional base, specific pages might override) */
.page-layout-grid {
    display: flex;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    /* From Lists.css */
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .page-layout-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    /* Mixin from MySongs layout */
    .page-layout-grid.two-columns {
        grid-template-columns: 1fr 1fr;
    }
}

/* Shared Buttons */
.action-btn {
    width: 28px;
    /* From Lists.css, MySongs used padding 8px instead of fixed width */
    height: 28px;
    border-radius: 6px;
    /* Uniform radius */
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: var(--text-placeholder);
    /* Default from MySongs, Lists text uses specific colors */
    background: transparent;
    transition: all 0.2s;
    padding: 0;
    /* Reset padding if using width/height */
}

/* Make action-btn more flexible to handle both fixed size and padding? 
   Lists.css used fixed 28x28. MySongs used padding 8px. 
   Let's stick to flex center property and let overrides handle size if needed, 
   but defaults are good. */

.action-btn:hover {
    background: var(--hover-overlay);
    color: var(--text-color);
}

.action-btn.trash:hover {
    color: var(--danger-color);
    background: rgba(229, 62, 62, 0.1);
}

.action-btn.confirm {
    background: rgba(72, 187, 120, 0.1);
    /* Green tint */
    color: var(--success-color);
}

/* Lists Used red for confirm delete list? 
   Lists.css: .action-btn.confirm { background: #e53e3e; } 
   MySongs.css: .action-btn.confirm { color: #48bb78; background: ... } 
   
   Context: Lists confirm is "Delete List". MySongs confirm is "Delete Song".
   Both are destructive usually? Wait, "Confirm Delete" -> Logic implies "Yes, do it".
   MySongs uses Check icon for "Yes" to delete.
   Lists uses Check icon to "Yes" to delete.
   
   Let's standardize on Red for destructive confirmation if it's a delete action?
   Or Green for "Confirm" (Yes)?
   MySongs code: <button className="action-btn confirm" ...> <Check /> </button>
   
   Let's use the Green style for "Confirm Action" generally, unless specified.
*/

.action-btn.confirm:hover {
    background: rgba(72, 187, 120, 0.2);
}

.action-btn.cancel {
    color: var(--danger-color);
    /* Red for cancel/close? Or neutral? */
    background: rgba(229, 62, 62, 0.1);
}

.action-btn.cancel:hover {
    background: rgba(229, 62, 62, 0.2);
}

.confirm-group {
    display: flex;
    gap: 8px;
    /* Standardize gap */
    align-items: center;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Drag Handles */
.drag-handle-subtle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: -12px;
    margin-right: 4px;
    cursor: grab;
    touch-action: none;
}

.drag-handle-subtle:active {
    cursor: grabbing;
}

/* Premium Song Row - Standardized across the app */
.song-row-premium {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;


    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.song-row-premium:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.1);
}

.song-row-premium.deleted {
    background: rgba(245, 101, 101, 0.05);
    border: 1px dashed rgba(245, 101, 101, 0.3);
    cursor: default;
}

/* Suppress hover and pointer events on the card when its menu is open */
.song-row-premium.menu-open {
    pointer-events: none;
}

.song-row-premium.menu-open .song-actions,
.song-row-premium.menu-open .management-menu-container {
    pointer-events: auto;
}

.song-row-premium.deleted:hover {
    transform: none;
    background: rgba(245, 101, 101, 0.08);
}

.song-row-premium .song-thumbnail {
    width: 44px;
    height: 44px;
    background: #1a1a1a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    flex-shrink: 0;
}

.song-row-premium .song-info {
    flex: 1;
    min-width: 0;
}

.song-row-premium .song-info h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 2px 0;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-row-premium .song-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #666;
}

.song-row-premium .key-badge {
    background: rgba(255, 179, 0, 0.1);
    color: #FFB300;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.song-row-premium .song-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #555;
}

.song-row-premium .bpm-label {
    font-size: 11px;
    font-weight: 700;
    color: #444;
    background: rgba(255, 255, 255, 0.03);
    padding: 2px 6px;
    border-radius: 4px;
}

.song-row-premium .action-icon-btn {
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s;
}

.song-row-premium .action-icon-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.song-row-premium .action-icon-btn.active {
    color: #ff5252;
}

.song-row-premium .action-with-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    min-width: 32px;
}

.song-row-premium .action-count {
    font-size: 9px;
    font-weight: 800;
    color: #666;
    line-height: 1;
    margin-top: -2px;
}

.song-row-premium .status-marker {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 4px;
}

.song-row-premium .status-marker.publish {
    color: #48bb78;
    background: rgba(72, 187, 120, 0.1);
}

.song-row-premium .status-marker.private {
    color: #888;
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .song-row-premium {
        padding: 12px 14px;
        gap: 12px;
    }

    .song-row-premium .song-thumbnail {
        width: 38px;
        height: 38px;
    }

    .song-row-premium .song-actions {
        gap: 4px;
        /* Tighten gap for buttons, but buttons themselves have padding */
    }

    .song-row-premium .action-icon-btn {
        padding: 8px;
        /* Increased from 4px for better touch target */
    }

    .song-row-premium .bpm-label {
        display: none;
    }
}

@media (max-width: 400px) {
    .song-row-premium {
        padding: 10px 8px;
        gap: 8px;
    }

    .song-row-premium .song-info h3 {
        font-size: 14px;
    }

    .song-row-premium .action-icon-btn {
        padding: 6px;
    }

    .song-row-premium .drag-handle-subtle {
        width: 36px;
        height: 36px;
        margin-left: -6px;
    }
}

/* Utility */
.no-select {
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}

.song-row-card:hover {
    background: var(--hover-overlay);
    transform: translateX(5px);
}

.card-custom-icon {
    background: var(--hover-overlay);
    padding: 10px;
    border-radius: 50%;
    color: var(--text-secondary);
    display: flex;
    /* Ensure centering */
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .card-custom-icon {
        display: none;
        /* Hide on mobile per MySongs.css */
    }
}

.card-main-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}

.card-title {
    margin: 0;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .song-row-card {
        padding: 12px;
        gap: 12px;
    }

    .card-title {
        font-size: 1rem;
    }
}

.card-sub-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .card-sub-info {
        font-size: 0.8rem;
    }
}

/* Badges & Tags */
.saved-tone-badge {
    background: rgba(237, 137, 54, 0.2);
    color: var(--warning-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.publish {
    background: rgba(72, 187, 120, 0.2);
    color: #48bb78;
}

.status-badge.private {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
}

/* Management Menu */
.management-menu-container {
    position: relative;
}

.management-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    min-width: 180px;
    overflow: hidden;
    padding: 6px;
    animation: menuFadeIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.management-dropdown.open-up {
    top: auto !important;
    bottom: calc(100% + 8px) !important;
    margin-top: 0 !important;
}

.management-dropdown.open-down {
    top: 100% !important;
    bottom: auto !important;
    margin-top: 8px !important;
}


@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.management-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    width: 100%;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    text-align: left;
}

.creator-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-weight: 500;
}

.visibility-badge {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(72, 187, 120, 0.1);
    color: #48bb78;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 4px;
    border: 1px solid rgba(72, 187, 120, 0.2);
}

.management-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.management-item.delete {
    color: #f56565;
}

.management-item.delete:hover {
    background: rgba(245, 101, 101, 0.1);
}


/* Breadcrumb Dropdown Styles */
.breadcrumb-dropdown-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.breadcrumb-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 150px;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    flex-direction: column;
}

.breadcrumb-dropdown-menu.visible {
    display: flex;
}

.breadcrumb-dropdown-item {
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: transparent;
    border: none;
    width: 100%;
    transition: all 0.2s;
}

.breadcrumb-dropdown-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.breadcrumb-dropdown-item.active {
    color: #f9bb1c;
    font-weight: 600;
}

.list-folder-card {
    border-radius: var(--module-radius);
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.list-folder-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    border-color: rgba(249, 187, 28, 0.3);
    /* Yellow hint on hover */
}

/* Suppress hover when the folder's dropdown menu is open */
.list-folder-card.menu-open {
    pointer-events: none;
}

.list-folder-card.menu-open .folder-actions,
.list-folder-card.menu-open .list-menu-container {
    pointer-events: auto;
}

.folder-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(249, 187, 28, 0.1);
    /* Yellow tint */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.folder-info {
    flex: 1;
}

.folder-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.folder-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-placeholder);
}

.folder-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.creator-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.6;
}

.folder-arrow {
    color: var(--text-muted);
}

.folder-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.sidebar-style-create-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #2c2c2c;
    color: white;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s ease;
    border: none;
    cursor: pointer;
    margin: 0 auto 50px auto;
    width: -moz-fit-content;
    width: fit-content;
}

@media (max-width: 768px) {
    .sidebar-style-create-btn {
        margin-bottom: 25px;
    }
}

.sidebar-style-create-btn:hover {
    background: #3c3c3c;
}

/* Toast Notifications */
.wz-toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: #7645e3;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(118, 69, 227, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    animation: toastEnter 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes toastEnter {
    0% {
        opacity: 0;
        transform: translate(-50%, 30px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

.wz-toast.exit {
    animation: toastExit 0.3s ease forwards;
}

@keyframes toastExit {
    from {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }

    to {
        opacity: 0;
        transform: translate(-50%, 10px) scale(0.95);
    }
}

/* ──────────────────────────────────────────────────────────────────────────
   UNIFIED MODAL SYSTEM (wz-modal)
   ────────────────────────────────────────────────────────────────────────── */

.wz-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 16px;
    box-sizing: border-box;
    /* Desktop sidebar is 240px wide. We offset the modal container centering area 
       to align the modal perfectly within the main content screen. */
    padding-left: 256px;
    /* 240px sidebar + 16px default padding */
    transition: all 0.3s ease;
    width: 100vw !important;
    max-width: none !important;
    left: 0 !important;
    top: 0 !important;
}

@media (max-width: 1200px) {
    .wz-modal-overlay {
        padding-left: 16px;
        /* Reset offset when sidebar is hidden */
    }
}

.wz-modal-card {
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 24px;
    width: 100%;
    max-width: 460px;
    padding: 28px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    animation: wz-modal-slideup 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.wz-modal-card.wide {
    max-width: 580px;
}

@keyframes wz-modal-slideup {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wz-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.wz-modal-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.wz-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wz-toast-container {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    pointer-events: none;
}

.wz-toast-container .wz-toast {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    pointer-events: auto;
}

/* ── Selected Song Card Style ── */
.song-row-premium.selecting {
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}

.song-row-premium.selected {
    /* Kept identical to normal card visual styles - selection indicated only by the checkbox tick */
}

/* ── Checkbox visual style ── */
.song-select-checkbox {
    margin-right: 16px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.song-select-checkbox .sb-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-color: transparent;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.song-select-checkbox .sb-checkbox.checked {
    background-color: #FFB300;
    border-color: #FFB300;
    color: #000;
}

/* ── Selection Bar ── */
.sb-selection-bar,
.bulk-actions-bar {
    position: fixed;
    bottom: 24px;
    left: calc(50% + 120px);
    transform: translateX(-50%);
    background: rgba(22, 22, 22, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 990;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    width: calc(100% - 48px);
    max-width: 760px;
    box-sizing: border-box;
    animation: sb-slideup 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    transition: left 0.3s ease;
}

@keyframes sb-slideup {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 1200px) {

    .sb-selection-bar,
    .bulk-actions-bar {
        left: 50%;
        bottom: calc(100px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
    }
}

.sb-selection-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sb-selection-count {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
}

.sb-selection-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 600px) {

    .sb-selection-bar,
    .bulk-actions-bar {
        bottom: calc(96px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
        padding: 12px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        border-radius: 16px;
    }

    .sb-selection-info {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .sb-selection-actions {
        justify-content: space-between;
    }

    .sb-selection-actions .sb-btn,
    .sb-selection-actions .bulk-action-btn {
        flex: 1;
        justify-content: center;
        padding: 8px 10px;
    }
}

/* ── Unified Bulk Action Buttons ── */
.bulk-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.bulk-action-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
}

.bulk-action-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.bulk-action-btn.primary {
    background: rgba(255, 183, 0, 0.15);
    border-color: rgba(255, 183, 0, 0.35);
    color: #FFB300;
}

.bulk-action-btn.primary:hover:not(:disabled) {
    background: rgba(255, 183, 0, 0.24);
    border-color: rgba(255, 183, 0, 0.5);
    color: #FFB300;
}

.bulk-action-btn.secondary {
    /* Same as base bulk-action-btn */
}

.bulk-action-btn.danger {
    background: rgba(245, 101, 101, 0.12);
    border-color: rgba(245, 101, 101, 0.3);
    color: #f56565;
}

.bulk-action-btn.danger:hover:not(:disabled) {
    background: rgba(245, 101, 101, 0.2);
    border-color: rgba(245, 101, 101, 0.4);
    color: #f56565;
}

/* ── Unified Selection Toggle Button ── */
.wz-select-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 42px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
    box-sizing: border-box;
}

.wz-select-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
}

.wz-select-toggle.active {
    background: rgba(255, 183, 0, 0.15);
    border-color: rgba(255, 183, 0, 0.35);
    color: #FFB300;
}

.wz-select-toggle.active:hover {
    background: rgba(255, 183, 0, 0.24);
    border-color: rgba(255, 183, 0, 0.5);
}

/* ── Selection Mode Song List Padding in Mobile ── */
@media (max-width: 1200px) {

    .is-selecting-mode .songs-vertical-list,
    .is-selecting-mode .sb-songs-list {
        padding-bottom: calc(240px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))) !important;
    }

    .wz-toast-container {
        bottom: calc(100px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))) !important;
    }
}

/* ── Mobile/Tablet Song List Padding for Floating Menus ── */
@media (max-width: 768px) {

    .songs-vertical-list,
    .sb-songs-list,
    .sl-song-list,
    .public-songs-list,
    .home-songs-list,
    .search-results-list,
    .song-list-container {
        padding-bottom: calc(180px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))) !important;
    }
}


/* ── Page/Section Back Link ── */
.wz-back-link-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: flex-start;
    box-sizing: border-box;
}

.wz-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 20px;
    text-decoration: none;
    transition: color 0.15s ease;
}

.wz-back-link:hover {
    color: #fff;
}
/*!***************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/pages/MySongs.css ***!
  \***************************************************************************************************************************************************************************/
/* MySongs.css */

.create-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.create-btn:hover {
    opacity: 0.9;
}

/* Layout */
.my-songs-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

@media (max-width: 768px) {
    .song-list-column {
        width: 100%;
    }
}

.modules-column {
    /* Empty for now */
    min-height: 100px;
    border-radius: 8px;
    /* Optional dotted border to show where it is during dev */
    /* border: 2px dashed rgba(255,255,255,0.05); */
}
/*!*************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/pages/Lists.css ***!
  \*************************************************************************************************************************************************************************/
/* Lists.css */
/* Specific styles for Lists page layout components that are not shared */

.lists-grid {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    width: 100%;
}

@media (max-width: 768px) {
    .lists-grid {
        margin-top: 0;
    }
}





.delete-trigger {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-trigger:hover {
    color: var(--danger-color);
    background: rgba(229, 62, 62, 0.1);
}

/* Breadcrumbs in Header - Keep for Lists specific */
.header-titles {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-separator {
    color: var(--text-muted);
}

.breadcrumb-current {
    font-size: 1.3rem;
    color: var(--secondary-color);
    /* Highlight color */
    font-weight: 600;
}

@media (max-width: 768px) {
    .lists-header h1 {
        font-size: 1.5rem;
    }
    .breadcrumb-current {
        font-size: 1rem;
    }
}

.lists-layout {
    display: flex;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
}

/* Utility .full-width might be useful if not present in PageLayout, 
   but it's generic enough. */
.full-width {
    width: 100%;
}

.song-row-card-wrapper {
    list-style: none;
    /* Ensure no bullet points */
    margin-bottom: 8px;
}

.drag-handle-zone {
    cursor: grab;
    touch-action: none;
    /* Crucial for mobile drag */
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: var(--text-muted);
}

.drag-handle-zone:active {
    cursor: grabbing;
}

.drag-icon {
    opacity: 0.5;
    transition: opacity 0.2s;
}

.drag-handle-zone:hover .drag-icon {
    opacity: 1;
}

.overview-drag-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: grab;
    touch-action: none; /* Critical for mobile */
    margin-left: -12px;
}

.overview-drag-handle:active {
    cursor: grabbing;
}

/* List Menu Dropdown */
.list-menu-container {
    position: relative;
}

.list-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    min-width: 120px;
    overflow: hidden;
}

.list-dropdown-menu button {
    background: transparent;
    border: none;
    color: white;
    padding: 12px 16px;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.list-dropdown-menu button:hover {
    background: rgba(255, 255, 255, 0.05);
}

.list-dropdown-menu button.delete-option {
    color: #ff5252;
}

.list-dropdown-menu button.delete-option:hover {
    background: rgba(255, 82, 82, 0.1);
}

.custom-lists-group {
    display: flex;
    flex-direction: column;

    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}
/*!*********************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/components/ListenOn.css ***!
  \*********************************************************************************************************************************************************************************/
/* ListenOn.css */
.wz-listen-on {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Assuming standardized border */
    border-radius: 16px;
    background: rgba(40, 40, 40, 0.4);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.wz-listen-header {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
    margin-bottom: 5px;
}

.wz-listen-title {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: white;
    color: #ffffff;
}

.wz-listen-link:hover {
    background: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.wz-listen-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Platform specific colors on hover for a nicer touch? 
   Or just keep it clean monochrome/dark theme. 
   Let's keep it clean but maybe add subtle brand colors on hover if requested.
   For now, clean. 
*/
.wz-listen-chip {
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: capitalize;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: auto;
    height: auto;
}

.wz-listen-chip:hover {
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .wz-listen-grid {
        justify-content: center;
    }
}
/*!************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/components/SongDisplay.css ***!
  \************************************************************************************************************************************************************************************/
/* =========================================================
   BASE
   ========================================================= */

h1 {
    margin: 5px;
    font-size: 1.5rem;
}

/* =========================================================
   LAYOUT
   ========================================================= */

.wz-song-viewer {
    font-weight: 200;
    letter-spacing: -1px;
    color: var(--text-secondary);
    min-height: 100%;
    /* Fix height on mobile to prevent body scroll and enable distinct column scrolling */
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Prevent body scroll */
    align-items: center;
    /* Center Children */
    width: 100%;
    --wz-content-width: minmax(auto, 1400px);
    --wz-margin-width: minmax(10px, 1fr);

    @media (min-width: 1024px) {
        height: 100vh;
        overflow: hidden;
        /* No Web Scroll */
        display: flex;
        flex-direction: column;
    }
}

.wz-song-viewer>* {
    width: 100%;
    /* Max Width Constraint as per user request */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.wz-song-columns {
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* font-size: 16px; REMOVED to allow inheritance */
    /* Fallback base size */
    width: 100%;
    /* Ensure scroll in base too */
    height: auto;
    overflow: visible;

    @media (min-width: 1024px) {
        display: flex;
        gap: 20px;
        /* Default for 1024px - 1499px: Single Column */
        flex-direction: column;
        align-items: stretch;
        height: 100%;
        overflow-y: auto;
        width: 100%;
        padding-bottom: 100px;
        scrollbar-width: thin;
        scrollbar-color: #333 transparent;
    }

    @media (min-width: 1500px) {
        /* Desktop: Song Columns (Lyrics) Split */
        flex-direction: row;
        overflow: hidden;
        padding-bottom: 0;
    }
}

/* Force single column for editor preview */
.wz-song-display-inner.force-single-column .wz-song-columns {
    flex-direction: column !important;
    overflow-y: auto !important;
}

.wz-song-display-inner.force-single-column .wz-column-right {
    display: none !important;
}

.wz-song-display-inner.force-single-column .wz-column-left {
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 40px !important;
}

.wz-column {
    display: flex;
    flex-direction: column;
    gap: 40px;

    @media (min-width: 1024px) {
        min-width: 0;
        /* Default for 1024px - 1499px */
        flex: none;
        height: auto;
        overflow-y: visible;
        padding-bottom: 0;
    }

    @media (min-width: 1500px) {
        flex: 1;
        height: 100%;
        overflow-y: auto;
        /* Independent Scroll */
        padding-bottom: 100px;
        scrollbar-width: thin;
        scrollbar-color: #333 transparent;
    }
}

.song-layout {
    display: grid;
    grid-template-columns: [full-start] var(--wz-margin-width) [content-start] var(--wz-content-width) [content-end] var(--wz-margin-width) [full-end];
    width: 100%;
    /* Restore flex-grow to fill remaining vertical space from Header */
    flex: 1;
    min-height: 0;
    /* Remove old flex/max-width properties from here */
    max-width: none;
    margin: 0;

    @media (min-width: 1024px) {
        display: flex;
        flex-direction: column;
        flex: 1;
        /* Grow to fill height */
        min-height: 0;
        margin-top: 20px;
        height: 100%;
        overflow: hidden;
    }
}

.wz-layout-content {
    grid-column: content;
    display: flex;
    /* Horizontal Layout Default (Mobile/Tablet) */
    flex-direction: row;
    width: 100%;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* Ensure height management */
    flex: 1;
    min-height: 0;
    position: relative;
    padding-bottom: 20px;
    /* Scrollbar space */
    scroll-snap-stop: always;
    overscroll-behavior-x: contain;
    overflow-y: hidden;

    /* Prevent vertical scroll on container */
    @media (min-width: 1024px) {
        display: flex;
        flex-direction: row;
        gap: 20px;

        /* Match Header Grid Logic: minmax(auto, 1400px) with min 20px margins */
        width: calc(100% - 40px);
        max-width: 1400px;
        margin: 0 auto;

        height: 100%;
        /* Fill remaining space */
        min-height: 0;
        overflow: hidden;
        /* Prevent wrapper scroll vertical */
        overflow-x: auto;
        /* Allow horiz scroll up to 1500px */
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
    }

    @media (min-width: 1500px) {
        /* Desktop: Layout Content becomes Fit-Screen (No Scroll) */
        overflow-x: hidden;
        /* No scroll */
        scroll-snap-type: none;
    }
}

.song-left {
    min-width: 100%;
    flex-shrink: 0;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;

    overflow-y: auto;
    /* Main Scroll */
    overscroll-behavior-y: contain;
    position: relative;
    padding-bottom: max(100px, calc(80px + env(safe-area-inset-bottom)));
    -webkit-overflow-scrolling: touch;

    /* Ensure it's a positioning context */
    @media (min-width: 1024px) {
        padding-bottom: 0;
        display: flex;
        flex-direction: column;

        /* Flex Logic: PRIORITY to content */
        flex: 1;
        /* Tablet: Fixed width to force scroll REMOVED to allow side-by-side */
        min-width: 0;
        height: 100%;
        overflow: hidden;
        scroll-snap-align: start;
    }

    @media (min-width: 1500px) {
        flex: 1;
        min-width: 0;
        max-width: none;
        scroll-snap-align: none;
    }
}

.song-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: auto;
    /* Let it grow */
    overflow: visible;

    @media (min-width: 1024px) {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow: hidden;
        /* Prevent container scroll */
    }
}

.song-right {
    min-width: 100%;
    flex-shrink: 0;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-bottom: 100px;

    @media (min-width: 1024px) {
        min-width: 350px;
        width: 350px;
        max-width: 350px;
        flex-shrink: 0;
        scroll-snap-align: start;
        height: 100%;
        overflow-y: auto;
        /* Independent Scroll */
        border-left: 1px solid var(--border-color);
        background: rgba(0, 0, 0, 0.2);
        border-radius: 20px;
        border-bottom: 1px solid var(--border-color);
        border-right: 1px solid var(--border-color);
        padding-bottom: 60px;
        scrollbar-width: thin;
        scrollbar-color: #333 transparent;
    }

    @media (min-width: 1500px) {
        /* Adjust Right Column */
        min-width: 350px;
        width: 350px;
        max-width: 350px;
        scroll-snap-align: none;
    }
}

.song-extras-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* =========================================================
   COMPONENTS - HEADER & CONTROLS
   ========================================================= */

.wz-song-controls {
    margin-bottom: 0px;
    /* removed margin to sit flush with keybar or next element */
    position: relative;
    /* Changed from sticky to relative as it's now often inside header or static flow */
    z-index: 100;
    transition:
        max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease;
    overflow: hidden;
}

.controls-stack {
    position: sticky;
    top: 0;
    z-index: 90;
    margin: 0px 0px;

    @media (max-width: 768px) {
        /* height: 0; */
        overflow: visible;
    }
}

.controls-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.wz-mode-toggle {
    display: flex;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    max-width: 300px;
    justify-content: space-between;
    backdrop-filter: blur(9px);
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 5px;

    @media (min-width: 1700px) {
        width: auto;
    }
}

.wz-mode-button {
    border: none;
    background: none;
    color: var(--text-secondary);
    padding: 8px 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    width: 100%;

    @media (min-width: 1700px) {
        width: auto;
        padding-left: 20px;
        padding-right: 20px;
    }
}

.tools-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.wz-tool-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: #383838;
    color: var(--text-secondary);
    font-size: 14px;
    /* Slightly larger for single chars */
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Prevent shrinking in flex container */
}

.mobile-mode-toggle {
    display: flex;
    margin-top: 60px;
    margin-bottom: 30px;
    width: 100%;
    justify-content: center;

    @media (min-width: 769px) {
        display: none !important;
    }
}

.desktop-mode-toggle {
    display: none;

    @media (min-width: 769px) {
        display: block !important;
        /* Allow it to take space if needed, or auto */
    }
}

.wz-key-actions-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}

.wz-key-actions-question {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 500;
}

.wz-key-actions-question strong {
    color: #fff;
}

.wz-key-actions-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.wz-key-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.wz-key-icon-btn.save-btn {
    background: rgba(40, 200, 60, 0.2);
    color: #4ade80;
    border-color: rgba(40, 200, 60, 0.3);
}

.wz-key-icon-btn.delete-btn {
    background: rgba(255, 80, 80, 0.1);
    color: #f87171;
    border-color: rgba(255, 80, 80, 0.2);
}

.wz-key-icon-btn.delete-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    filter: grayscale(1);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.1);
}

.wz-settings-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;

    @media (min-width: 769px) {
        display: none !important;
    }
}

.header-left-group {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1500;
    /* Prevent overlap from centered controls */
    gap: 15px;
    transition: margin-left 0.3s ease;

    @media (max-width: 768px) {
        gap: 0;
    }
}

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    position: relative;
    z-index: 1500;
    /* Also ensure right usage sits above */
}

.solo-musicians-indicator {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.9em;
    display: block;
    margin-top: 5px;
}

.wz-song-display-inner {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible;

    @media (min-width: 1024px) {
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
}

.song-header {
    /* Liquid Glass Effect for Header Container */
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    margin: 0;
    border-bottom: none;
    flex-shrink: 0;
    z-index: 10;

    transition: margin-top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: margin-top;
    position: relative;
    /* Grid Layout */
    display: grid;
    grid-template-columns: [full-start] var(--wz-margin-width) [content-start] var(--wz-content-width) [content-end] var(--wz-margin-width) [full-end];
    width: 100%;

    @media (max-width: 768px) {
        padding: 20px;
        transition:
            padding 0.3s ease,
            background-color 0.3s ease;
        padding-bottom: 0px;
        position: absolute;
    }

    @media (min-width: 1024px) {
        /* .song-header internal constraints removed as it uses grid now */
        max-width: none;
        padding: 0;
        /* Padding handled by grid margins (min 20px) */
    }
}

.wz-header-content {
    grid-column: content;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    /* For absolute children */

    @media (min-width: 1024px) {
        padding: 10px 0;
        /* Vertical padding */
    }
}

.desktop-header-left-controls {
    display: none;
    align-items: center;
    gap: 15px;

    @media (min-width: 769px) {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    @media (max-width: 768px) {
        display: none !important;
    }
}

.header-separator {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 5px;
}

.header-controls {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    /* CENTER ALIGN TOOLS */
    align-items: center;
    overflow: visible;
    /* Popup might need visible */
    transition: all 0.3s ease;

    /* PC: Absolute centering to ensure true center */

    @media (min-width: 769px) {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        pointer-events: auto;
        /* ensure clicks work */
        display: flex !important;
        opacity: 1 !important;
        max-height: none !important;
        visibility: visible !important;
    }

    @media (max-width: 768px) {
        position: absolute;
        top: 100%;
        /* Dropdown */
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid var(--border-color);
        padding: 0;
        max-height: 0;
        opacity: 0;
        pointer-events: none;
    }
}

.back-btn.minimalist-arrow {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;

    @media (min-width: 769px) {
        display: none !important;
    }
}

.content-info-header {
    margin-bottom: 2rem;
    padding: 0px;
}

.content-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.1;
    color: var(--text-color);
}

.content-author {
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-scroll-wrapper {
    display: inline-block;
    white-space: nowrap;

    @media (max-width: 768px) {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.header-info-content {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.song-title {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--text-secondary);
    font-weight: 700;
    font-family: "Bergen Mono", monospace;

    @media (max-width: 768px) {
        font-size: 1.2rem;
    }
}

.song-author {
    font-size: 0.95rem;
    color: var(--highlight-color);
    /* Or a muted color if preferred */
    font-weight: 500;
    opacity: 0.8;
    font-family: "Bergen Mono", monospace;

    @media (max-width: 768px) {
        font-size: 0.85rem;
    }
}

.edit-song-btn-header {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #aaa;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-family: inherit;
    transition: all 0.2s;
    height: 44px;
    /* Match settings toggle height */
    box-sizing: border-box;
    /* On mobile, might want to be circle if text is hidden, or just pill */
    margin-top: 5px;
    width: -moz-fit-content;
    width: fit-content;

    @media (min-width: 769px) {
        /* Adjust padding for text visibility */
        padding: 6px 16px;
    }

    @media (max-width: 768px) {
        padding: 0;
        width: 44px;
        /* Circle on mobile */
        height: 44px;
        justify-content: center;
        border-radius: 50%;
        border: 1px solid var(--border-color);
        background: var(--bg-secondary);
    }
}

.edit-text {
    display: none;

    /* Default hidden on mobile */
    @media (min-width: 769px) {
        display: inline;
    }
}

.info-title {
    margin: 0 0 10px 0;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    color: var(--text-secondary);
    opacity: 0.8;
}

.info-value {
    color: var(--text-secondary);
    font-weight: 500;
}

.wz-map-header {
    display: none;

    /* Hidden on mobile by default */
    @media (min-width: 769px) {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--module-border);
        padding: 12px 15px;
        background: rgba(255, 255, 255, 0.02);
        /* Slight contrast or matched? Info panel might not have it. Let's check Info Panel CSS. It has standard bg. */
        background: transparent;
    }
}

.wz-index-button {
    flex: 0 0 auto;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-secondary);
    border: 1px solid #ffffff28;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    border-radius: 5px;
}

.mobile-bottom-bar {
    display: none;

    @media (max-width: 768px) {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        /* No solid background - "floating islands" concept */
        background: transparent;

        /* Comfortable padding from edges (23px to match Apple Notes side spacing approx) */
        padding-bottom: max(20px, env(safe-area-inset-bottom));
        /* Lifted up slightly */
        z-index: 1000;
        height: auto;
        min-height: 60px;
        align-items: flex-end;
        /* Align to bottom */
        justify-content: space-between;
        /* Limit groups to edges */
        pointer-events: none;
        /* Let touches pass through empty space */
        gap: 15px;
    }
}

.save-tone-btn {
    margin-top: 4px;
    background: rgba(247, 189, 0, 0.1);
    border: 1px solid var(--highlight-color);
    color: var(--highlight-color);
    border-radius: 4px;
    font-size: 0.75rem;
    padding: 4px 10px;
    display: flex;
    gap: 6px;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    width: -moz-fit-content;
    width: fit-content;
}

.header-info-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tools-overflow-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: rgba(40, 40, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.wz-tool-dropdown-item {
    background: transparent;
    border: none;
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    text-align: left;
    transition: background 0.15s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.tools-overflow-wrapper {
    flex-shrink: 0;
}

.wz-header-search {
    display: flex;
    align-items: center;
    position: relative;
}

.wz-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(30, 30, 30, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.wz-search-input-wrapper {
    display: none;
    /* Global strict hide */
    align-items: center;
    border-radius: 10px;
    padding: 0 8px;
    height: 36px;
    overflow: hidden;
    width: 0;
    opacity: 0;
    /* transition removed as display:none prevents it */
}

.search-input-icon {
    color: rgba(235, 235, 245, 0.6);
    margin-right: 6px;
    flex-shrink: 0;
}

.wz-search-input {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    width: 100%;
    outline: none;
    padding: 0;
    font-family: inherit;
}

.search-clear-btn {
    background: transparent;
    border: none;
    color: rgba(235, 235, 245, 0.6);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.song-header.search-mode-active .header-actions {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    z-index: 20;
    padding: 0 20px;

    @media (min-width: 1351px) {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: flex-end !important;
        /* Restore right alignment */
    }

    @media (max-width: 768px) {
        width: 300px !important;
        /* Fixed width as requested */
        left: 50% !important;
        transform: translateX(-50%);
        /* Center it since it's absolute */
        padding: 0 !important;
        /* exact width */
    }
}

.song-header.search-mode-active .wz-header-search {
    width: 100%;
    max-width: 600px;
    justify-content: center;

    @media (min-width: 1351px) {
        max-width: none !important;
        /* Allow natural sizing */
        justify-content: flex-end !important;
        width: auto !important;
    }
}

.song-header.search-mode-active .wz-search-input-wrapper {
    width: 100%;
    margin: 0;

    @media (min-width: 1351px) {
        width: 240px !important;
        /* Force standard desktop width */
    }
}

.song-header.search-mode-active .wz-settings-toggle {
    display: none;
}

.song-map-floater {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 900;
    /* High enough to be above content */
    display: flex;
    flex-direction: row-reverse;
    /* Button at bottom, content above */
    align-items: center;
    /* Align right */
    gap: 10px;
    pointer-events: none;

    /* Let clicks pass through area unless on interactive parts */
    @media (max-width: 768px) {
        bottom: 80px;
        /* Above bottom bar (approx 60-70px) */
        right: 10px;
        z-index: 800;
    }
}

.map-toggle-btn {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    /* Prevent shrinking */
    z-index: 910;
    /* Above content just in case */
}

.map-floater-content {
    pointer-events: auto;
    transition:
        max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.4s ease,
        opacity 0.3s ease;
    transform-origin: bottom right;
    opacity: 0;
    transform: none;
    visibility: visible;
    max-width: 0;
    /* Safety */
    /* Reset previous transforms */
    /* Handle opacity via overflow/width? Or both. */

    /* Horizontal Expansion Logic */
    overflow: hidden;
    padding: 0;
    /* No padding when closed */
    white-space: nowrap;
    /* Prevent wrap during animation */

    /* Initial State */
}

.song-map-expander {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 910;

    /* Base styling mimicking the button */
    background: rgba(30, 30, 30, 0.85);
    /* Slightly darker */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);

    /* Transitions for expansion */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Button at bottom right */
    overflow: hidden;

    /* Clip content during expand */
    @media (min-width: 769px) {
        display: none !important;
    }

    @media (max-width: 768px) {
        bottom: 20px;
        right: 20px;
        display: flex !important;
        /* Ensure it's shown */
        /* Above the pill (~60px height + margin) */
        z-index: 2000;
        /* Above bottom bar tools */
        position: fixed !important;
        /* Aligned with bottom bar icons */
        /* Super High Z-Index */
        margin-bottom: env(safe-area-inset-bottom);
    }
}

.song-map-expander .map-toggle-btn {
    position: absolute;
    /* Absolute relative to Expander */
    bottom: 0;
    right: 0;
    width: 54px;
    height: 54px;
    border: none;
    background: transparent;
    /* Container has BG */
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.3s ease;

    @media (max-width: 768px) {
        width: 54px;
        height: 54px;
        z-index: 50 !important;
        /* Ensure on top of title */
    }
}

.map-expander-body {
    width: 100%;
    opacity: 0;
    transition: opacity 0.2s ease 0.1s;
    /* Delay slightly */
    pointer-events: auto;
    display: flex;
    flex-direction: column;
}

.map-expander-body .wz-index-button {
    width: 100%;
    /* Fill grid cell */
    height: 36px;
    /* slightly compact */
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 0 4px;
    justify-content: center;
    border-radius: 8px;

    @media (max-width: 768px) {
        height: 40px;
        /* Larger touch target */
        font-size: 13px;
        /* Touch target */
        /* Readable text */
    }
}

.combined-header-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Ensure distribution */
    gap: 0;
    background: rgba(30, 30, 30, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Minimum width to hold both comfortably */
    @media (min-width: 769px) {
        min-width: 0 !important;
        /* Allow shrink on desktop */
        width: auto !important;
    }
}

.combined-header-tools>div,
.combined-header-tools .wz-header-search {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* For separator positioning context */
    margin: 0 !important;
    padding: 0 !important;
    /* Force 50% split */
    max-width: 100%;
}

.combined-header-tools .wz-settings-toggle,
.combined-header-tools .wz-header-search .wz-search-toggle {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    width: 44px;
    /* Standard touch target width */
    height: 40px;
    /* Visual height */
    border-radius: 20px;
    /* Softer rect inside pill if hover */
}

.combined-header-tools .wz-search-toggle svg {
    width: 18px !important;
    /* Smaller icon as requested */
    height: 18px !important;
}

.combined-header-tools>div:first-child::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    /* More vertical padding for subtle look */
    bottom: 20%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
    display: block;

    @media (min-width: 769px) {
        display: none !important;
        content: none !important;
    }
}

.song-header.search-mode-active .combined-header-tools {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    background: transparent;
    /* Remove pill background to let search bar float if desired? 
       Or keep it? User wants "search bar ... center".
       If we keep background, the pill expands. Let's try keeping it first to match style, 
       but make it full width if needed or just centered.
    */
    background: rgba(30, 30, 30, 0.75);
    /* Ensure visibility */
    display: flex;
}

.song-header.search-mode-active .combined-header-tools>div:first-child {
    display: none !important;
}

.song-header.search-mode-active .combined-header-tools .wz-header-search {
    width: 100%;
    max-width: 100%;
    justify-content: center;
}

.wz-header-search-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    width: 44px;
    height: 44px;
    /* Match other toggles */
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.tool-disabled-appearance {
    opacity: 0.5;
    filter: grayscale(100%);
    cursor: not-allowed;
}

/* =========================================================
   COMPONENTS - KEY BAR & POPUPS
   ========================================================= */

.wz-key-bar-container {
    /* No longer sticky itself, parent handles it or it's part of sticky row */
    position: static;
    margin: 0;
    flex-grow: 1;
    /* Take available space */
    min-width: 0;
    /* Allow shrink */
    transition:
        max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease,
        padding 0.3s ease,
        margin 0.3s ease;
    overflow: hidden;
}

.wz-key-bar {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 5px;
    border-radius: 999px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(5px);
    /* Fixed height for alignment */
    box-sizing: border-box;
    width: 100%;
    justify-content: space-around;
    /* Ensure full width */
}

.wz-key-button {
    flex: 0 0 auto;
    /* bit larger touch target */
    border: none;
    border-radius: 50%;
    /* Circle looks nice */
    background: transparent;
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-weight: 500;
    min-width: 32px;
    height: 32px;
}

.mobile-key-popup {
    display: block;
    position: fixed;
    /* Fixed to viewport for full width */
    top: auto;
    bottom: 90px;
    /* Above bottom bar (approx 70-80px) */
    left: 10px;
    right: 10px;
    margin: 0;

    background: rgba(30, 30, 30, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    /* Match desktop/tools radius */
    padding: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);

    width: auto;
    max-width: none;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: top center;
    transform: scale(0.95);
    display: flex;
    /* Centering content */
    justify-content: center;
    flex-direction: column;

    @media (min-width: 769px) {
        display: none !important;
    }
}

.mobile-key-popup::before {
    display: none;
    /* Hide arrow for full-width panel style */
}

.mobile-key-popup .wz-key-bar-container {
    max-height: none !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto;
    background: transparent;
}

.mobile-key-popup .wz-key-bar {
    background: transparent;
    border: none;
    backdrop-filter: none;
    padding: 2px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    /* Keep scrollable */
    gap: 8px;
    /* More breathing room */
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.mobile-key-popup .wz-key-button {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.desktop-key-popup {
    display: none;

    @media (min-width: 769px) {
        display: flex;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) scale(0.95) translateY(-5px);
        margin-top: 12px;

        background: rgba(30, 30, 30, 0.75);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
        border-radius: 30px;
        padding: 6px 10px;

        /* Width Logic for Single Line */
        width: -moz-max-content;
        width: max-content;
        min-width: 0;
        max-width: none;
        z-index: 2000;
        /* Increased Z-Index */

        /* Animation */
        opacity: 0;
        visibility: hidden;
        /* Use visibility */
        transition:
            opacity 0.2s ease,
            transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
            visibility 0.2s;
        transform-origin: top center;
        /* Allow width to grow for the buttons */
        /* min-width: 250px; Or let it fit content */
        flex-direction: column;
        align-items: center;
    }
}

.mobile-key-popup .wz-key-actions-row {
    padding: 0 5px;
    /* Adjust padding if needed */
}

.wz-key-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    /* Match Settings Toggle */
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-secondary);
    font-size: 15px;
    /* Slightly larger for the key letter */
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;

    @media (min-width: 769px) {
        display: flex !important;
    }
}

/* =========================================================
   COMPONENTS - SONG CONTENT
   ========================================================= */

.section-block {
    margin: 0px;
    padding: 0px;
    /* min-width: 40ch; REMOVED for mobile, applied in media query below */

    /* The font-size will be set via inline style on the container or inherited */
    transition:
        box-shadow 1s ease,
        border-color 1s ease;

    @media (min-width: 1500px) {
        /* User request: Only on PC > 1500px */
        min-width: 40ch;
    }
}

.section-block .name-block {
    display: block;
    letter-spacing: 2px;
    width: 100%;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-family: "Bergen Mono", monospace;
    width: -moz-fit-content;
    width: fit-content;
    border-radius: 5px;
}

.wz-line {
    white-space: pre-wrap;
    font-family: "Bergen Mono", monospace;
    letter-spacing: -1.5px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.wz-line--chords {
    color: var(--highlight-color);
}

.chord-token {
    display: inline-block;
    vertical-align: top;
}

.c-prefix {
    color: inherit;
    font-weight: normal;
    margin-right: 1px;
}

.c-root {
    color: var(--highlight-color);
    font-weight: normal;
}

.c-quality {
    font-size: 0.7em;
    font-weight: 500;
    margin-left: 1px;
    position: relative;
    top: -0.4em;
    /* Manual superscript alignment for better control */
}

.c-slash {
    color: var(--text-secondary);
    margin: 0 1px;
    font-weight: normal;
}

.c-bass {
    color: var(--highlight-color);
}

.c-decoration {
    font-size: 0.85em;
    font-weight: normal;
    margin-left: 1px;
}

.non-chord {
    opacity: 0.7;
    font-weight: normal;
}

.wz-line--lyrics {
    color: var(--text-secondary);
    margin-bottom: 6px;
}

/* =========================================================
   COMPONENTS - MODULES & INFO
   ========================================================= */

.status-tag {
    display: inline-block;
    margin-left: 10px;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.status-tag.type-saved {
    background: #4caf50;
    color: white;
}

.status-tag.type-edited,
.status-tag.type-created {
    background: var(--highlight-color);
    color: black;
}

.wz-song-info-panel {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
}

.wz-map-content {
    /* Mobile Default: Floating or whatever it was */
    display: flex;
    flex-direction: column;

    @media (min-width: 769px) {
        /* Always visible, looks like a panel/card */
        position: static;
        width: 100%;
        height: auto;
        opacity: 1;
        pointer-events: all;
        box-sizing: border-box;

        /* Content Padding from Module Var */
        padding: var(--module-padding);

        background: transparent;
        border: none;
        border-radius: 0;
        backdrop-filter: none;
    }

    @media (max-width: 768px) {
        width: 100%;
        overflow-x: auto;
        display: flex !important;
        align-items: center;
        gap: 5px;
        background: transparent;
        border: none;
        padding: 0;
        margin: 0;
        opacity: 1 !important;
        position: relative !important;
        right: auto !important;
        pointer-events: auto;
    }
}

.wz-section-index {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 5px;
    scrollbar-width: none;

    @media (min-width: 769px) {
        padding: 5px 0;
        overflow-x: auto;
        justify-content: flex-start;
        /* Matches Info Panel internal spacing if needed, but horizontal scroll is key here */
    }

    @media (max-width: 768px) {
        width: 100%;
        justify-content: flex-start;
    }
}

.wz-section-index::-webkit-scrollbar {
    display: none;
}

.wz-map-multiplier {
    font-size: 0.85em;
    margin-left: 4px;
}

.placeholder-module {
    background: #192023;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s;
    min-height: 100px;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.video-placeholder {
    aspect-ratio: 16/9;
}

.map-placeholder {
    height: 150px;
}

.placeholder-module span {
    font-size: 0.9rem;
    font-weight: 500;
}

.song-status-tag {
    display: none !important;

    @media (min-width: 769px) {
        display: inline-flex !important;
        margin-left: 10px;
        padding: 2px 8px;
        border-radius: 12px;
        font-size: 0.7rem;
        font-weight: 600;
        color: white;
        text-transform: uppercase;
        vertical-align: middle;
        align-items: center;
    }
}

.wz-search-input::-moz-placeholder {
    color: rgba(235, 235, 245, 0.6);
}

.wz-search-input::placeholder {
    color: rgba(235, 235, 245, 0.6);
}

.map-floater-content .wz-map-content {
    background: rgba(30, 30, 30, 0.85);
    /* Slightly darker/opaque */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 50px;
    padding: 4px 6px;
    /* Reset Vertical Stack */
    flex-direction: row;
    align-items: center;
    /* Tighter padding */
    /* Pill shape */
    height: 44px;
    /* Match button height approx */
    box-sizing: border-box;

    /* Ensure background is consistent */
    @media (max-width: 768px) {
        background: rgba(30, 30, 30, 0.95);
        /* Stronger contrast on mobile */
    }
}

.map-floater-content .wz-section-index {
    max-width: 300px;
    /* Limit width */
    /* Add scroll mask/indicators if needed, but basic scroll is fine */
    padding: 0;
    gap: 5px;
    display: flex;
    align-items: center;
}

.map-floater-content .wz-map-title {
    display: none !important;
}

.map-expander-body .wz-map-title {
    display: block !important;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 14px;
    padding-left: 5px;

    @media (max-width: 768px) {
        display: none !important;
    }
}

.map-expander-body .wz-section-index {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns */
    gap: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2px;

    /* Max Height Logic: "Que se vea dos filas, si hay tercera scroll" */
    /* Approx row height: Button (36px approx) + Gap (8px) */
    /* 2 rows = approx 80-90px. Let's set max-height */
    max-height: 120px;

    /* Adjust based on button size */
    @media (max-width: 768px) {
        max-height: 150px;
        /* A bit more space on mobile touch */
        gap: 6px;
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns on Mobile */
        /* Explicit height for scrolling */
        overflow-x: hidden !important;
        /* Ensure no horizontal scroll on mobile grid */
        padding-bottom: 20px;
        mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 100%);
    }
}

.map-expander-body .wz-map-content {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    display: block !important;
    /* Reset flex */
    overflow-x: hidden !important;
    /* Prevent horizontal scroll from legacy styles */
    width: 100% !important;

    @media (max-width: 768px) {
        display: block !important;
        height: auto;
        overflow: visible !important;
    }
}

/* =========================================================
   STATES & OVERRIDES
   ========================================================= */

.wz-mode-button.is-active {
    background: #202020;
    color: var(--text-color);
    border-radius: 20px;
}

.wz-tool-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.wz-tool-btn.is-active {
    background: var(--text-secondary);
    color: #000;
}

.wz-key-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.wz-key-button.is-active {
    background: #00000094;
    /* Contrast text */
    font-weight: 700;
    min-width: 32px;
    height: 32px;
    border: 1px solid #2b3137;
}

.wz-key-button.is-original-key,
.wz-key-toggle.is-original-key {
    position: relative;
    /* Needed for pseudo-element positioning */
}

.wz-key-button.is-original-key::after,
.wz-key-toggle.is-original-key::after {
    content: "";
    position: absolute;
    bottom: 2px;
    width: 3px;
    height: 3px;
    background-color: var(--text-secondary);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
}

.wz-key-button.is-active.is-original-key::after {
    background-color: var(--bg-color);
}

.wz-key-toggle.is-saved.is-original-key::after {
    background-color: var(--text-secondary);
    /* Keep standard color as bg is transparent but bordered */
}

.wz-key-button.is-saved-key {
    border: 1px dashed var(--section-prechorus) !important;
    /* Yellow */
}

.wz-key-button.is-saved-key.is-active {
    background: #00000094;
}

.wz-key-toggle.is-saved {
    background: transparent;
    color: var(--text-secondary);
    border: 1px dashed var(--section-prechorus) !important;
    /* Yellow */
}

.wz-key-toggle.is-active.is-original-key::after,
.wz-key-toggle.is-saved.is-active.is-original-key::after {
    background-color: var(--bg-color);
}

.wz-song-controls.is-collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.wz-song-controls.is-expanded {
    max-height: 200px;
    opacity: 1;
    padding: 10px;
    padding-bottom: 0px;

    @media (max-width: 768px) {
        position: relative;
        z-index: 200;
    }
}

.mobile-key-popup.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.mobile-key-popup .wz-key-button.is-active {
    background: #fff;
    color: #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mobile-key-popup .wz-key-button.is-active.is-original-key::after {
    background-color: #000;
}

.wz-key-icon-btn.save-btn:hover {
    background: rgba(40, 200, 60, 0.3);
    color: #86efac;
    transform: scale(1.05);
}

.wz-key-icon-btn.save-btn.is-update {
    background: rgba(255, 190, 0, 0.2);
    color: #fcd34d;
    border-color: rgba(255, 190, 0, 0.3);
}

.wz-key-icon-btn.save-btn.is-update:hover {
    background: rgba(255, 190, 0, 0.3);
    color: #fde047;
}

.wz-key-icon-btn.delete-btn:hover:not(:disabled) {
    background: rgba(255, 80, 80, 0.2);
    color: #fca5a5;
    transform: scale(1.05);
}

.wz-settings-toggle.is-active {
    background: var(--text-secondary);
    color: var(--bg-color);
    border-color: var(--text-secondary);
}

.wz-key-bar-container.is-collapsed {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 10px;
    max-width: 500px;
}

.wz-key-bar-container.is-expanded {
    max-height: 100px;
    /* Enough for the bar */
    opacity: 1;
    margin: 10px 0px;

    @media (max-width: 768px) {
        position: relative;
        z-index: 100;
        /* Below controls if both open, but usually only one is used */
    }
}



.wz-song-display-inner[data-mode="lyrics"] .wz-line--chords {
    display: none;
}

.wz-song-display-inner[data-mode="chords-only"] .wz-line--chords {
    line-height: 2;
    margin-bottom: 0;
}

.wz-song-display-inner[data-mode="lyrics"] .wz-line--lyrics {
    font-family: "Bergen Mono", monospace;
    line-height: 1.6;
    width: 100%;
    /* Override fit-content from .wz-line */
    white-space: pre-wrap;
    /* Ensure wrapping */
    word-break: break-word;
    /* Prevent clipping of long words */
    overflow-wrap: break-word;
}

.wz-song-display-inner[data-mode="chords-only"] .wz-line--lyrics {
    display: none;
}

.back-btn.minimalist-arrow:hover {
    opacity: 0.7;
}

.edit-song-btn-header:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--text-secondary);
    color: white;

    @media (max-width: 768px) {
        background: rgba(255, 255, 255, 0.1);
    }
}

.wz-index-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.placeholder-module:hover {
    background: #20292d;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--accent-color);
}

.save-tone-btn:hover {
    background: var(--highlight-color);
    color: #000;
}

.tools-overflow-dropdown.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.wz-tool-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.wz-tool-dropdown-item.is-active {
    background: var(--highlight-color);
    color: black;
    font-weight: 600;
}

.wz-search-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.wz-header-search.is-expanded .wz-search-input-wrapper {
    display: flex;
    /* Show when expanded */
    width: 200px;
    opacity: 1;
    pointer-events: auto;
    margin-left: 10px;

    @media (max-width: 768px) {
        border-radius: 30px;
        height: 44px;
        /* Taller for touch */
    }
}

.wz-header-search.is-expanded .wz-search-toggle {
    display: none;
}

.search-clear-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.map-toggle-btn:hover {
    transform: scale(1.1);
    background: rgba(40, 40, 40, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.map-toggle-btn.is-active {
    background: var(--text-secondary);
    color: var(--bg-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.song-map-floater.is-open .map-floater-content {
    opacity: 1;
    transform: none;
    visibility: visible;
    max-width: 800px;
    /* Arbitrary large enough width */
    /* Reset transform if it was inherited */
    padding: 0;

    /* No external padding, inner wz-map-content handles it */
    @media (max-width: 768px) {
        /* Ensure it fits on screen */
        max-width: 95vw;
        transform: scale(1) translateY(0);
    }
}

.song-map-expander.is-collapsed {
    width: 54px;
    /* Match button width + borders if any */
    height: 54px;
    border-radius: 18px;
    /* Or 50% if button is circle, let's match button shape which is usually circle or rounded squircle */
    border-radius: 50%;
    /* Let's go with circle for closed state if button is circle */
    background: rgba(30, 30, 30, 0.8);

    /* Slightly transparent closed */
    @media (max-width: 768px) {
        /* Standard Floating Button look */
        width: 54px;
        height: 54px;
    }
}

.song-map-expander.is-expanded {
    width: 300px;
    /* PC Width */
    height: auto;
    border-radius: 24px;
    background: rgba(30, 30, 30, 0.95);
    padding: 15px;
    /* Content padding */
    padding-bottom: 60px;

    /* Space for the toggle button at bottom right */
    @media (max-width: 768px) {
        /* "Ocupando el ancho de pantalla en móvil" */
        width: auto !important;
        /* Full width minus margins */
        right: 20px;
        /* Center ish */
        bottom: 25px;
        /* Above bottom bar */
        /* Full width with margins */
        left: 20px;
        /* Force left anchor to center it if needed, or use Right */
        padding-bottom: 70px;
        /* Keep space for toggle */
        /* Mobile: Anchored Left/Right 20px creates accurate margins */
        /* Override fixed width */
        max-width: none;
        box-sizing: border-box;

        /* Internal Spacing */
        padding: 16px;
        /* Space for FAB since title is gone */
    }
}

.song-map-expander.is-expanded .map-toggle-btn {
    /* Maybe rotate to X or just change color? */
    color: #fff;
    transform: rotate(90deg);
    /* Visual cue */
}

.song-map-expander.is-expanded .map-expander-body {
    opacity: 1;
    pointer-events: auto;
}

.song-header.is-shrunk .combined-header-tools {
    /* transform: scale(0.9); REMOVED */
    border-color: rgba(255, 255, 255, 0.08);
}

.song-header.search-mode-active .combined-header-tools .wz-header-search.is-expanded .wz-search-input-wrapper {
    width: auto;
    flex-grow: 1;
    /* Fill space */
    max-width: 300px;
    /* Reasonable cap */
    margin: 0;
}

.wz-header-search-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.tool-disabled-appearance:hover {
    background: transparent;
    color: inherit;
}

/* =========================================================
   MEDIA QUERIES
   ========================================================= */

@media (min-width: 1024px) {

    .wz-column::-webkit-scrollbar,
    .song-right::-webkit-scrollbar {
        width: 6px;
    }

    .wz-column::-webkit-scrollbar-track,
    .song-right::-webkit-scrollbar-track {
        background: transparent;
    }

    .wz-column::-webkit-scrollbar-thumb,
    .song-right::-webkit-scrollbar-thumb {
        background: #333;
        border-radius: 3px;
    }
}

@media (min-width: 1350px) {
    .wz-header-search .wz-search-toggle {
        display: none;
    }

    .wz-header-search .wz-search-input-wrapper {
        display: flex !important;
        /* Force visibility on large screens */
        width: 240px;
        opacity: 1;
        pointer-events: auto;
    }
}

@media (min-width: 1351px) {

    .song-header.search-mode-active .header-left-group,
    .song-header.search-mode-active .header-controls,
    .song-header.search-mode-active .wz-settings-toggle {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        top: 0;
        /* ensure alignment reset if needed */
    }
}

@media (min-width: 769px) {

    .wz-song-controls.is-collapsed,
    .wz-song-controls.is-expanded {
        max-height: none !important;
        opacity: 1 !important;
        display: flex !important;
        align-items: center;
        background: transparent;
        /* Reset */
        border: none;
        /* Reset */
        box-shadow: none;
        /* Reset */
        padding: 0;
        /* Reset */
        width: auto;
        /* Reset */
        margin: 0;
        /* Reset */
    }

    .wz-song-controls .tools-group {
        display: flex;
        align-items: center;
        gap: 0;

        background: rgba(30, 30, 30, 0.75);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
        border-radius: 30px;
        padding: 4px 6px;
    }

    .wz-song-controls .wz-tool-btn {
        background: transparent;
        border: none;
        border-radius: 50%;
        /* Circle */
        width: 40px;
        height: 40px;
        color: rgba(255, 255, 255, 0.7);
        margin: 0 2px;
        position: relative;
    }

    .wz-song-controls .wz-tool-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    .wz-song-controls .wz-tool-btn.is-active {
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
    }

    .wz-song-controls .wz-tool-btn[data-tooltip]::after {
        content: attr(data-tooltip);
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%) translateY(-4px);
        background: rgba(20, 20, 20, 0.95);
        color: #fff;
        padding: 6px 10px;
        border-radius: 8px;
        font-size: 12px;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition:
            opacity 0.2s ease,
            transform 0.2s ease,
            visibility 0.2s;
        pointer-events: none;
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
        font-family: inherit;
        letter-spacing: normal;
        font-weight: 500;
    }

    .wz-song-controls .wz-tool-btn[data-tooltip]::before {
        content: "";
        position: absolute;
        top: calc(100% + 2px);
        left: 50%;
        transform: translateX(-50%) translateY(-4px);
        border-width: 0 6px 6px 6px;
        border-style: solid;
        border-color: transparent transparent rgba(20, 20, 20, 0.95) transparent;
        opacity: 0;
        visibility: hidden;
        transition:
            opacity 0.2s ease,
            transform 0.2s ease,
            visibility 0.2s;
        pointer-events: none;
        z-index: 999;
    }

    .wz-song-controls .wz-tool-btn[data-tooltip]:hover::after {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .wz-song-controls .wz-tool-btn[data-tooltip]:hover::before {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .controls-stack .wz-key-bar-container {
        display: none !important;
    }

    .desktop-key-popup.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) scale(1) translateY(0);
        pointer-events: auto;
    }

    .desktop-key-popup::before {
        content: "";
        position: absolute;
        top: -6px;
        left: 50%;
        /* Center it */
        transform: translateX(-50%) rotate(45deg);
        width: 12px;
        height: 12px;
        background: inherit;
        /* Matches popup bg */
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        /* Keep blur consistency */
        -webkit-backdrop-filter: blur(20px);
        z-index: 1;
        /* Match popup z-index context */
    }

    .desktop-key-popup .wz-key-bar-container {
        max-height: none !important;
        opacity: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: -moz-max-content;
        width: max-content;
        /* Fit content */
        background: transparent;
    }

    .desktop-key-popup .wz-key-bar {
        background: transparent;
        border: none;
        backdrop-filter: none;
        padding: 2px;
        flex-wrap: nowrap;
        /* FORCE SINGLE LINE */
        justify-content: flex-start;
        gap: 4px;
    }

    .desktop-key-popup .wz-key-button {
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.05);
        /* Slight fill */
        border-radius: 8px;
        /* Rounded rects instead of circles for "grid" feel? Or keep circles? User said "Apple Notes", usually standard list or grid. Let's keep circles but maybe slightly bigger or different style. Keeping existing circle style for consistency but ensuring better hover. */
    }

    .desktop-key-popup .wz-key-button:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .desktop-key-popup .wz-key-button.is-active {
        background: #fff;
        color: #000;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .desktop-key-popup .wz-key-button.is-active.is-original-key::after {
        background-color: #000;
    }

    .desktop-key-popup .wz-key-actions-row {
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .desktop-key-popup .wz-key-action-btn {
        font-size: 12px;
        padding: 6px 10px;
    }

    .wz-song-map-module {
        /* Reset floating properties */
        position: static;
        display: flex;
        flex-direction: column;
        width: 100%;
        z-index: auto;

        /* Apply Module Standard Styles to the CONTAINER in PC */
        background: var(--module-bg);
        border: 1px solid var(--module-border);
        border-radius: var(--module-radius);
        overflow: hidden;
        /* Ensure chidren don't overflow radius */
    }

    .wz-map-toggle-mobile {
        display: none !important;
    }

    .wz-map-title-text {
        font-family: "Montserrat", sans-serif;
        font-size: var(--module-title-size);
        text-transform: var(--module-title-transform);
        letter-spacing: var(--module-title-spacing);
        color: var(--module-title-color);
        font-weight: var(--module-title-weight);
    }

    .wz-map-header-icon {
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        opacity: 0.7;
    }

    .desktop-song-map-wrapper {
        display: block;
        width: 100%;
    }

    .desktop-song-map-wrapper .wz-song-map-module {
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 0;
        overflow: hidden;
        display: block;
    }

    .desktop-song-map-wrapper .wz-map-content {
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 15px;
        display: block;
    }

    .desktop-song-map-wrapper .wz-section-index {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
        width: 100%;
        margin-top: 10px;

        /* Auto Height - No Scroll */
        max-height: none !important;
        overflow-y: visible !important;
        overflow-x: visible !important;
        padding-bottom: 0;
        mask-image: none !important;
        -webkit-mask-image: none !important;
    }

    .desktop-song-map-wrapper .wz-index-button {
        height: 40px;
        width: 100%;
        border-radius: 6px;
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--text-secondary);
        font-size: 13px;
        justify-content: center;
    }

    .desktop-song-map-wrapper .wz-index-button:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2) !important;
    }

    .mobile-key-wrapper {
        display: none !important;
    }
}

@media (max-width: 1350px) {

    .song-header.search-mode-active .header-left-group,
    .song-header.search-mode-active .header-controls,
    .song-header.search-mode-active .wz-settings-toggle {
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: none !important;
    }

    .song-header:not(.search-mode-active) .header-left-group,
    .song-header:not(.search-mode-active) .header-controls,
    .song-header:not(.search-mode-active) .wz-settings-toggle {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transition: opacity 0.3s ease;
    }
}

@media (max-width: 768px) {

    .wz-layout-content {
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
        scroll-snap-type: none;
        padding-bottom: max(100px, calc(80px + env(safe-area-inset-bottom)));
        -webkit-overflow-scrolling: touch;
    }

    .song-left,
    .song-right {
        width: 100%;
        max-width: 100%;
        flex: none;
        /* Auto height */
        border-right: none;
        margin-bottom: 20px;
        overflow-y: visible; /* Let parent handle scroll */
        padding-bottom: 0 !important; /* Remove internal padding */
    }

    .song-header.hidden-header {
        margin-top: -80px;
    }

    .header-controls.is-expanded {
        max-height: 200px;
        opacity: 1;
        padding: 15px;
        pointer-events: auto;
    }

    .back-btn.minimalist-arrow,
    .wz-settings-toggle,
    .wz-key-toggle {
        /* Liquid Glass Effect */
        background: rgba(30, 30, 30, 0.75) !important;
        /* Slightly more visible */
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
        /* Stronger shadow to pop */

        border-radius: 50%;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-secondary);
    }

    .back-btn.minimalist-arrow svg {
        position: relative;
        left: -1px;
        /* Optical centering */
    }

    .back-btn.minimalist-arrow:hover,
    .wz-settings-toggle:hover,
    .wz-key-toggle:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        border-color: rgba(255, 255, 255, 0.4) !important;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
        opacity: 1 !important;
    }

    .header-scroll-wrapper.is-animating {
        display: inline-block;
        max-width: none;
        text-overflow: clip;
        animation: scan-text 10s ease-in-out infinite alternate;
    }

    .bottom-tools-container {
        pointer-events: auto;
        /* Re-enable clicks */
        background: rgba(30, 30, 30, 0.75);
        /* Dark semi-transparent */
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
        border-radius: 30px;
        /* Pill shape */
        padding: 6px;
        /* Internal padding */

        display: flex;
        align-items: center;
        transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);

        /* Layout constraints */
        flex: 0 1 auto;
        /* Don't grow unnecessarily in collapsed */
        max-width: 100%;
    }

    .bottom-tools-container.is-expanded {
        flex: 1;
        /* Expand to fill */
        width: 100%;
    }

    .wz-song-controls.mobile-bottom {
        width: 100%;
        margin: 0;
        padding: 0;
        max-height: none;
        opacity: 1;
        overflow: visible;
        background: transparent;
        /* No double bg */
    }

    .mobile-tools-row {
        display: flex;
        align-items: center;
        gap: 4px;
        /* Tighter gap inside pill */
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        padding-right: 0;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-tools-row::-webkit-scrollbar {
        display: none;
    }

    .wz-song-controls.mobile-bottom .wz-tool-btn {
        background: transparent;
        /* Transparent inside the pill */
        border: none;
        width: 42px;
        height: 42px;
        color: rgba(255, 255, 255, 0.7);
        border-radius: 50%;
        /* Circles inside pill */
    }

    .wz-song-controls.mobile-bottom .wz-tool-btn.is-active {
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
    }

    .wz-song-controls.mobile-bottom .wz-tool-btn:active {
        background: rgba(255, 255, 255, 0.1);
    }

    .wz-tool-btn.expand-toggle {
        margin-left: 2px;
        background: rgba(255, 255, 255, 0.1) !important;
        /* Slight bg to distinguish action */
        color: #fff !important;
    }

    .wz-tool-btn.expand-toggle.is-rotated {
        transform: rotate(180deg);
        background: #fff !important;
        color: #000 !important;
    }

    .bottom-map-toggle {
        pointer-events: auto;
        flex: 0 0 auto;
        width: 54px;
        /* Slightly larger like a FAB or major action */
        height: 54px;

        background: rgba(30, 30, 30, 0.75);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
        border-radius: 18px;
        /* Smooth corner rect (Squircle-ish) or 50% for circle */

        color: var(--text-secondary);
        display: none !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        padding: 0;
    }

    .bottom-map-toggle:active,
    .bottom-map-toggle.is-active {
        background: var(--text-secondary);
        color: var(--bg-color);
        transform: scale(0.95);
    }

    .bottom-map-toggle .wz-icon-blocks {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .wz-song-map-module.is-open {
        position: fixed;
        bottom: 20px;
        /* Aligned with floating concept */
        left: 20px;
        right: 85px;
        /* Leave space for the toggle button which stays visible to close? 
                        Wait, if user clicks toggle, panel opens. Toggle handles close. 
                        So Toggle must remain visible. */

        background: rgba(30, 30, 30, 0.85);
        /* Slightly more opaque for content */
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 24px;
        padding: 10px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);

        display: flex;
        align-items: center;
        z-index: 1010;
        height: auto;
        min-height: 54px;
    }

    .panel-map .bottom-tools-container {
        opacity: 0;
        pointer-events: none;
        transform: translateY(20px);
    }

    .wz-song-map-module:not(.is-open) {
        display: none;
        /* Hide essentially on mobile if not open */
    }

    .header-controls.desktop-only {
        display: none !important;
    }

    .song-header.is-shrunk {
        padding-top: 5px;
        padding-bottom: 5px;
        border-bottom-color: rgba(255, 255, 255, 0.05);
        /* subtler border */
    }

    .song-header.is-shrunk .song-title {
        font-size: 1rem;
        transition: font-size 0.3s ease;
    }

    .song-header.is-shrunk .song-author {
        font-size: 0.75rem;
        transition: font-size 0.3s ease;
        opacity: 0.7;
    }

    .song-header.is-shrunk .song-status-tag {
        font-size: 0.6rem;
        padding: 1px 6px;
    }

    .song-header.is-shrunk .wz-settings-toggle svg {
        width: 16px;
        height: 16px;
    }

    .song-header.is-shrunk .back-btn.minimalist-arrow svg {
        width: 20px;
        height: 20px;
        transition:
            width 0.3s ease,
            height 0.3s ease;
    }

    .song-map-floater .map-toggle-btn {
        display: none !important;
    }

    .wz-song-map-module:not(.map-expander-body .wz-song-map-module) {
        display: none !important;
    }

    .song-map-expander .wz-song-map-module.is-open,
    .song-map-expander .wz-song-map-module,
    .song-map-expander .wz-map-content,
    .song-map-expander .map-expander-body {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        position: static !important;
        min-height: 0 !important;
        border-radius: 0 !important;
    }

    .desktop-song-map-wrapper {
        display: none !important;
    }
}
/*!**********************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/components/Metronome.css ***!
  \**********************************************************************************************************************************************************************************/
.metronome-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.metronome-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.metronome-header h3 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.bpm-display {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    padding: 10px 0;
    position: relative;
}

.bpm-display .bpm-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    /* Clean white instead of glowing red */
    line-height: 1;
}

.bpm-display .bpm-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    letter-spacing: 1px;
}

/* Visual flash indicator */
.metronome-indicator {
    width: 8px;
    height: 8px;
    background-color: #444;
    border-radius: 50%;
    opacity: 0.5;
    transition: all 0.1s;
}

.metronome-indicator.flash {
    background-color: #00d2ff;
    /* Minimal accent color for function */
    transform: scale(1.2);
    opacity: 1;
}

.metronome-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bpm-slider-group {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 15px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bpm-slider {
    flex-grow: 1;
    -webkit-appearance: none;
    -moz-appearance: none;
         appearance: none;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.bpm-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #e0e0e0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    margin-top: 0;
}

.bpm-input {
    width: 50px;
    background: transparent;
    border: none;
    color: #fff;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.bpm-input:focus {
    outline: none;
    color: #fff;
}

/* Remove arrows from number input */
.bpm-input::-webkit-inner-spin-button,
.bpm-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.metronome-toggle-btn {
    width: 100%;
    padding: 15px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.metronome-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.metronome-toggle-btn.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.metronome-toggle-btn.active:hover {
    background: #f0f0f0;
}
/*!********************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/pages/Organization.css ***!
  \********************************************************************************************************************************************************************************/
.organization-page {
    padding: 0;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    color: #fff;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.org-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.org-name {
    font-size: 3.5rem;
    font-weight: 850;
    margin: 0;
    letter-spacing: -2px;
}

.org-actions {
    display: flex;
    gap: 12px;
    position: relative;
}

.btn-add-event {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-add-event:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-settings {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-settings:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(15deg) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Cards Grid */
.org-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 64px;
}

.org-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 28px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.org-card:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.org-card-icon-top {
    position: absolute;
    top: 24px;
    right: 24px;
    color: rgba(255, 255, 255, 0.25);
}

.cancionero-card {
    align-items: center;
}

.cancionero-card .card-content {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.6rem;
    font-weight: 700;
}

.setlist-card .setlist-info {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.setlist-card .setlist-title {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.8);
}

.setlist-card .setlist-songs {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.setlist-card .setlist-date {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

/* Team Section */
.team-section {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.team-header {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr 2.5fr 40px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.team-list {
    display: flex;
    flex-direction: column;
}

.team-row {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr 2.5fr 40px;
    align-items: center;
    padding: 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.2s;
}

.team-row:last-child {
    border-bottom: none;
}

.team-row:hover {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.member-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.member-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.member-name {
    font-weight: 600;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.member-role {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.member-permission {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.member-actions {
    display: flex;
    justify-content: flex-end;
    color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: color 0.2s;
}

.member-actions:hover {
    color: #fff;
}

.btn-add-member {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-add-member:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: scale(1.02);
}

/* Modals and Popovers */
.modal-overlay, .role-picker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease-out;
}

.modal-content {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.close-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.modal-search {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.modal-search input {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    outline: none;
    font-size: 0.95rem;
}

.modal-list {
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.conn-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.conn-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.conn-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.conn-avatar {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-icon {
    color: rgba(255, 255, 255, 0.3);
}

/* Role Picker Popover */
.role-picker-popover {
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 280px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.role-picker-header h4 {
    margin: 0 0 16px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.role-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.role-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.role-option.selected {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
}

.add-role-form {
    display: flex;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

.add-role-form input {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    color: #fff;
    font-size: 0.85rem;
    flex: 1;
    outline: none;
}

.add-role-form button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Role Tags in List */
.role-tag {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Permission Labels */
.permission-label {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.permission-label.admin {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.permission-label.member {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Settings Dropdown Updates */
.org-settings-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    min-width: 180px;
    z-index: 100;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 4px 0;
}

.dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: left;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-item.delete {
    color: #ff4444;
}
/* Role Management Styles */
.role-management-row {
    margin-bottom: 8px;
}

.role-edit-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.role-edit-form input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.9rem;
    outline: none;
}

.btn-save-role, .btn-cancel-role, .btn-edit-role, .btn-delete-role {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-save-role { color: #4caf50; }
.btn-save-role:hover { background: rgba(76, 175, 80, 0.1); }

.btn-cancel-role { color: rgba(255, 255, 255, 0.4); }
.btn-cancel-role:hover { background: rgba(255, 255, 255, 0.1); color: white; }

.role-option-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.management-actions {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s;
}

.role-option:hover .management-actions {
    opacity: 1;
}

.btn-edit-role { color: rgba(255, 255, 255, 0.4); }
.btn-edit-role:hover { background: rgba(255, 255, 255, 0.1); color: #3b82f6; }

.btn-delete-role { color: rgba(255, 77, 77, 0.4); }
.btn-delete-role:hover { background: rgba(255, 77, 77, 0.1); color: #ff4d4d; }

.role-option.readonly {
    cursor: default;
}

.role-option.readonly:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Member Actions Dropdown */
.member-actions {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-member-actions {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-member-actions:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.member-actions-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background: rgba(25, 25, 25, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    z-index: 100;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    margin-top: 8px;
    animation: fadeInScale 0.2s ease;
}

.member-actions-dropdown .dropdown-item {
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.member-actions-dropdown .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.member-actions-dropdown .dropdown-item.delete {
    color: #ff4d4d;
}

.member-actions-dropdown .dropdown-item.delete:hover {
    background: rgba(255, 77, 77, 0.1);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


/* Responsive */
@media (max-width: 900px) {
    .org-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 32px;
    }
    .org-card {
        padding: 16px;
        min-height: 100px;
        border-radius: 16px;
    }
    .cancionero-card .card-content {
        flex-direction: column;
        gap: 8px;
        font-size: 1.1rem;
        text-align: center;
    }
    .org-name {
        font-size: 2.5rem;
    }
}

/* Team Table Wrapper (Horizontal scroll on mobile) */
.team-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .team-header,
    .team-row {
        min-width: 680px;
    }
}

/* Role Badges */
.role-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}
.role-badge.admin {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}
.role-badge.editor {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.role-badge.leader {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.2);
}
.role-badge.member {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Permissions Column */
.member-permissions-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}
.role-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}
.member-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.add-tag-prompt {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.add-tag-prompt:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Role Change Modal */
.role-modal-content {
    max-width: 460px !important;
}
.role-modal-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.role-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.role-option-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.role-option-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}
.role-option-item.selected {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.role-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.role-option-desc {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
}
.role-option-item.selected .role-option-desc {
    color: rgba(255, 255, 255, 0.7);
}
.check-icon {
    color: #34d399;
}

/* ─── Setlists Section and Cards inside Organization ─── */
.org-setlists-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.org-section-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 12px;
}

.org-section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.btn-ver-todos {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-ver-todos:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
}

.org-setlists-loading, .org-setlists-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

.sl-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .sl-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.sl-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
}

.sl-card:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.sl-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.sl-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sl-card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

.sl-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sl-meta-item svg {
    color: rgba(255, 255, 255, 0.25);
}

.sl-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sl-songs-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #FFB300;
    background: rgba(255, 183, 0, 0.1);
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 183, 0, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sl-upcoming-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: #2ed573;
    background: rgba(46, 213, 115, 0.12);
    border: 1px solid rgba(46, 213, 115, 0.2);
    padding: 4px 8px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── Setlist Card Three-dot Menu ─── */
.sl-menu-btn {
    background: none;
    border: none;
    padding: 6px;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: all 0.15s;
}
.sl-menu-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.sl-menu-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: #181818;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 6px;
    z-index: 1000;
    min-width: 155px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.55);
}
.sl-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: none;
    background: none;
    color: rgba(255,255,255,0.7);
    font-size: 0.82rem;
    cursor: pointer;
    border-radius: 8px;
    width: 100%;
    text-align: left;
    transition: all 0.15s;
}
.sl-menu-item:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}
.sl-menu-item.danger {
    color: #fc8181;
}
.sl-menu-item.danger:hover {
    background: rgba(252, 129, 129, 0.1);
}
.sl-card.menu-open {
    pointer-events: none;
}
.sl-card.menu-open .sl-card-header,
.sl-card.menu-open [style*="position: relative"] {
    pointer-events: auto;
}

/* ─── Setlist Creation Modal Form Styles ─── */
.sl-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.sl-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.sl-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sl-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sl-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.sl-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 11px 14px;
    color: #fff;
    font-size: 0.92rem;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s;
}

.sl-input:focus {
    border-color: rgba(255, 183, 0, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.sl-textarea {
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
}

.sl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
}

.sl-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
}

.sl-btn.primary {
    background: rgba(255, 183, 0, 0.15);
    border-color: rgba(255, 183, 0, 0.35);
    color: #FFB300;
}

.sl-btn.primary:hover {
    background: rgba(255, 183, 0, 0.24);
}

.org-setlists-history-link-container {
    margin-top: 0;
    margin-bottom: 24px;
    display: flex;
    justify-content: flex-start;
}

.org-setlists-history-link {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.org-setlists-history-link:hover {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.8);
}

.sl-datetime-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 768px) {
    .sl-datetime-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Modal card layout */
    .wz-modal-overlay .wz-modal-card {
        padding: 20px;
        border-radius: 20px;
    }
    
    .sl-modal-header {
        margin-bottom: 14px;
    }
    
    .sl-modal-header h3 {
        font-size: 1.05rem;
    }

    /* Form and fields spacing */
    .sl-form {
        gap: 12px;
    }
    
    .sl-form-group {
        gap: 4px;
    }

    /* Inputs size */
    .sl-input {
        padding: 8px 12px;
        font-size: 0.88rem;
        border-radius: 8px;
    }

    /* Notes text area height */
    .sl-textarea {
        min-height: 60px;
    }

    /* Date and time grid gap */
    .sl-datetime-grid {
        gap: 8px;
    }

    /* Equal width buttons on mobile */
    .wz-modal-actions {
        display: flex;
        gap: 10px;
        margin-top: 8px;
    }
    
    .wz-modal-actions .sl-btn {
        flex: 1;
        justify-content: center;
        padding: 10px;
        font-size: 0.85rem;
    }
}

/*!*******************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/pages/SetlistPlay.css ***!
  \*******************************************************************************************************************************************************************************/
/* =========================================================
   SetlistPlay.css - Premium Dark Theme Styles
   ========================================================= */

.setlist-play-page {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow: hidden;
    box-sizing: border-box;
}

/* Header */
.setlist-play-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 0 20px;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    z-index: 1000;
    flex-shrink: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}

.setlist-play-header > * {
    pointer-events: auto; /* Allow clicks on buttons/pills */
}

.setlist-play-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 30, 30, 0.75) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    color: var(--text-secondary) !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.setlist-play-back-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2) !important;
}

@media (min-width: 769px) {
    .setlist-play-header {
        display: none;
    }
}

.setlist-play-indicator-pill {
    background: rgba(30, 30, 30, 0.75) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    color: var(--text-secondary);
    padding: 10px 16px !important;
    border-radius: 22px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    font-family: monospace !important;
    white-space: nowrap !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

/* Track Area */
.setlist-play-body {
    flex: 1;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.setlist-play-track {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

/* Mobile Snap Scroll */
@media (max-width: 768px) {
    .setlist-play-track {
        scroll-snap-type: x mandatory;
    }
}

/* Column View for each song */
.setlist-play-song-column {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* Mobile column sizing */
@media (max-width: 768px) {
    .setlist-play-song-column {
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: start;
        border-right: none;
    }
}

/* Desktop column sizing */
@media (min-width: 769px) {
    .setlist-play-song-column {
        flex: 0 0 540px;
        width: 540px;
        border-right: 1px solid var(--border-color);
        background: transparent;
    }
}

/* Song Inner Scroll */
.setlist-play-song-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 24px 20px 140px 20px; /* high padding bottom for bottom toolbars */
    box-sizing: border-box;
    position: relative;
}

/* Scroll overrides when using standard song-left class to prevent breaking layout */
.setlist-play-song-scroll.song-left {
    overflow-y: auto !important;
    padding: 24px 20px 140px 20px !important;
    height: 100% !important;
    min-width: 100% !important;
    flex: 1 !important;
}

@media (max-width: 768px) {
    .setlist-play-song-scroll.song-left {
        padding-top: 84px !important;
    }
}

/* Column Header Info */
.setlist-play-song-header {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
}

.setlist-play-song-index {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #FFB300;
    margin-bottom: 6px;
}

.setlist-play-song-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 4px 0;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.setlist-play-song-author-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
}

.setlist-play-verified-badge {
    color: #3498db;
    display: inline-flex;
    align-items: center;
}

/* Song Meta Cards (BPM, Key) */
.setlist-play-song-meta-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.setlist-play-meta-tag {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.setlist-play-meta-tag strong {
    color: #ffffff;
}

/* Floating Controls Container */
.setlist-play-controls-wrapper {
    position: absolute;
    bottom: 24px;
    left: 20px;
    z-index: 100;
    pointer-events: none; /* Let clicks pass through empty spaces */
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: calc(100% - 40px);
    max-width: 450px;
}

.setlist-play-controls-wrapper > * {
    pointer-events: auto; /* Re-enable clicks for actual buttons */
}

/* Force pill floating styling for controls inside wrapper on both desktop/mobile */
.setlist-play-controls-wrapper .bottom-tools-container {
    background: rgba(30, 30, 30, 0.75) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    border-radius: 30px !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
    flex: 0 1 auto !important;
    max-width: 100% !important;
    width: -moz-fit-content !important;
    width: fit-content !important;
    box-sizing: border-box !important;
}

.setlist-play-controls-wrapper .bottom-tools-container.is-expanded {
    flex: 1 !important;
    width: 100% !important;
}

.setlist-play-controls-wrapper .wz-song-controls.mobile-bottom {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    background: transparent !important;
}

/* Force mobile tool row styles on desktop inside play mode */
.setlist-play-controls-wrapper .mobile-tools-row {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    width: 100% !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    padding-right: 0 !important;
    flex-wrap: nowrap !important;
}

.setlist-play-controls-wrapper .mobile-tools-row::-webkit-scrollbar {
    display: none !important;
}

.setlist-play-controls-wrapper .wz-song-controls.mobile-bottom .wz-tool-btn {
    background: transparent !important;
    border: none !important;
    width: 42px !important;
    height: 42px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.setlist-play-controls-wrapper .wz-song-controls.mobile-bottom .wz-tool-btn.is-active {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.setlist-play-controls-wrapper .wz-song-controls.mobile-bottom .wz-tool-btn:active {
    background: rgba(255, 255, 255, 0.1) !important;
}

.setlist-play-controls-wrapper .wz-song-controls.mobile-bottom .wz-tool-btn.expand-toggle {
    margin-left: 2px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.setlist-play-controls-wrapper .wz-song-controls.mobile-bottom .wz-tool-btn.expand-toggle.is-rotated {
    transform: rotate(180deg) !important;
    background: #fff !important;
    color: #000 !important;
}

/* Key Popup local positioning within column */
.setlist-play-key-popup-local {
    position: absolute;
    bottom: 80px;
    left: 20px;
    z-index: 150;
    background: rgba(30, 30, 30, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95) translateY(10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom left;
}

.setlist-play-key-popup-local.is-visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.setlist-play-key-popup-local .wz-key-bar-container {
    max-height: none !important;
}

.setlist-play-key-popup-local .wz-key-bar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    padding: 4px;
}

.setlist-play-key-popup-local .wz-key-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
}

.setlist-play-key-popup-local .wz-key-actions-row {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
}

.setlist-play-key-popup-local .wz-key-action-btn {
    font-size: 0.78rem;
    padding: 6px 12px;
}

/* Empty State / Loader */
.setlist-play-loading-container,
.setlist-play-error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
    text-align: center;
}

.setlist-play-loading-spinner {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #FFB300;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.setlist-play-error-container h3 {
    margin: 0 0 12px 0;
    font-size: 1.4rem;
}

.setlist-play-error-container p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 24px 0;
    max-width: 400px;
    line-height: 1.5;
}

/*!*******************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./src/pages/Maintenance.css ***!
  \*******************************************************************************************************************************************************************************/
/* Maintenance Screen CSS */

.wz-maintenance-container {
    background-color: #0b0c10;
    color: #ffffff;
    min-height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    overflow-y: auto;
    padding: 24px;
    box-sizing: border-box;
}

/* Background Animated Blobs */
.wz-maintenance-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

.wz-blob-purple {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(117, 69, 227, 0.25) 0%, rgba(117, 69, 227, 0) 70%);
    top: 10%;
    left: 10%;
    animation: maintFloat1 15s ease-in-out infinite alternate;
}

.wz-blob-cyan {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(0, 242, 254, 0) 70%);
    bottom: 10%;
    right: 10%;
    animation: maintFloat2 18s ease-in-out infinite alternate;
}

@keyframes maintFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 30px) scale(1.15); }
}

@keyframes maintFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, -40px) scale(1.1); }
}

/* Glassmorphism Card */
.wz-maintenance-card {
    position: relative;
    z-index: 10;
    background: rgba(20, 22, 31, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.wz-maintenance-logo-container {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wz-maintenance-title {
    font-size: 1.85rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    background: linear-gradient(135deg, #ffffff 40%, #b2b9c9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.wz-maintenance-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 32px 0;
    font-weight: 400;
}

.wz-maintenance-info-box {
    margin-bottom: 32px;
    text-align: center;
}

.wz-maintenance-small-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    font-weight: 400;
}

.wz-maintenance-user-badge {
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.8rem;
    color: #e2e8f0;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Buttons */
.wz-maintenance-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wz-maintenance-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    outline: none;
    box-sizing: border-box;
}

.wz-maintenance-btn.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #7545e3 0%, #6338b8 100%);
    box-shadow: 0 8px 20px rgba(117, 69, 227, 0.25);
}

.wz-maintenance-btn.btn-primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #8555f3 0%, #7545e3 100%);
    box-shadow: 0 10px 24px rgba(117, 69, 227, 0.35);
}

.wz-maintenance-btn.btn-primary:active {
    transform: translateY(0);
}

.wz-maintenance-btn.btn-secondary {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wz-maintenance-btn.btn-secondary:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.wz-maintenance-btn.btn-secondary:active {
    background: rgba(255, 255, 255, 0.07);
}

/* Footer */
.wz-maintenance-footer {
    position: relative;
    z-index: 10;
    margin-top: 32px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .wz-maintenance-card {
        padding: 36px 24px;
        border-radius: 20px;
    }
    
    .wz-maintenance-title {
        font-size: 1.5rem;
    }
    
    .wz-maintenance-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
}

/*!*************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/styles/main.scss (1) ***!
  \*************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
:root {
  /* Base Backgrounds */
  --bg-color: #000000;
  --bg-secondary: #0c1113;
  --sidebar-bg: #192023;
  --card-bg: #192023;
  /* Consolidated from various places */
  --card-bg-hover: #20292d;
  /* Text Colors */
  --text-color: #ffffff;
  --text-secondary: #e4e6ea;
  --text-muted: #888888;
  --text-placeholder: #666666;
  /* Brand & Accent Colors */
  --accent-color: #4a90e2;
  /* Keeping original name for legacy, maybe blue? */
  --primary-color: #7545e3;
  /* Purple */
  --primary-dark: #5a2eb8;
  --secondary-color: #f9bb1c;
  /* Yellow */
  --secondary-dark: #d4933d;
  --highlight-color: #f7bd00;
  /* Bright yellow for chords */
  /* Status Colors */
  --success-color: #48bb78;
  --danger-color: #e53e3e;
  --warning-color: #ed8936;
  /* UI Elements */
  --border-color: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(255, 255, 255, 0.1);
  --hover-overlay: rgba(255, 255, 255, 0.1);
  --hover-color: rgb(60, 60, 60);
  /* Section Colors (from SongDisplay) */
  --section-intro: #98f25b;
  --section-ending: #0fbef6;
  --section-chorus: #fe5926;
  --section-final: #e21c36;
  --section-prechorus: #f9bb1c;
  --section-interlude: #098959;
  --section-part: #7545e3;
  --section-inst: #dd0e6e;
  --section-solo: #ffa5a6;
  --section-bridge: #f0bb7b;
  --section-theme: #709d22;
  --section-subtheme: #9b59d0;
  /* Layout */
  --header-height: 50px;
  --bottom-nav-height: 70px;
  --bottom-nav-offset: 25px;
  --safe-area-inset-top: env(safe-area-inset-top, 0px);
  --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
  --mobile-page-padding-bottom: calc(var(--bottom-nav-height) + var(--bottom-nav-offset) + var(--safe-area-inset-bottom) + 20px);
  /* Module / Card Standardization */
  --module-bg: #131313;
  /* Dark background matching song display feel */
  --module-border: rgba(255, 255, 255, 0.08);
  --module-radius: 12px;
  --module-padding: 15px;
  --module-title-color: #888888;
  --module-title-size: 0.8rem;
  --module-title-weight: 600;
  --module-title-spacing: 2px;
  --module-title-transform: uppercase;
  --module-title-border: 1px solid rgba(255, 255, 255, 0.05);
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  --gradient-text: linear-gradient(45deg, #fff, #a5a5a5);
}

@font-face {
  font-family: "Bergen Mono";
  src: url(fonts/BergenMono-Regular.cf6ea537.otf) format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bergen Mono";
  src: url(fonts/BergenMono-Italic.7e674c76.otf) format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Bergen Mono";
  src: url(fonts/BergenMono-SemiBold.14cccc24.otf) format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bergen Mono";
  src: url(fonts/BergenMono-SemiBoldItalic.99a41c80.otf) format("opentype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Bergen Mono";
  src: url(fonts/BergenMono-Bold.21c63a34.otf) format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bergen Mono";
  src: url(fonts/BergenMono-BoldItalic.198f8cdc.otf) format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
  /* App-like feel */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
  /* Reduce click latency on some browsers */
}

/* Global Modal & Overlay System */
.modal-overlay,
.wz-modal-overlay,
.connections-modal-overlay,
.share-song-modal-overlay,
.add-to-list-modal-overlay,
.song-editor-modal-overlay,
.wz-search-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9000;
  /* High enough to be above Header and BottomNav */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: calc(20px + var(--safe-area-inset-top)) 20px calc(20px + var(--safe-area-inset-bottom));
  box-sizing: border-box;
}

.modal-content,
.wz-modal,
.wz-search-modal-content {
  background: #1e1e1e;
  width: 100%;
  max-width: 520px;
  max-height: calc(100dvh - 40px - var(--safe-area-inset-top) - var(--safe-area-inset-bottom));
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.modal-body,
.wz-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.modal-footer,
.wz-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
}

/* Mobile specific adjustments for ALL modals */
@media (max-width: 768px) {
  .modal-overlay,
  .wz-modal-overlay,
  .wz-search-modal-overlay {
    align-items: flex-start;
    /* Better for keyboard */
    padding: calc(10px + var(--safe-area-inset-top)) 10px calc(10px + var(--safe-area-inset-bottom));
  }
  .modal-content,
  .wz-modal,
  .wz-search-modal-content {
    max-width: 100%;
    max-height: calc(100dvh - 20px - var(--safe-area-inset-top) - var(--safe-area-inset-bottom));
    border-radius: 12px;
  }
  /* Prevent iOS zoom on inputs */
  input,
  textarea,
  select {
    font-size: 16px !important;
  }
}
/* Scroll Lock Helper */
body.modal-open {
  overflow: hidden !important;
  height: 100vh;
  height: 100dvh;
  position: fixed;
  width: 100%;
}

.wz-app-container {
  display: flex;
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  position: relative;
  overflow: hidden;
  padding-top: var(--safe-area-inset-top);
}

/* Mobile Header (Hamburger) */
/* .wz-mobile-nav-toggle REMOVED - Sidebar no longer exists as a mobile screen */
.wz-sidebar {
  width: 240px;
  background: #202020;
  display: flex;
  flex-direction: column;
  padding: 20px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.wz-sidebar-logo {
  margin: 0 0 20px 10px;
  height: 40px;
  /* Adjust based on preference */
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.wz-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wz-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  color: #999;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.wz-nav-item:hover,
.wz-nav-item.active {
  background-color: var(--hover-color);
  color: var(--text-color);
}

.wz-nav-group {
  display: flex;
  flex-direction: column;
}

.wz-nav-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wz-nav-submenu.open {
  max-height: 300px;
  opacity: 1;
  margin-top: 5px;
  margin-bottom: 10px;
}

.wz-nav-subitem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.wz-nav-subitem:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.wz-nav-subitem.active {
  color: var(--primary-color);
  background: rgba(117, 69, 227, 0.1);
  font-weight: 600;
}

.wz-main-content {
  flex-grow: 1;
  overflow: hidden;
  /* Changed from overflow-y: auto to allow children to handle scroll */
  padding: 0;
  /* Removing padding from container, move to pages */
  background-color: var(--bg-color);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Response Mobile Styles */
@media (max-width: 1200px) {
  .wz-app-container {
    flex-direction: column;
  }
  /* Mobile Sidebar "First Window" Behavior */
  .wz-sidebar {
    display: none !important;
  }
  .wz-app-container {
    padding-bottom: 0;
  }
}
/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

/* Shared Status Tags */
.status-tag {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-color);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .status-tag {
    padding: 2px 6px;
    font-size: 0.65rem;
  }
}
/* Status variants */
.status-tag.type-created,
.status-tag.type-edited {
  background-color: var(--primary-color);
}

.status-tag.type-saved {
  background-color: var(--secondary-color);
}

.status-tag.type-default {
  background-color: var(--text-placeholder);
}

/* Song Header variants */
/* Utility for card actions if needed global */
.card-actions {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-left: 10px;
}

/* ==========================================================================
   TOUCH DEVICES: Disable hover-only visual shifts, transforms, and shadows
   ========================================================================== */
@media (hover: none) and (pointer: coarse), (max-width: 768px) {
  /* 1. HOME: Tarjetas de atajo (Shortcut cards) */
  .home-shortcut-card:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    transform: none !important;
    box-shadow: none !important;
  }
  .home-shortcut-card:hover .icon {
    color: rgba(255, 255, 255, 0.2) !important;
  }
  /* 2. SONGS: Tarjetas y filas de canciones (Song Rows & Cards) */
  .song-row-premium:hover {
    background: rgba(255, 255, 255, 0.02) !important;
    transform: none !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
  }
  .song-row-premium.deleted:hover {
    transform: none !important;
    background: rgba(245, 101, 101, 0.05) !important;
  }
  .song-row-card:hover {
    background: transparent !important;
    transform: none !important;
  }
  .song-row-premium .action-icon-btn:hover {
    color: inherit !important;
    background: transparent !important;
  }
  /* 3. LISTS: Carpetas y triggers de borrado (Folder Cards & Deletes) */
  .list-folder-card:hover {
    background: transparent !important;
    transform: none !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
  }
  .delete-trigger:hover {
    color: var(--text-muted) !important;
    background: transparent !important;
  }
  .list-dropdown-menu button:hover,
  .list-dropdown-menu button.delete-option:hover {
    background: transparent !important;
  }
  .create-new:hover {
    background: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
  }
  /* 4. ORGANIZATIONS: Tarjetas, configuraciones y miembros (Org Cards & Settings) */
  .org-card:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
    transform: none !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    box-shadow: none !important;
  }
  .btn-add-event:hover,
  .btn-settings:hover,
  .btn-add-member:hover,
  .dropdown-item:hover,
  .role-option:hover,
  .btn-member-actions:hover,
  .member-actions-dropdown .dropdown-item:hover {
    transform: none !important;
    background: rgba(255, 255, 255, 0.05) !important;
    box-shadow: none !important;
    color: inherit !important;
  }
  .btn-settings:hover {
    transform: none !important;
    /* Desactivar la rotación de 15deg al pulsar */
  }
  .team-row:hover {
    background: transparent !important;
  }
  /* 5. USER INTERFACE: Navegación, botones generales y buscador (Global UI) */
  .wz-nav-item:hover,
  .wz-nav-subitem:hover {
    background-color: transparent !important;
    color: #999 !important;
  }
  .wz-nav-item.active:hover,
  .wz-nav-subitem.active:hover {
    background-color: var(--hover-color) !important;
    color: var(--text-color) !important;
  }
  .action-btn:hover {
    background: transparent !important;
    color: var(--text-placeholder) !important;
  }
  .sidebar-style-create-btn:hover {
    background: #2c2c2c !important;
  }
  .wz-search-item:hover {
    background: transparent !important;
  }
  .btn-connect:not(.secondary):hover {
    background: #FFB300 !important;
    transform: none !important;
  }
  /* 6. TRANSITIONS: Desactivar retardos y suavizados lentos innecesarios en móviles */
  *,
  *::before,
  *::after {
    /* Reducir transiciones para acelerar la respuesta de la interfaz táctil */
    transition-duration: 0.05s !important;
  }
}

/*# sourceMappingURL=index.css.map*/