/* ============================================================
   1vsM Auth Pages — Login, Register, Forgot/Reset Password
   Dark/gold theme matching the main site.
   ============================================================ */

.auth-card {
    padding: 2.5rem;
    max-width: 460px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    border: 2px solid var(--glass-border);
    background: var(--glass);
    color: var(--text-light);
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15), 0 0 0 1px var(--primary);
}

.form-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
}

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

.btn-full {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    border-radius: 12px;
    margin-top: 0.5rem;
}

.btn-sso {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-alert {
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.auth-alert-success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #81C784;
}

.auth-alert-error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #E57373;
}

.auth-alert-info {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--primary);
}

/* Password strength indicator */
.password-strength {
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.1);
    margin-top: 0.5rem;
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease, background 0.3s ease;
    width: 0%;
}

.strength-weak { background: #ff6b6b; width: 25%; }
.strength-fair { background: #FFB74D; width: 50%; }
.strength-good { background: #D4AF37; width: 75%; }
.strength-strong { background: #4CAF50; width: 100%; }
