/* ============================================================================
   Auth / signup / login screens
   ============================================================================ */
.auth-body { min-height: 100vh; background: linear-gradient(135deg, var(--teal-50) 0%, var(--bg) 45%, #eef4f5 100%); }
.auth-shell { max-width: 480px; margin: 0 auto; padding: 32px 18px 48px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.auth-brand { margin-bottom: 4px; }
.auth-card { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 28px; }
.auth-card h1 { font-size: 21px; }
.auth-sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.auth-foot { margin-top: 8px; }

/* Plan summary chip */
.plan-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 20px; }
.plan-summary .ps-name { font-weight: 800; color: var(--teal-800); }
.plan-summary .ps-cap { font-size: 12.5px; color: var(--teal-700); }
.plan-summary .ps-price { font-size: 18px; font-weight: 900; color: var(--teal-700); }

/* Stepper */
.stepper { display: flex; align-items: center; gap: 6px; margin: 0 0 22px; }
.stepper .st { flex: 1; height: 5px; border-radius: 4px; background: var(--line); }
.stepper .st.done { background: var(--teal-400); }
.stepper .st.active { background: var(--teal-600); }

/* OTP */
.otp-inputs { display: flex; gap: 10px; direction: ltr; justify-content: center; margin: 6px 0 12px; }
.otp-inputs input {
    width: 52px; height: 60px; text-align: center; font-size: 24px; font-weight: 800;
    border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text);
}
.otp-inputs input:focus { outline: none; border-color: var(--teal-400); box-shadow: var(--ring); }
.resend-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; font-size: 13.5px; }
.resend-row .countdown { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 700; }
.muted-link { color: var(--teal-600); font-weight: 700; cursor: pointer; background: none; border: none; font-family: inherit; font-size: 13.5px; }
.muted-link:disabled { color: var(--muted-2); cursor: not-allowed; }

.form-error-box { background: var(--danger-bg); color: var(--danger); border-radius: 10px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; }

/* Invoice */
.invoice-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.invoice-row:last-of-type { border-bottom: none; }
.invoice-total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 16px; border-top: 2px solid var(--line); }
.invoice-total .it-amount { font-size: 24px; font-weight: 900; color: var(--teal-700); }

/* Success */
.success-check { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; font-size: 44px; }

/* Building selection list */
.building-list { display: flex; flex-direction: column; gap: 10px; }
.building-list form { margin: 0; }
.building-item {
    width: 100%; display: flex; align-items: center; gap: 14px; text-align: start;
    padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: var(--surface); cursor: pointer; font-family: inherit; transition: .15s;
}
.building-item:hover { border-color: var(--teal-400); background: var(--teal-50); transform: translateY(-1px); }
.building-item .bi-logo { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--teal-50); font-size: 20px; flex: 0 0 auto; }
.building-item .bi-body { display: flex; flex-direction: column; flex: 1; }
.building-item .bi-name { font-weight: 800; color: var(--text); }
.building-item .bi-role { font-size: 12.5px; color: var(--muted); }
.building-item .bi-arrow { color: var(--muted-2); font-size: 22px; }

.field-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 440px) { .field-grid-2 { grid-template-columns: 1fr; } .otp-inputs input { width: 44px; height: 54px; font-size: 20px; } }
