/* The customers' login and registration page: a brand panel beside the form; stacked on a phone. */
:root { --navy: #0f172a; --navy-2: #1e3a5f; --blue: #2563eb; --blue-dark: #1e40af; --ink: #1e293b; --muted: #64748b; --line: #e2e8f0; --bg: #f5f7fb; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Tahoma, Arial, sans-serif; background: var(--bg); color: var(--ink); min-height: 100vh; }
.split { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.brand { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.mark { font-size: 0.95rem; font-weight: bold; color: #93c5fd; letter-spacing: 0.5px; }
.brand h1 { font-size: 2rem; line-height: 1.45; max-width: 15em; }
.brand ul { list-style: none; display: grid; gap: 14px; max-width: 26em; }
.brand li { padding-inline-start: 16px; border-inline-start: 3px solid #3b82f6; line-height: 1.7; color: #dbe4f0; }
.brand strong { color: #fff; }
.panel { align-self: center; justify-self: center; width: 100%; max-width: 440px; padding: 32px 24px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: #e8edf5; border-radius: 12px; padding: 4px; margin-bottom: 22px; }
.tabs button { font: inherit; font-weight: bold; padding: 10px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected=true] { background: #fff; color: var(--blue-dark); box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12); }
label { display: block; font-weight: bold; font-size: 0.92rem; margin: 14px 0 6px; }
.soft { font-weight: normal; color: var(--muted); }
input { width: 100%; font: inherit; font-size: 1rem; padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; text-align: right; }
input:focus-visible, button:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 2px; }
.primary { width: 100%; margin-top: 18px; font: inherit; font-size: 1.05rem; font-weight: bold; padding: 13px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; cursor: pointer; }
.primary:hover { background: var(--blue-dark); }
.primary:disabled { opacity: 0.6; cursor: default; }
.message { min-height: 1.5em; margin-top: 10px; color: #b91c1c; font-weight: bold; font-size: 0.92rem; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .brand { padding: 28px 22px; gap: 12px; }
  .brand h1 { font-size: 1.35rem; }
  .brand ul { display: none; }
  .panel { padding: 22px 18px 40px; }
}
