/* auth.css */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    overflow: hidden;
}

.auth-container {
    width: 100%;
    max-width: 480px;
    padding: 40px;
    position: relative;
    z-index: 10;
}

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}
.auth-logo img {
    height: 48px;
    width: auto;
}

.auth-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 32px;
}

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

.auth-form .form-label {
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.auth-form .form-control {
    padding-left: 40px;
    height: 48px;
}

.auth-input-icon {
    position: absolute;
    left: 12px;
    top: 36px;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: var(--text-muted);
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}
.auth-divider:not(:empty)::before {
    margin-right: .25em;
}
.auth-divider:not(:empty)::after {
    margin-left: .25em;
}

.auth-social-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 48px;
    margin-bottom: 12px;
}

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

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
}
.password-strength-bar[data-score="0"] { width: 20%; background-color: var(--danger); }
.password-strength-bar[data-score="1"] { width: 40%; background-color: var(--danger); }
.password-strength-bar[data-score="2"] { width: 60%; background-color: var(--warning); }
.password-strength-bar[data-score="3"] { width: 80%; background-color: var(--info); }
.password-strength-bar[data-score="4"] { width: 100%; background-color: var(--success); }
