.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 35px;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 10000;
}

.explore-nav {
    position: absolute;
    bottom: 2px;
    left: 0;
    padding-bottom: 4px;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0.2px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 20px;
}

.explore-nav .explore-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.explore-nav .explore-link:hover {
    color: #004499;
    text-decoration: none;
}

.explore-nav .explore-separator {
    color: #aaa;
    margin: 0 12px;
    font-weight: 300;
}

/* Explore Dropdown Styles */
.explore-dropdown {
    position: relative;
    display: inline-block;
}

.explore-trigger {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0.2px;
}

.explore-trigger:hover {
    color: #004499;
}

.explore-trigger svg {
    transition: transform 0.2s ease;
}

.explore-dropdown:hover .explore-trigger svg {
    transform: rotate(180deg);
}

.explore-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
    z-index: 10003;
}

.explore-dropdown:hover .explore-dropdown-content {
    display: block;
}

.explore-dropdown-item {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    text-align: left;
}

.explore-dropdown-item:hover {
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
}

.explore-dropdown-item svg {
    display: none;
}
.user-menu {
    display: inline-flex;
    align-items: center;
    order: 3;
}
.profile-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 10002;
}
.profile-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.12);
}
.profile-image-wrapper {
    position: relative;
    display: inline-block;
}
.profile-button img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.profile-button .verification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: white;
    color: #666;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    border: 1.5px solid white;
    line-height: 1;
}
.profile-button .name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}
.profile-button::after {
    content: "▾";
    font-size: 12px;
    opacity: 0.5;
    margin-left: 4px;
}
.logo-section {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10001;
}
.auth-trigger {
    color: #333;
    font-weight: 500;
    cursor: default;
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}
.auth-trigger:hover {
    background-color: #f5f7f9;
}
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: white;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
    z-index: 10003;
}
.dropdown-content.show {
    display: block;
}
.dropdown-content a {
    color: #333;
    padding: 14px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 12px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}
.dropdown-content a.subscription {
    color: #4285f4;
}
.dropdown-content a:hover {
    background-color: #f8f9fa;
}
.dropdown-content .logout {
    color: #dc3545;
    border-top: 1px solid #eee;
}
.dropdown-content a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.dropdown-content a.disabled i {
    opacity: 0.5;
}
.dropdown-content a.menu-locked {
    opacity: 0.35;
    cursor: not-allowed;
    user-select: none;
}
.dropdown-content a.menu-locked:hover {
    background-color: transparent;
}
.menu-new-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 2px 6px;
    border-radius: 10px;
    background: #e8f5e9;
    color: #2e7d32;
    margin-left: 6px;
    line-height: 1.4;
    white-space: nowrap;
    flex-shrink: 0;
}
.dropdown-content a .menu-new-badge {
    font-size: 10px;
    color: #2e7d32;
    background: #e8f5e9;
    font-weight: 700;
}
.menu-signin-section {
    padding: 12px 20px 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 4px;
}
.menu-signin-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #999;
    margin-bottom: 8px;
}
.menu-signin-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: color 0.15s ease;
}
.menu-signin-option:hover {
    color: #1a73e8;
    background-color: transparent;
}

/* Add styling for the priority access link */
.priority-access {
    color: #4285f4 !important;
    opacity: 0.9 !important;
}

.priority-access:hover {
    opacity: 1 !important;
}

.site-logo {
    margin-right: auto;
    padding-left: 10px;
    margin-top: 5px;
    padding-bottom: 0;
    order: 1;
}

.top-bar .site-logo img {
    width: 190px;
    height: 50px;
}

/* Mobile optimizations for top bar */
@media (max-width: 768px) {
    .top-bar {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 0 3px 0;
        margin: -1px 0 5px 0;
        flex-direction: column;
        align-items: flex-start;
    }
    .site-logo {
        margin-left: -2px;
        padding-left: 0;
        margin-right: 0;
        margin-top: 7px;
        margin-bottom: 0px;
        order: 1;
    }
    .user-menu {
        margin-right: -10px;
        position: absolute;
        top: 7px;
        right: 0;
    }
    .top-bar .site-logo img {
        width: 120px;
        height: 32px;
    }
    .profile-button {
        display: flex;
        align-items: center;
        gap: 6px;
        line-height: 1;
    }
    .profile-button .name {
        line-height: 1;
        display: inline-flex;
        align-items: center;
    }
    .profile-button img {
        display: block;
        flex-shrink: 0;
    }
    
    .explore-nav {
        font-size: 13px;
        padding-bottom: 4px;
        letter-spacing: 0.1px;
        position: static;
        order: 2;
        margin-top: -5px;
        margin-left: -4px;
    }
    
    .explore-nav .explore-separator {
        margin: 0 12px;
    }
    
    .global-search-container {
        max-width: 175px !important;
        width: 175px !important;
    }
    
    .global-search-input {
        width: 100% !important;
        max-width: 175px !important;
        border: 1px solid rgba(0,0,0,0.08) !important;
        outline: none !important;
    }
    
    .search-results-dropdown {
        max-width: 175px;
    }
    
    .search-icon-container {
        right: 8px;
    }
    
    .search-clear-btn {
        right: 8px;
    }
    
    .explore-dropdown {
        margin-left: 4px;
    }
    
     .explore-dropdown-content {
         left: -4px;
         min-width: 120px;
         width: 120px;
     }
     
    .dd-name {
        font-size: 13px;
    }
 }

/* Global Search Styles */
.global-search-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 350px;
    width: 350px;
}

.global-search-input {
    width: 100% !important;
    padding: 8px 32px 8px 12px !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 18px !important;
    font-size: 14px !important;
    background: #f8f9fa !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.global-search-input:focus {
    background: white !important;
    border-color: #4285F4 !important;
    box-shadow: 0 1px 4px rgba(66, 133, 244, 0.15) !important;
}

.global-search-input::placeholder {
    color: #999 !important;
    font-weight: 400 !important;
}

.search-icon-container {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

.search-clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    padding: 2px;
    border-radius: 50%;
    transition: all 0.2s;
    display: none;
}

.search-clear-btn:hover {
    background: #f5f5f5;
    color: #333;
}

.search-clear-btn.visible {
    display: block;
}

/* Search Results Dropdown */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.08);
    max-height: 250px;
    overflow-y: auto;
    z-index: 10004;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
}

.search-results-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-item.selected {
    background: #e8f0fe;
}

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

.result-icon {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    color: #4285F4;
    flex-shrink: 0;
}

.dd-name {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.dd-name-artist {
    color: #1a73e8;
    font-weight: 700;
}

.search-dd-section {
    border-left: 3px solid transparent;
}

.search-dd-section + .search-dd-section {
    border-top: 1px solid #f1f1f1;
}

.search-dd-section-artist {
    border-left-color: #4285f4;
}

.search-dd-section-festivals {
    border-left-color: #9333ea;
}

.search-dd-section-sets {
    border-left-color: #1e8e3e;
}

.search-dd-section-tracks {
    border-left-color: #fa7b17;
}

.search-dd-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    padding: 7px 12px;
}

.search-dd-header-btn {
    width: 100%;
    margin: 0;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.search-dd-header-btn:hover {
    background: #ededed;
}

.search-dd-section-collapsed .search-dd-header-btn {
    background: #ebebeb;
}

.search-dd-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #444;
}

.search-dd-count {
    font-size: 11px;
    color: #999;
}

.search-dd-expand {
    width: 100%;
    padding: 8px 12px;
    border: 0;
    background: transparent;
    color: #1a73e8;
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}

.search-dd-expand:hover {
    background: #f0f6ff;
}

.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    color: #666;
}

.search-loading-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid #e0e0e0;
    border-top: 2px solid #4285F4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 6px;
}

.search-no-results {
    padding: 15px;
    text-align: center;
    color: #666;
}

.search-no-results-icon {
    font-size: 16px;
    margin-bottom: 6px;
    opacity: 0.5;
}

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

.pro-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    background: #9d4edd;
    color: white;
    margin-left: auto;
    letter-spacing: 0.3px;
}



