/* ========================================
   Authentication Pages Styles
   ======================================== */

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

.auth-card {
    flex: 1;
    max-width: 550px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header .logo {
    justify-content: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--gray-light);
}

.auth-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.input-icon {
    position: relative;
}

.input-icon i:first-child {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    pointer-events: none;
}

.input-icon .form-control {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.toggle-password:hover {
    color: var(--primary-light);
}

.password-strength {
    margin-top: 10px;
    height: 4px;
    background: var(--glass);
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    background: var(--danger);
    transition: var(--transition);
}

.strength-bar.weak { width: 33%; background: var(--danger); }
.strength-bar.medium { width: 66%; background: var(--accent); }
.strength-bar.strong { width: 100%; background: var(--secondary); }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--gray-light);
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--glass-border);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.checkbox-label input:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
}

.checkbox-label a {
    color: var(--primary-light);
}

.forgot-link {
    color: var(--primary-light);
    font-size: 0.9rem;
}

.auth-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--glass-border);
}

.auth-divider span {
    background: var(--darker);
    padding: 0 20px;
    position: relative;
    color: var(--gray);
}

.social-auth {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-auth .btn i {
    font-size: 1.2rem;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    color: var(--gray-light);
}

.auth-footer a {
    color: var(--primary-light);
    font-weight: 600;
}

/* Auth Info Section */
.auth-info {
    flex: 1;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.auth-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.auth-info::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.info-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 400px;
}

.info-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.info-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.features-list {
    text-align: right;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list i {
    font-size: 1.3rem;
}

/* Responsive */
@media (max-width: 992px) {
    .auth-container {
        flex-direction: column;
    }
    
    .auth-card {
        max-width: none;
        padding: 40px 20px;
    }
    
    .auth-info {
        padding: 40px 20px;
    }
    
    .info-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}
