/* ════════════════════════════════════════════════════════════════════════════
   Zaera core — account screen styles (js/zaera-account.js).
   Built from VYRA's account section. Every colour and corner comes from the
   design tokens, so the panel follows the family look; the fallbacks are
   VYRA's own values for tokens an app hasn't defined yet.
   ════════════════════════════════════════════════════════════════════════════ */

.za-account {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border-radius: var(--radius-md, var(--radius, 16px));
  padding: 16px 14px;
}

.za-lead { font-size: 14px; line-height: 1.5; color: var(--text-dim); }
.za-lead i { color: var(--accent); margin-right: 4px; }
.za-lead b { color: var(--text); font-weight: 500; }

.za-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-md, var(--radius, 16px));
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s var(--ease, ease), filter .15s, background .15s, border-color .15s, color .15s;
}
.za-btn i { font-size: 19px; }
.za-btn:active { transform: scale(.97); }
.za-btn:disabled { opacity: .4; cursor: default; transform: none; }
.za-btn--primary { background: var(--accent); color: var(--accent-ink, var(--bg)); }
.za-btn--primary:hover { filter: brightness(1.07); }
.za-btn--secondary { background: var(--surface-2); color: var(--text); }
.za-btn--secondary:hover { border-color: var(--accent); color: var(--accent); }
.za-btn--sm { width: auto; min-height: 46px; font-size: 14px; flex: none; }

/* Google's own button (Google Identity Services) renders inside this box. */
.za-google { display: flex; justify-content: center; min-height: 44px; color-scheme: normal; }

.za-or { display: flex; align-items: center; gap: 10px; color: var(--text-faint); font-size: 12.5px; }
.za-or::before, .za-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.za-field-row { display: flex; gap: 8px; }
.za-input {
  flex: none;
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm, 12px);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.za-input:focus { outline: none; border-color: var(--accent); }
/* Side by side with a button (email + "Send code"), the field takes the room
   left over. Stacked in the column, it keeps its own height. */
.za-field-row .za-input { flex: 1; }

.za-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.za-text-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 2px;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 13.5px;
  cursor: pointer;
}
.za-text-btn i { font-size: 15px; }

.za-hint { font-size: 12.5px; line-height: 1.5; margin-top: 2px; }
.za-hint--ok { color: var(--text-dim); }
.za-hint--warn { color: var(--warn, var(--warning, #e3a857)); }

.za-form { display: flex; flex-direction: column; gap: 8px; padding: 6px 0 12px; }

.za-list {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-md, var(--radius, 16px));
  padding: 4px 14px;
}
.za-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 58px;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
div.za-row { cursor: default; }
.za-row:last-child { border-bottom: none; }
.za-row:active:not(div) { opacity: .75; }
.za-row:disabled { opacity: .4; cursor: default; }
.za-row-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-dim);
  font-size: 19px;
}
.za-row-label { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 15px; letter-spacing: -0.2px; }
.za-row-sub { font-size: 12.5px; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-faint); }
.za-row-go { color: var(--text-faint); font-size: 16px; }
.za-row--danger .za-row-ic,
.za-row--danger .za-row-label { color: var(--warn, var(--warning, #e3a857)); }
