/* Dashboard Styles */
#user-dashboard {
    background: white;
    min-height: 100vh;
    padding: 20px;
    margin: 0 !important;
    max-width: 100% !important;
}

body.dashboard-active {
    background: white !important;
}

.dashboard-header {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.dashboard-header h2,
.dashboard-header p {
    color: #333 !important;
}

/* Landing Page Styles */
.landing-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('clubhouse.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.verification-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('clubhouse.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.landing-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    color: white;
    min-height: auto;
}

.glass-card-minimal {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    color: white;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.glass-card-minimal h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 300;
}

.glass-card-minimal .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 25px;
}

.glass-card-minimal .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #333;
    border-radius: 10px;
}

.glass-card-minimal .form-control::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

.glass-card-minimal .form-control:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 123, 255, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    color: #333;
}

.glass-card-minimal .btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.glass-card-minimal .btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.logo {
    max-height: 60px;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-small {
    max-height: 40px;
    margin-bottom: 10px;
}

.portal-title {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.portal-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.features-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.feature-item {
    text-align: center;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    height: 100%;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.feature-item h5 {
    color: white;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 0.9rem;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.3;
}

.auth-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
}

.auth-section-simple {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.auth-section-simple .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #333;
    border-radius: 10px;
}

.auth-section-simple .form-control::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

.auth-section-simple .form-control:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 123, 255, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    color: #333;
}

.auth-section-simple .btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-section-simple .btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.features-section {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.features-section-bottom {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
}

.auth-spacer {
    height: 220px; /* Further increased for perfect alignment */
}

.auth-spacer-small {
    height: 60px; /* Small spacer for alignment without features section */
}

.auth-section-right {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.auth-section-right h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.auth-section-right p {
    font-size: 0.85rem;
}

.auth-section .form-control,
.auth-section-right .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #333;
    border-radius: 10px;
}

.auth-section .form-control::placeholder,
.auth-section-right .form-control::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

.auth-section .form-control:focus,
.auth-section-right .form-control:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 123, 255, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    color: #333;
}

.auth-section .btn-primary,
.auth-section-right .btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-section .btn-primary:hover,
.auth-section-right .btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

/* Dashboard Styles */
.dashboard-header {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dashboard-header h2 {
    color: #333;
    margin-bottom: 5px;
}

.dashboard-header .text-muted {
    color: #666 !important;
}

/* Loading Overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Feedback Messages */
#feedback-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .glass-card {
        padding: 20px;
    }
    
    .auth-spacer,
    .auth-spacer-small {
        display: none; /* Hide spacers on smaller screens */
    }
    
    .auth-section-right {
        margin-top: 20px;
        position: static;
    }
}

@media (max-width: 768px) {
    .landing-page {
        padding: 10px;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .glass-card {
        padding: 15px;
    }
    
    .portal-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .portal-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .features-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .feature-item {
        margin-bottom: 10px;
        padding: 12px;
    }
    
    .feature-icon {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .feature-item h5 {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .feature-item p {
        font-size: 0.8rem;
    }
    
    .auth-section-right {
        margin-top: 15px;
        padding: 20px;
    }
    
    .auth-section-right h4 {
        font-size: 1.1rem;
    }
    
    .auth-section-right p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .landing-page {
        padding: 5px;
        padding-top: 10px;
    }
    
    .glass-card {
        padding: 15px;
        border-radius: 15px;
    }
    
    .portal-title {
        font-size: 1.4rem;
    }
    
    .features-section {
        padding: 10px;
    }
    
    .feature-item {
        padding: 10px;
    }
    
    .auth-section-right {
        padding: 15px;
    }
    
    .form-control-lg {
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-height: 700px) {
    .landing-page {
        align-items: flex-start;
        padding-top: 10px;
    }
    
    .glass-card {
        padding: 20px;
    }
    
    .features-section {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .feature-item {
        padding: 8px;
    }
    
    .feature-icon {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }
    
    .auth-section-right {
        padding: 15px;
        margin-top: 10px;
    }
}
