:root { --text: #1d2733; --pozadie: #f4f6f8; --okraj: #b8c2cc; --akcent: #1f5fa8; --chyba: #b00020; --ok: #1b6e3a; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--pozadie); }
.pas { background: #fff3c4; color: #5c4400; text-align: center; padding: .5rem 1rem; font-weight: 600; border-bottom: 1px solid #e6cf7a; }
.hlavicka, main, .pata { max-width: 40rem; margin: 0 auto; padding: 1rem; }
.hlavicka h1 { margin: .5rem 0 .25rem; font-size: 1.6rem; }
.logo { display: block; width: 64px; height: 64px; object-fit: contain; border-radius: 8px; }
form { background: #fff; border: 1px solid var(--okraj); border-radius: 8px; padding: 1rem 1rem 1.25rem; }
h2 { margin-top: 0; font-size: 1.2rem; }
.pole { margin-bottom: 1rem; }
label { display: block; font-weight: 600; margin-bottom: .25rem; }
label small { font-weight: 400; color: #4a5866; }
input, select, textarea { width: 100%; font: inherit; padding: .6rem .7rem; border: 1px solid var(--okraj); border-radius: 6px; background: #fff; color: inherit; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid var(--akcent); outline-offset: 1px; }
[aria-invalid="true"] { border-color: var(--chyba); }
.chyba { color: var(--chyba); margin: .25rem 0 0; font-size: .9rem; }
.chyby { border: 2px solid var(--chyba); color: var(--chyba); border-radius: 6px; padding: .6rem .8rem; margin-bottom: 1rem; }
.chyby ul { margin: .25rem 0 0; padding-left: 1.2rem; }
.turnstile { margin: 1rem 0 .5rem; min-height: 65px; }
button { font: inherit; font-weight: 600; width: 100%; padding: .8rem 1rem; border: 0; border-radius: 6px; background: var(--akcent); color: #fff; cursor: pointer; }
button[disabled] { opacity: .6; cursor: progress; }
.stav { margin: .75rem 0 0; font-weight: 600; }
.stav.ok { color: var(--ok); }
.stav.zle { color: var(--chyba); }
.pata { font-size: .85rem; color: #4a5866; text-align: center; }
[hidden] { display: none !important; }
@media (min-width: 40rem) { button { width: auto; } }
