/* Accounts, billing, pricing and legal pages (on top of app.css). */
input[type="email"] {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  font: inherit;
}
header .brand { color: var(--text); text-decoration: none; }
.auth { max-width: 420px; }
.auth .panel h2 { font-size: 20px; }
.auth label + input, .auth input + label { margin-top: 10px; }
.auth .check { display: flex; gap: 8px; align-items: flex-start; color: var(--text); font-size: 13px; margin: 14px 0 4px; }
.auth .check input { margin-top: 3px; }
.auth .links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
a { color: var(--accent); }
.ok { color: var(--live); }
.notice-ok { background: rgba(46, 204, 113, 0.1); border: 1px solid rgba(46, 204, 113, 0.35); border-radius: 8px; padding: 10px 14px; }

/* Minutes left, in the header of the app pages. */
.minutes {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: 13px; color: var(--text); background: var(--line); text-decoration: none; white-space: nowrap;
}
.minutes.low { background: rgba(245, 166, 35, 0.18); color: var(--warn); }
.minutes.out { background: rgba(255, 92, 92, 0.18); color: var(--err); }
.minutes svg { width: 14px; height: 14px; fill: currentColor; }

/* Minutes bar on the dashboard and the send page. */
.minutes-bar { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; }
.minutes-bar[hidden] { display: none; }
.mbar-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; }
.mbar-text { font-size: 14px; font-weight: 500; }
.mbar-head .button { color: #fff; text-decoration: none; white-space: nowrap; }
.mbar-head .button.secondary { color: var(--text); }
.mbar-sub { margin-top: 8px; font-size: 13px; color: var(--muted); }
.progress.thin { height: 5px; margin: 6px 0 2px; }
.mbar-note { margin: 8px 0 0; font-size: 13px; }
.mbar-note.warn { color: var(--warn); background: none; border: 0; padding: 0; }
.mbar-note.out { color: var(--err); }
.mbar-note.mbar-speech { color: var(--muted); font-size: 12px; margin-top: 6px; }
@media (max-width: 560px) { .mbar-head .button { width: 100%; text-align: center; } }

.progress { height: 10px; background: var(--line); border-radius: 5px; overflow: hidden; margin: 8px 0 6px; }
.progress > div { height: 100%; background: var(--accent); border-radius: 5px; transition: width 0.3s; }
.progress.low > div { background: var(--warn); }
.progress.out > div { background: var(--err); }
.quota-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.quota-head .big { font-size: 26px; font-weight: 650; }

/* Plan cards (account page, pricing page, landing page). */
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 12px; }
.plan {
  border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 6px;
  background: rgba(255, 255, 255, 0.015);
}
.plan.current { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan.suggested { border-color: var(--warn); }
.plan .plan-min { font-size: 22px; font-weight: 650; }
.plan .plan-price { font-size: 16px; }
.plan .plan-per { color: var(--muted); font-size: 13px; }
.plan .plan-bonus { color: var(--live); font-size: 12px; min-height: 18px; }
.plan button, .plan .button { margin-top: auto; text-align: center; }
.plan.trial { border-style: dashed; }
.vat-note { color: var(--muted); font-size: 13px; margin-top: 10px; }

.accounts td, .accounts th { white-space: nowrap; font-size: 13px; }
.accounts .num { text-align: right; font-variant-numeric: tabular-nums; }
.accounts td.actions { display: flex; flex-wrap: wrap; gap: 6px; white-space: normal; min-width: 180px; }
.accounts td:first-child { white-space: normal; word-break: break-all; min-width: 160px; }
.accounts select { width: auto; padding: 3px 6px; font-size: 13px; }
.danger-zone { border-color: rgba(255, 92, 92, 0.4); }

/* Legal pages. */
.legal { max-width: 820px; }
.legal h1 { font-size: 26px; margin: 0 0 4px; }
.legal h2 { font-size: 17px; margin: 26px 0 8px; }
.legal p, .legal li { color: #c9cedb; line-height: 1.6; }
.legal .updated { color: var(--muted); font-size: 13px; margin-top: 0; }
.legal .notice { background: rgba(245, 166, 35, 0.1); border: 1px solid rgba(245, 166, 35, 0.35); border-radius: 8px; padding: 12px 16px; margin: 16px 0; color: var(--text); }
.legal-tabs { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.legal-tabs a { color: var(--muted); text-decoration: none; }
.legal-tabs a.active { color: var(--text); border-bottom: 2px solid var(--accent); }

.site-foot {
  max-width: 1200px; margin: 12px auto 0; padding: 18px 24px 28px; border-top: 1px solid var(--line);
  display: flex; gap: 8px 18px; flex-wrap: wrap; color: var(--muted); font-size: 13px;
}
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--text); }
.site-foot .copy { margin-left: auto; }

.faq dt { font-weight: 600; margin-top: 14px; }
.faq dd { margin: 4px 0 0; color: var(--muted, #667); }

.divider { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; color: var(--muted); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.code-input { font: 700 26px/1.2 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: 6px; text-align: center; }
body[data-signup="off"] #form > :not(h2):not(.signup-off) { display: none; }
body[data-signup="on"] .signup-off { display: none; }
.per-language { font-weight: 600; color: var(--warn); }
.plan .plan-vat { color: var(--muted); font-size: 12px; font-weight: normal; }
.limit-form { margin-top: 10px; gap: 8px; align-items: center; flex-wrap: wrap; }
.limit-form label { margin: 0; }
.limit-form input { width: 120px; }
