/* BISTRO sign-in page */
:root { --navy: #14275a; --navy-2: #0d1b3f; --green: #3aa935; --green-d: #2e8a2a; --ink: #1b2236; --ink-2: #5a6276; --line: #dfe3ec; --bg: #f4f6fa; --err: #b3261e; }
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; font-family: "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); }
.brand { background: radial-gradient(1200px 600px at -10% 110%, rgba(58,169,53,.28), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
         color: #fff; padding: 56px 64px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.brand::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.04); pointer-events: none; }
.logo { background: #fff; border-radius: 12px; padding: 10px 16px; display: inline-flex; width: max-content; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.logo img { height: 46px; display: block; }
.brand h1 { font-size: 34px; line-height: 1.2; font-weight: 600; margin: 0 0 14px; max-width: 540px; }
.brand p { color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.6; max-width: 440px; margin: 0; }
.mods { display: grid; grid-template-columns: repeat(3, max-content); gap: 10px 22px; margin-top: 30px; font-size: 13.5px; color: rgba(255,255,255,.85); }
.mods span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: 1px; }
.brand small { color: rgba(255,255,255,.55); font-size: 12px; }
.panel { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.card { width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 36px 36px 26px; box-shadow: 0 20px 50px rgba(20,39,90,.10); }
.card h2 { margin: 0 0 4px; font-size: 24px; font-weight: 600; }
.card .sub { margin: 0 0 24px; color: var(--ink-2); font-size: 14px; }
label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.field { position: relative; margin-bottom: 16px; }
.field svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: #8a92a6; fill: none; stroke-width: 1.8; pointer-events: none; }
.field input, .field select { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px 0 40px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; outline: none; }
.field input[type=password], .field input.pw { padding-right: 64px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, #8a92a6 50%), linear-gradient(135deg, #8a92a6 50%, transparent 50%);
    background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20,39,90,.12); }
.show { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font: inherit; font-size: 12.5px; color: var(--navy); font-weight: 600; background: none; border: 0; cursor: pointer; padding: 6px; }
.row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-2); margin: 4px 0 20px; gap: 10px; }
.row label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; margin: 0; color: var(--ink-2); cursor: pointer; }
.row input[type=checkbox] { width: 16px; height: 16px; margin: 0; }
.caps { color: var(--ink-2); }
.caps.on { color: #9a6400; font-weight: 600; }
.btn { width: 100%; height: 46px; border: 0; border-radius: 10px; background: var(--navy); color: #fff; font: inherit; font-size: 15.5px; font-weight: 600; cursor: pointer; }
.btn:hover { background: var(--navy-2); }
.btn:disabled { opacity: .75; cursor: progress; }
.err { display: flex; gap: 8px; align-items: flex-start; background: #fdecec; color: var(--err); border: 1px solid #f5c2c2; border-radius: 10px; padding: 10px 12px; font-size: 13.5px; margin-bottom: 16px; }
.foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--ink-2); }
.lock { color: var(--green-d); font-weight: 600; white-space: nowrap; }
@media (max-width: 900px) {
    body { grid-template-columns: 1fr; }
    .brand { padding: 28px 24px; }
    .brand h1 { font-size: 24px; } .brand p, .mods, .brand small { display: none; }
}
