/* ============================================
   AUTHENTICATION PAGE STYLES
   ============================================ */

.auth-page {
    min-height: 100vh;
    background: var(--light);
}

.auth-container {
    min-height: 100vh;
    display: flex;
}

.auth-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Auth Image Side */
.auth-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.auth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 41, 46, 0.85) 0%, rgba(4, 157, 181, 0.75) 100%);
}

.auth-image-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem;
    color: var(--white);
}

.auth-image-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.auth-image-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.auth-stats {
    display: flex;
    gap: 2rem;
}

.auth-stats .stat {
    text-align: center;
}

.auth-stats .number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
}

.auth-stats .label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-benefits .benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-benefits .benefit i {
    color: var(--success);
    font-size: 1.25rem;
}

/* Auth Form Side */
.auth-form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--white);
}

.auth-form-wrapper {
    width: 100%;
    max-width: 450px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-logo i {
    font-size: 2.25rem;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-subtitle {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.auth-subtitle a {
    color: var(--primary);
    font-weight: 500;
}

/* Social Login */
.social-login {
    margin-bottom: 1.5rem;
}

.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem;
    border: 1px solid var(--gray-300);
    background: var(--white);
    border-radius: 0.75rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}

.btn-google:hover {
    background: var(--light);
    border-color: var(--gray-400);
}

.btn-google img {
    width: 20px;
    height: 20px;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-300);
}

.divider span {
    padding: 0 1rem;
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Auth Form */
.auth-form .form-label {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.9rem;
}

.auth-form .input-group-text {
    background: var(--light);
    border-right: none;
    color: var(--gray-500);
}

.auth-form .form-control {
    border-left: none;
}

.auth-form .form-control:focus {
    box-shadow: none;
    border-color: var(--gray-300);
}

.auth-form .input-group:focus-within .input-group-text {
    border-color: var(--primary);
    color: var(--primary);
}

.auth-form .input-group:focus-within .form-control {
    border-color: var(--primary);
}

.toggle-password {
    border-left: none !important;
    background: transparent !important;
}

.toggle-password:hover {
    border-color: var(--gray-300) !important;
}

/* Password Strength */
.password-strength {
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Forgot Link */
.forgot-link {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Auth Button */
.btn-auth {
    padding: 0.875rem;
    font-weight: 600;
    font-size: 1rem;
}

/* Security Note */
.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--gray-500);
    font-size: 0.85rem;
}

.security-note i {
    color: var(--success);
}

/* Forgot Password Specific */
.forgot-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.forgot-icon i {
    font-size: 2.5rem;
    color: var(--primary);
}

.success-message .success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-message .success-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.email-timer {
    margin-top: 1.5rem;
}

.email-timer .btn-link {
    color: var(--primary);
    font-weight: 500;
    padding: 0;
}

.timer-text {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.back-link {
    color: var(--gray-600);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.back-link:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 991.98px) {
    .auth-form-section {
        padding: 3rem 1.5rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
}
