* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global link color override with maximum specificity */
a, a:link, a:visited, a:hover, a:active, a:focus {
    color: #38bdf8 !important;
    -webkit-tap-highlight-color: transparent;
}

a:hover, a:active, a:focus {
    color: #0ea5e9 !important;
}

/* Navigation links override - must be white */
.header-nav a.nav-link,
.header-nav a.nav-link:link,
.header-nav a.nav-link:visited,
.header-nav a.nav-link:hover,
.header-nav a.nav-link:active,
.header-nav a.nav-link:focus {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

/* Ultra-specific mobile override */
.event-details a[href],
.event-details a[href]:link,
.event-details a[href]:visited,
.event-details a[href]:hover,
.event-details a[href]:active,
.event-details a[href]:focus {
    color: #38bdf8 !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-appearance: none !important;
}

.event-details a[href]:hover,
.event-details a[href]:active,
.event-details a[href]:focus {
    color: #0ea5e9 !important;
}

/* Nuclear option for mobile browsers */
@media (max-width: 768px) {
    .event-details a,
    .event-details a:link,
    .event-details a:visited,
    .leaflet-popup-content a,
    .leaflet-popup-content a:link,
    .leaflet-popup-content a:visited {
        color: #38bdf8 !important;
        -webkit-text-fill-color: #38bdf8 !important;
        text-decoration-color: #38bdf8 !important;
        -webkit-tap-highlight-color: rgba(56, 189, 248, 0.3) !important;
    }
    
    /* Force color on all dynamically generated links */
    #eventsList a[href],
    #eventsList a[href]:link,
    #eventsList a[href]:visited,
    .leaflet-popup a[href],
    .leaflet-popup a[href]:link,
    .leaflet-popup a[href]:visited {
        color: #38bdf8 !important;
        -webkit-text-fill-color: #38bdf8 !important;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
    min-height: 100vh;
}

.header {
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    color: black;
    text-align: center;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.header-nav {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
}

.nav-link {
    color: white !important;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    display: inline-block;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    color: white !important;
}

.band-login-btn {
    padding: 0.6rem 1.2rem;
    font-size: 15px;
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #0ea5e9;
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.band-login-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="80" r="1.5" fill="%23ffffff" opacity="0.1"/></svg>');
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.logo {
    width: 230px;
    height: 200px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.title-container {
    text-align: left;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    margin: 0;
}

.header p {
    font-size: 1.5rem;
    opacity: 0.9;
    margin: 0;
}

.search-container {
    display: flex;
    justify-content: center;
    padding: 2rem;
    gap: 1rem;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
}

#bandSelect {
    padding: 1rem 1.5rem;
    border: 2px solid rgba(5, 150, 105, 0.3);
    border-radius: 50px;
    width: 200px;
    font-size: 16px;
    outline: none;
    background: rgba(30, 41, 59, 0.8);
    color: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
    max-height: 200px;
    overflow-y: auto;
}

#bandSelect::-webkit-scrollbar {
    width: 8px;
}

#bandSelect::-webkit-scrollbar-track {
    background: rgba(248, 250, 252, 0.1);
}

#bandSelect::-webkit-scrollbar-thumb {
    background: rgba(248, 250, 252, 0.4);
    border-radius: 4px;
}

#bandSelect::-webkit-scrollbar-thumb:hover {
    background: rgba(248, 250, 252, 0.6);
}

#bandSelect:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
    background: rgba(30, 41, 59, 1);
}

#bandSelect option {
    background: rgba(30, 41, 59, 1);
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.filter-container {
    display: flex;
    justify-content: center;
    padding: 1rem 2rem;
    gap: 1rem;
    background: rgba(15, 23, 42, 0.3);
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(5, 150, 105, 0.3);
    border-radius: 25px;
    background: rgba(30, 41, 59, 0.8);
    color: #cbd5e1;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #059669;
    background: rgba(5, 150, 105, 0.1);
    color: #f8fafc;
}

.filter-btn.active {
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    border-color: #059669;
    color: white;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.date-range-container {
    background: rgba(15, 23, 42, 0.5);
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.date-range-inputs {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.date-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.date-input-group label {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
}

.date-input {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(5, 150, 105, 0.3);
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.8);
    color: #f8fafc;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    min-width: 150px;
}

.date-input:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
    background: rgba(30, 41, 59, 1);
}

.date-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.apply-date-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.apply-date-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

#searchInput {
    padding: 1rem 1.5rem;
    border: 2px solid rgba(5, 150, 105, 0.3);
    border-radius: 50px;
    width: 280px;
    font-size: 16px;
    outline: none;
    background: rgba(30, 41, 59, 0.8);
    color: #f8fafc;
    transition: all 0.3s ease;
}

#searchInput:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
    background: rgba(30, 41, 59, 1);
}

#searchInput::placeholder {
    color: #94a3b8;
}

button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    color: white;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

/* Modal buttons - keep original green gradient */
.modal-content button[type="submit"],
#bandProfileForm button[type="submit"] {
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.modal-content button[type="submit"]:hover,
#bandProfileForm button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

#clearBtn {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

#clearBtn:hover {
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.map-status {
    text-align: center;
    margin: 1rem 2rem;
    color: #cbd5e1;
    font-size: 1.1rem;
    font-weight: 500;
}

.map-container {
    height: 600px;
    margin: 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(5, 150, 105, 0.2);
}

#map {
    height: 100%;
    width: 100%;
}

.events-list {
    margin: 2rem;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border: 1px solid rgba(5, 150, 105, 0.1);
}

.events-list h3 {
    margin-bottom: 1.5rem;
    color: #f8fafc;
    font-size: 1.5rem;
    font-weight: 600;
}

.event-item {
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.6);
    cursor: pointer;
}

.event-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.2);
    border-color: rgba(5, 150, 105, 0.4);
    background: rgba(15, 23, 42, 0.8);
}

.event-band {
    font-weight: 700;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.event-details {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.event-details a {
    color: #38bdf8 !important;
    text-decoration: none;
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.event-details a:hover,
.event-details a:active,
.event-details a:focus {
    color: #0ea5e9 !important;
    text-decoration: underline;
}

.event-date {
    color: #10b981;
    font-weight: 600;
    font-size: 1rem;
}

.address-link {
    cursor: pointer;
    color: #0ea5e9;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.address-link:hover {
    color: #0284c7;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #94a3b8;
    font-size: 1.1rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #047857 0%, #0284c7 100%);
}

@media (max-width: 768px) {
    /* Better header layout */
    .header {
        padding: 1.5rem 1rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .header p {
        font-size: 1.1rem;
    }
    
    .logo-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .title-container {
        text-align: center;
    }
    
    .logo {
        width: 120px;
        height: 105px;
    }
    
    /* Header navigation - position on left and right on mobile */
    .header-nav {
        position: absolute;
        top: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
        width: auto;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 0.5rem 0.8rem;
        margin-right: auto;
    }
    
    .band-login-btn {
        padding: 0.65rem 1.1rem;
        font-size: 15px;
        margin-left: auto;
    }
    
    /* Keep original search container layout */
    .search-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .search-container select,
    .search-container input {
        width: 90%;
        flex: 0 0 90%;
    }
    
    .search-container button {
        width: calc(45% - 0.5rem);
        flex: 0 0 calc(45% - 0.5rem);
    }
    
    /* Keep original filter layout */
    .filter-container {
        flex-wrap: wrap;
        padding: 1rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 13px;
        touch-action: manipulation;
    }
    
    /* Keep original map height */
    .map-container {
        margin: 1rem;
        height: 400px;
        border-radius: 15px;
    }
    
    /* Better map controls */
    .leaflet-control-zoom {
        transform: scale(1.2);
        margin: 10px !important;
    }
    
    .leaflet-control-zoom a {
        width: 36px !important;
        height: 36px !important;
        line-height: 36px !important;
        font-size: 20px !important;
    }
    
    /* Touch-friendly event cards */
    .events-list {
        margin: 1rem;
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .event-item {
        padding: 1rem;
        border-radius: 10px;
        margin-bottom: 1rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(5, 150, 105, 0.1);
    }
    
    .event-item:active {
        transform: scale(0.98);
        background: rgba(15, 23, 42, 0.9);
    }
    
    .event-band {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .event-details {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }
    
    .event-date {
        font-size: 1.05rem;
    }
    
    /* Better link touch targets */
    .event-details a {
        padding: 0.25rem 0;
        display: inline-block;
        min-height: 32px;
        line-height: 1.5;
    }
    
    /* Footer improvements */
    .footer {
        padding: 1.5rem 1rem;
        position: relative;
        z-index: 100;
        margin-top: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    /* Modal improvements */
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-content h2 {
        font-size: 1.3rem;
    }
    
    /* Ensure footer is visible */
    .footer {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        clear: both;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    /* Better popup styling */
    .leaflet-popup-content {
        font-size: 14px;
        line-height: 1.6;
        min-width: 200px;
    }
    
    .leaflet-popup-content a {
        padding: 0.25rem 0;
        display: inline-block;
        min-height: 32px;
    }
    
    /* Style scrollbar in popup content */
    .leaflet-popup-content div::-webkit-scrollbar {
        width: 8px;
    }
    
    .leaflet-popup-content div::-webkit-scrollbar-track {
        background: rgba(203, 213, 225, 0.1);
        border-radius: 3px;
        margin-right: -2px;
    }
    
    .leaflet-popup-content div::-webkit-scrollbar-thumb {
        background: rgba(5, 150, 105, 0.5);
        border-radius: 3px;
    }
    
    .leaflet-popup-content div::-webkit-scrollbar-thumb:hover {
        background: rgba(5, 150, 105, 0.7);
    }
    
    /* Reduce padding on scrollable popup content */
    .leaflet-popup-content > div[style*="overflow-y"] {
        padding-right: 2px !important;
    }
}

/* Footer Styles */
.footer {
    background: rgba(15, 23, 42, 0.9);
    border-top: 1px solid rgba(5, 150, 105, 0.2);
    padding: 2rem;
    margin-top: 3rem;
    min-height: 200px;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: #10b981;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-section a {
    color: #38bdf8 !important;
    text-decoration: none;
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.footer-section a:hover,
.footer-section a:active,
.footer-section a:focus {
    color: #0ea5e9 !important;
    text-decoration: underline;
}

#bandAuthForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#loginForm, #registerForm, #verifyForm, #forgotPasswordForm, #resetPasswordForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#bandLoginForm, #bandRegisterForm, #bandVerifyForm, #bandForgotPasswordForm, #bandResetPasswordForm {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#bandLoginForm button, #bandRegisterForm button, #bandVerifyForm button, #bandForgotPasswordForm button, #bandResetPasswordForm button {
    margin-bottom: 0.75rem;
}

#bandAuthForm input, #bandLoginForm input, #bandRegisterForm input, #bandVerifyForm input, #bandForgotPasswordForm input, #bandResetPasswordForm input, #bandProfileForm input, #bandProfileForm select {
    padding: 1rem;
    border: 2px solid rgba(5, 150, 105, 0.3);
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.8);
    color: #f8fafc;
    font-size: 16px;
    outline: none;
    margin-bottom: 0.75rem;
    width: 100%;
    max-width: 500px;
}

#bandLoginForm label, #bandRegisterForm label, #bandVerifyForm label, #bandForgotPasswordForm label, #bandResetPasswordForm label {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    width: 100%;
    max-width: 500px;
    text-align: left;
}

#bandAuthForm input:focus, #bandLoginForm input:focus, #bandRegisterForm input:focus, #bandVerifyForm input:focus, #bandForgotPasswordForm input:focus, #bandResetPasswordForm input:focus, #bandProfileForm input:focus, #bandProfileForm select:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

#bandAuthForm input::placeholder, #bandLoginForm input::placeholder, #bandRegisterForm input::placeholder, #bandVerifyForm input::placeholder, #bandForgotPasswordForm input::placeholder, #bandResetPasswordForm input::placeholder, #bandProfileForm input::placeholder {
    color: #94a3b8;
}

.auth-divider {
    text-align: center;
    color: #94a3b8;
    margin: 1rem auto;
    position: relative;
    width: 100%;
    max-width: 500px;
    align-self: center;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(148, 163, 184, 0.3);
    z-index: 1;
}

.auth-divider span {
    background: rgba(30, 41, 59, 1);
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.sso-btn {
    width: 100%;
    max-width: 500px;
    padding: 1rem;
    border: 2px solid rgba(219, 68, 55, 0.3);
    border-radius: 10px;
    background: rgba(219, 68, 55, 0.1);
    color: #f8fafc;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto 1rem auto;
    display: block;
}

.sso-btn:hover {
    background: rgba(219, 68, 55, 0.2);
    border-color: rgba(219, 68, 55, 0.5);
    transform: none;
    box-shadow: 0 4px 15px rgba(219, 68, 55, 0.2);
}

.auth-switch {
    text-align: center;
    color: #94a3b8;
    margin-top: 1rem;
}

.auth-switch a {
    color: #38bdf8 !important;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.password-hint {
    font-size: 0.85rem;
    color: #94a3b8;
    text-align: left;
    margin: -0.5rem 0 0.75rem 0;
    width: 100%;
    max-width: 500px;
}

.logout-btn {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    margin-top: 1rem;
}

#loginForm, #registerForm {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    width: 100%;
}

#loginForm > *, #registerForm > * {
    margin-bottom: 1rem;
}

#registerForm input {
    width: 100%;
}

.dashboard-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.premium-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.premium-btn:hover {
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

#bandProfileForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
}

#bandProfileForm input,
#bandProfileForm select {
    width: 100%;
    max-width: 500px;
    padding: 1rem !important;
    box-sizing: border-box;
}

#bandProfileForm button {
    width: 100%;
    max-width: 500px;
    padding: 1rem !important;
    margin: 0 auto;
    box-sizing: border-box;
}

#bandProfileForm label {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    width: 100%;
    max-width: 500px;
    text-align: left;
}

#profileContent h3 {
    text-align: center;
}

#profileContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#profileContent .status-info {
    width: 100%;
    max-width: 500px;
}

#profileContent .dashboard-actions {
    width: 100%;
    max-width: 500px;
    align-items: center;
}

#profileContent .dashboard-actions button {
    width: 100%;
    max-width: 500px;
    padding: 1rem !important;
    box-sizing: border-box;
}

/* Band Status Styles */
.status-info {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid;
    text-align: center;
}

.status-not-submitted {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: #3b82f6;
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: #f59e0b;
}

.status-approved {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: #10b981;
}

.status-rejected {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: #ef4444;
}

.status-info h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.status-info p {
    margin-bottom: 0.5rem;
    color: #cbd5e1;
}

.status-info a {
    color: #38bdf8 !important;
    text-decoration: none;
}

.status-info a:hover {
    color: #0ea5e9 !important;
    text-decoration: underline;
}

.status-info small {
    color: #94a3b8;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid rgba(5, 150, 105, 0.2);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.modal-content h2 {
    color: #10b981;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.modal-content h3 {
    color: #0ea5e9;
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.1rem;
}

.modal-content p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

#privacyModal .modal-content p,
#termsModal .modal-content p {
    text-align: left;
}

.modal-content a {
    color: #38bdf8 !important;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.modal-content a:hover,
.modal-content a:active,
.modal-content a:focus {
    color: #0ea5e9 !important;
    text-decoration: underline;
}

.close {
    color: #94a3b8;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close:hover {
    color: #dc2626;
}

@media (max-width: 768px) {
    .footer {
        padding: 1.5rem;
        position: relative;
        z-index: 100;
        margin-top: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }
    
    /* Ensure footer is visible on mobile */
    .footer {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        clear: both;
    }
}


/* How It Works Page */
.how-it-works-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-section-hiw {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 1px solid rgba(5, 150, 105, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.hero-section-hiw h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section-hiw .subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
}

.content-section {
    margin-bottom: 4rem;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
    background: rgba(30, 41, 59, 0.6);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(5, 150, 105, 0.1);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.2);
    border-color: rgba(5, 150, 105, 0.3);
    background: rgba(30, 41, 59, 0.8);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.step-content h2 {
    color: #10b981;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.step-content p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.step-content .detail {
    color: #94a3b8;
    font-style: italic;
    font-size: 0.95rem;
}

.benefits-section {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 1px solid rgba(5, 150, 105, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.benefits-section h2 {
    text-align: center;
    color: #10b981;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: rgba(15, 23, 42, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(5, 150, 105, 0.2);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.2);
    border-color: rgba(5, 150, 105, 0.4);
}

.benefit-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: #0ea5e9;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card ul {
    list-style: none;
    padding: 0;
}

.benefit-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #cbd5e1;
}

.benefit-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.faq-section {
    margin-bottom: 3rem;
    background: rgba(30, 41, 59, 0.6);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(5, 150, 105, 0.1);
}

.faq-section h2 {
    text-align: center;
    color: #10b981;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(5, 150, 105, 0.2);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    color: #0ea5e9;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #cbd5e1;
    line-height: 1.6;
}

.cta-section {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 20px 40px rgba(5, 150, 105, 0.3);
}

.cta-section h2 {
    margin-bottom: 2rem;
    color: white;
    font-size: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #059669;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Responsive for How It Works */
@media (max-width: 768px) {
    .how-it-works-page {
        padding: 1rem;
    }
    
    .step {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .hero-section-hiw h1 {
        font-size: 2rem;
    }
    
    .hero-section-hiw .subtitle {
        font-size: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-section, .faq-section {
        padding: 2rem 1.5rem;
    }
    
    .cta-section {
        padding: 2rem 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}


/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive navigation */
@media (max-width: 768px) {
    .header-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}
