/* ============================================================
   VidaPet — Auth (login, mfa, forgot, reset)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import 'components.css';

body {
    min-height: 100vh;
    display: flex;
    background: var(--bg);
}

/* ── Painel esquerdo (verde) ── */
.auth-left {
    display: none;
    width: 44%;
    background: linear-gradient(145deg, var(--primary) 0%, var(--green) 60%, var(--green-dark) 100%);
    padding: 56px 48px;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
@media (min-width: 900px) { .auth-left { display: flex } }

.auth-left::before {
    content: ''; position: absolute;
    width: 500px; height: 500px;
    background: rgba(255,255,255,.05); border-radius: 50%;
    top: -120px; right: -160px;
}
.auth-left::after {
    content: ''; position: absolute;
    width: 280px; height: 280px;
    background: rgba(255,255,255,.04); border-radius: 50%;
    bottom: -70px; left: -70px;
}

.auth-brand { position: relative; z-index: 1 }
.auth-brand-name {
    font-size: 30px; font-weight: 700;
    color: #fff; letter-spacing: -1px;
}
.auth-brand-name span { color: #7FDDBB }
.auth-brand-tag {
    margin-top: 8px; color: rgba(255,255,255,.7);
    font-size: 14px; line-height: 1.6;
}

.auth-features { position: relative; z-index: 1 }
.auth-feature {
    display: flex; align-items: flex-start;
    gap: 14px; margin-bottom: 22px;
}
.auth-feature-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.auth-feature-icon svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.8 }
.auth-feature-text strong { display: block; color: #fff; font-size: 14px; font-weight: 600 }
.auth-feature-text span   { color: rgba(255,255,255,.6); font-size: 12px; line-height: 1.5 }

.auth-footer { color: rgba(255,255,255,.35); font-size: 11px; position: relative; z-index: 1 }

/* ── Painel direito (formulário) ── */
.auth-right {
    flex: 1; display: flex;
    align-items: center; justify-content: center;
    padding: 40px 24px;
}

.auth-box { width: 100%; max-width: 400px }

.auth-mobile-logo {
    font-size: 22px; font-weight: 700;
    color: var(--primary); letter-spacing: -.5px;
    margin-bottom: 28px; display: block;
}
.auth-mobile-logo span { color: var(--green) }
@media (min-width: 900px) { .auth-mobile-logo { display: none } }

.auth-title { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 4px }
.auth-sub   { font-size: 14px; color: var(--text-3); margin-bottom: 28px }

.auth-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 20px 0; color: var(--text-4); font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border-light);
}

.auth-link {
    display: block; text-align: center;
    margin-top: 20px; font-size: 13px; color: var(--text-3);
}
.auth-link a { color: var(--green); font-weight: 500 }

/* MFA — display de método */
.mfa-method {
    display: flex; align-items: center; gap: 12px;
    background: var(--green-light); border-radius: var(--radius-sm);
    padding: 13px 16px; margin-bottom: 24px;
}
.mfa-method svg { width: 20px; height: 20px; stroke: var(--green); flex-shrink: 0 }
.mfa-method-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--text) }
.mfa-method-text span   { font-size: 12px; color: var(--text-3) }

/* OTP input */
.otp-wrap { display: flex; gap: 10px; margin-bottom: 24px }
.otp-input {
    flex: 1; text-align: center; font-size: 24px; font-weight: 700;
    padding: 14px 0; letter-spacing: 8px;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    color: var(--text); font-family: var(--font); outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.otp-input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(13,122,95,.12);
}
