/* Piesele comune ale paginilor contului, ale Login / Register / parolă și ale formularului de locație: fontul, titlul, cardul de formular, câmpurile.
   Sursa: redesign/css/base.css (.display, .field, .input, .muted, .link) și pages.css (.form-card, .check, .two), cu valorile finale din Backlot.
   Tot ce e aici stă sub .bk-page (clasa de pe rădăcina fiecărei pagini), ca să bată regulile vechi Bootstrap / css/style.css fără !important, în afară de fontul
   (css/style.css pune font-family „robotolight” !important pe h1–h6, p, span). Valorile vin din tokens.css. Nu are reguli de pagină (le au account-pages.css etc.). */

.bk-page { color: var(--ink); }
.bk-page :is(h1, h2, h3, h4, h5, h6, p, span) { font-family: var(--font) !important; }
.bk-page .display { font-family: var(--font-display) !important; font-weight: var(--display-weight); letter-spacing: var(--display-track); line-height: 1.08; margin: 0; overflow-wrap: anywhere; text-wrap: balance; color: var(--ink); }
.bk-page .display em { font-family: inherit !important; font-style: var(--em-style); font-weight: inherit; color: var(--em-color); }
.bk-page :is(h2, h3) { font-weight: 700; line-height: 1.5; }
.bk-page p { margin: 0; }
.bk-page .muted { color: var(--mute); }
.bk-page .link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bk-page .link:is(:hover, :focus) { color: var(--ink); text-decoration: underline; }

/* Cardul de formular */
.bk-page .form-card { display: grid; gap: 14px; min-width: 0; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.bk-page .form-card h2 { margin: 0 0 4px; font-size: 24px; }
.bk-page .form-card :is(p, b) { overflow-wrap: anywhere; }
.bk-page .form-card .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 899px) { .bk-page .form-card .two { grid-template-columns: 1fr; } }

/* Câmp de formular */
.bk-page .field { display: grid; gap: 6px; margin: 0; max-width: none; font-weight: 300; }
.bk-page .field > span:first-child { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.bk-page .input { display: block; width: 100%; height: auto; min-height: 48px; margin: 0; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface);
  box-shadow: none; font: inherit; font-size: 16px; line-height: 1.5; color: var(--ink); }
.bk-page textarea.input { min-height: 120px; resize: vertical; }
.bk-page .input:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: transparent; box-shadow: none; }
.bk-page .input::placeholder { color: var(--mute); opacity: 1; }
.bk-page .input[aria-invalid="true"] { border-color: var(--accent); outline-color: var(--accent); }
/* mesajul serverului lângă câmpul greșit (textul vine din validarea Laravel, nu e scris aici) */
.bk-page .field-error { display: block; margin: 0; font-size: 13px; font-weight: 500; color: var(--accent); }
.bk-page .field-error * { font-weight: inherit; }

/* Listă (select) cu săgeată */
.bk-page .select-wrap { position: relative; display: block; }
.bk-page .select-wrap > select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; font-weight: 500; color: var(--ink-2); }
.bk-page .select-wrap > .ico { position: absolute; right: 16px; top: 50%; transform: translateY(-50%) rotate(90deg); width: 16px; height: 16px; pointer-events: none; color: var(--mute); }

/* Bifă cu text */
.bk-page .check { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14.5px; font-weight: 300; }
.bk-page .check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
