/* itlkurz.sk - cisty, striedmy dizajn. Ziadne gradienty, ziadne animovane hovadiny. */
:root {
    --bg: #f4f5f7;
    --card: #ffffff;
    --ink: #1f2430;
    --muted: #6b7280;
    --line: #d9dce1;
    --brand: #1d4ed8;
    --brand-ink: #ffffff;
    --ok: #16794a;
    --err: #b42318;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.5;
}
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }

.topbar { background: var(--card); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-size: 20px; font-weight: 700; text-decoration: none; color: var(--ink); display: flex; align-items: center; }
.brand span { color: var(--brand); }
.logo-img { height: 38px; width: auto; display: block; }
.topbar nav a { margin-left: 20px; text-decoration: none; color: var(--muted); font-size: 15px; }
.topbar nav a.active, .topbar nav a:hover { color: var(--brand); }

.intro { text-align: center; padding: 36px 0 8px; }
.intro h1 { font-size: 26px; margin: 0 0 8px; }
.intro p { color: var(--muted); margin: 0; }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 24px;
    margin: 20px 0 40px;
}
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field.grow { flex: 1; }
.row { display: flex; gap: 16px; }
.row .field { flex: 1; }
label { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password],
input[type=number], input[type=date], select {
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 10px 12px;
    font-size: 15px;
    background: #fff;
    color: var(--ink);
    font-family: inherit;
}
input:focus, select:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
input.invalid { border-color: var(--err); }
small { color: var(--muted); font-size: 12px; margin-top: 4px; }
.upper { text-transform: uppercase; }

.addr { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.addr .prefix { background: #eef0f3; padding: 10px 12px; color: var(--muted); font-size: 14px; }
.addr input { border: 0; border-radius: 0; flex: 1; min-width: 0; }
.addr select { border: 0; border-left: 1px solid var(--line); border-radius: 0; background: #eef0f3; }

.check { display: flex; gap: 10px; font-weight: 400; font-size: 13px; color: var(--ink); margin-bottom: 14px; align-items: flex-start; }
.check input { margin-top: 3px; }
.check span { font-weight: 400; }

button {
    width: 100%;
    background: var(--brand);
    color: var(--brand-ink);
    border: 0;
    border-radius: 8px;
    padding: 13px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
button:hover { background: #1740b8; }
button:disabled { opacity: .8; cursor: default; }

.spinner {
    display: inline-block; width: 15px; height: 15px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .6s linear infinite;
    vertical-align: -3px; margin-right: 9px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.result { padding: 14px 16px; border-radius: 8px; margin-bottom: 18px; font-size: 14px; }
.result.ok { background: #e7f4ec; color: var(--ok); border: 1px solid #b7dcc6; }
.result.bad { background: #fcebe9; color: var(--err); border: 1px solid #f3c4be; }

footer { text-align: center; color: var(--muted); font-size: 13px; padding: 20px 0 40px; }

/* navod / guide */
.guide h2 { font-size: 17px; margin: 26px 0 10px; }
.guide h2:first-child { margin-top: 4px; }
.guide p { line-height: 1.6; margin: 0 0 12px; }
.guide ul { margin: 0 0 14px; padding-left: 20px; line-height: 1.8; }
.guide code, .creds code {
    background: #eef0f3; padding: 2px 6px; border-radius: 5px;
    font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px;
}
.creds { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 14px; }
.creds th { text-align: left; width: 180px; color: var(--muted); font-weight: 600; padding: 8px 10px; vertical-align: top; }
.creds td { padding: 8px 10px; }
.creds tr { border-bottom: 1px solid var(--line); }
.note {
    background: #f6f7f9; border-left: 3px solid var(--brand);
    padding: 10px 14px; border-radius: 6px; font-size: 14px;
}

@media (max-width: 560px) { .row { flex-direction: column; gap: 0; } }
