/* ============================================
   Acero UnliNet - Authentication Styles
   ============================================ */

/* Auth Container */
.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #f0f9ff 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.auth-container::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Alert Container */
.alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    width: 100%;
}

/* Auth Card */
.auth-card {
    display: flex;
    max-width: 1000px;
    width: 100%;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s ease;
}

/* Auth Brand Section */
.auth-brand {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 40px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.auth-brand::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.auth-brand::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.auth-brand-content {
    position: relative;
    z-index: 1;
}

.auth-logo {
    display: inline-block;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 40px;
}

.auth-logo .logo-highlight {
    color: var(--accent-color);
}

.auth-brand-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.auth-brand-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.auth-brand-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    font-weight: 500;
    font-size: 1.125rem;
}

.auth-brand-feature span:first-child {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Auth Form Section */
.auth-form-section {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    background: var(--white);
}

.auth-form-content {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.auth-form-title {
    font-size: 1.75rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.auth-form-subtitle {
    color: var(--gray-medium);
    margin-bottom: 30px;
}

.auth-form {
    margin-bottom: 20px;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray-dark);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.forgot-password {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.forgot-password:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: var(--gray-light);
    font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--gray-lightest);
}

.auth-divider span {
    padding: 0 15px;
    background: var(--white);
}

/* Auth Redirect */
.auth-redirect {
    text-align: center;
    color: var(--gray-medium);
    margin-bottom: 20px;
}

.auth-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.auth-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Back Home Link */
.back-home {
    display: block;
    text-align: center;
    color: var(--gray-medium);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

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

/* Password Strength Indicator */
.password-strength {
    margin-top: 10px;
    display: none;
}

.password-strength.show {
    display: block;
}

.password-strength-bar {
    height: 4px;
    background: var(--gray-lightest);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.password-strength-fill {
    height: 100%;
    width: 0;
    transition: all var(--transition-normal);
    border-radius: 2px;
}

.password-strength-text {
    font-size: 12px;
    color: var(--gray-medium);
}

/* Strength Levels */
.strength-weak {
    background: var(--danger-color);
    width: 33.33%;
}

.strength-medium {
    background: var(--warning-color);
    width: 66.66%;
}

.strength-strong {
    background: var(--success-color);
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-card {
        flex-direction: column;
        max-width: 500px;
        margin: 20px auto;
    }
    
    .auth-brand {
        padding: 40px 30px;
    }
    
    .auth-logo {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }
    
    .auth-brand-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .auth-brand-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .auth-brand-features {
        gap: 10px;
    }
    
    .auth-brand-feature {
        font-size: 1rem;
    }
    
    .auth-brand-feature span:first-child {
        width: 35px;
        height: 35px;
        font-size: 1.125rem;
    }
    
    .auth-form-section {
        padding: 40px 30px;
    }
    
    .auth-form-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 10px;
    }
    
    .auth-card {
        border-radius: var(--border-radius-lg);
    }
    
    .auth-brand {
        padding: 30px 20px;
    }
    
    .auth-brand-title {
        font-size: 1.75rem;
    }
    
    .auth-brand-features {
        display: none;
    }
    
    .auth-form-section {
        padding: 30px 20px;
    }
    
    .auth-form-title {
        font-size: 1.25rem;
    }
    
    .form-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* Error States */
.form-input.error {
    border-color: var(--danger-color);
}

.form-input.success {
    border-color: var(--success-color);
}

/* Input with icon */
.input-group {
    position: relative;
}

.input-group .form-input {
    padding-left: 45px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--gray-light);
    pointer-events: none;
}

/* Show/Hide Password */
.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--gray-light);
    padding: 5px;
    transition: color var(--transition-fast);
}

.password-toggle:hover {
    color: var(--gray-dark);
}