/* Auth Pages Styles */
body {
    background-color: #0f172a; /* Deep dark blue background */
    height: 100vh;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevent scrolling */
    display: flex;
    flex-direction: column;
}

.auth-page-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem 1rem;
    overflow: hidden;
    height: 100vh;
    width: 100%;
    box-sizing: border-box;
}

/* Override global page-wrapper padding for auth pages */
.page-wrapper {
    padding-top: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    min-height: 100vh !important;
}

#auth-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    poPoppins-events: none;
}

/* Glassmorphism Card */
.auth-card {
    background: rgba(30, 41, 59, 0.7); /* Darker semi-transparent background */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.auth-card-body {
    padding: 3rem 2.5rem;
}

/* Typography */
.auth-title {
    color: #f8fafc;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    font-family: 'Poppins', sans-serif;
}

.auth-subtitle {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Form Elements */
.auth-form-label {
    display: block;
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.auth-form-control {
    display: block;
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.auth-form-control:focus {
    background: rgba(15, 23, 42, 0.8);
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    color: #fff;
    outline: none;
}

.auth-form-control::placeholder {
    color: #64748b;
}

.auth-link {
    color: #60a5fa;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.auth-link:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Buttons */
.btn-auth-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-weight: 600;
    padding: 0.875rem;
    border-radius: 8px;
    border: none;
    width: 100%;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.btn-auth-primary:active {
    transform: translateY(0);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #64748b;
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    padding: 0 1rem;
}

.btn-auth-google {
    background: rgba(255, 255, 255, 0.05);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    padding: 0.875rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.btn-auth-google:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Footer Link */
.auth-footer-text {
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

/* OTP Info Box */
.otp-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.otp-info-box i {
    font-size: 1.25rem;
    color: #60a5fa;
    flex-shrink: 0;
    margin-top: 2px;
}

.otp-info-text {
    flex: 1;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #cbd5e1;
}

.otp-info-text strong {
    color: #60a5fa;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        max-width: 100%;
        margin: 0 1rem;
    }

    .auth-card-body {
        padding: 2rem 1.5rem; /* Reduced padding */
    }

    .auth-title {
        font-size: 1.35rem; /* Smaller title */
        margin-bottom: 0.5rem;
    }

    .auth-subtitle {
        font-size: 0.85rem; /* Smaller subtitle */
        margin-bottom: 1.5rem;
    }

    .auth-form-label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .auth-form-control {
        padding: 0.65rem 0.85rem; /* Smaller input padding */
        font-size: 0.9rem;
    }

    .btn-auth-primary, 
    .btn-auth-google {
        padding: 0.75rem; /* Smaller button padding */
        font-size: 0.95rem;
    }

    .mb-4 {
        margin-bottom: 1rem !important; /* Reduce spacing between elements */
    }
    
    .otp-info-box {
        padding: 10px 12px;
    }
    
    .otp-info-box i {
        font-size: 1rem;
    }
    
    .otp-info-text {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

/* Password Toggle */
.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    cursor: poPoppins;
    color: #64748b;
    z-index: 5;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: #94a3b8;
}

.password-toggle:focus {
    outline: none;
}



