/* vignettes_eu / cz — small overrides ON TOP of the official edalnice.gov.cz
   vendored CSS (only what our wiring needs; the design is theirs) */

/* cookie bar wrapper MUST close */
.vig-cookie[hidden] { display: none !important; }

/* wizard host */
#vig-flow-wrap { position: relative; }
.vig-h { font-size: 22px; font-weight: 700; color: #0c1838; margin: 0 0 14px; letter-spacing: -0.01em; }
.vig-sub { color: #5a6478; font-size: 14.5px; margin: -8px 0 16px; }

/* validity cards (official cards frag, clickable) */
.vig-cards-grid a { cursor: pointer; border: 2px solid transparent; border-radius: 10px; padding: 8px; }
.vig-cards-grid a.vig-sel { border-color: #00469b; background: #f0f5fc; }
.vig-cards-grid a.vig-sel p.text-headline-m { color: #00469b; }
.vig-fee-note { margin-top: 10px; font-size: 13px; color: #5a6478; }
.vig-fee-note b { color: #0c1838; }

/* class/validity option tiles (generic) */
.vig-opts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.vig-opt { flex: 1 1 120px; cursor: pointer; border: 1.5px solid #dbe1ea; border-radius: 8px;
  background: #fff; padding: 12px 14px; text-align: center; transition: border-color .12s, background .12s; }
.vig-opt:hover { border-color: #00469b; }
.vig-opt.vig-sel { border-color: #00469b; background: #f0f5fc; }
.vig-opt .vig-opt-t { display: block; font-weight: 700; color: #0c1838; font-size: 16px; }
.vig-opt .vig-opt-p { display: block; color: #5a6478; font-size: 13.5px; margin-top: 2px; }
.vig-opt.vig-sel .vig-opt-t { color: #00469b; }

/* calendar */
.vig-cal { border: 1px solid #e4e8ef; border-radius: 8px; padding: 12px; background: #fff; max-width: 380px; }
.vig-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.vig-cal-head strong { font-size: 15px; color: #0c1838; }
.vig-cal-head button { border: 1px solid #e4e8ef; background: #fff; border-radius: 5px; padding: 5px 12px; cursor: pointer; font-size: 15px; color: #0c1838; }
.vig-cal-head button:hover { border-color: #00469b; color: #00469b; }
.vig-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.vig-cal-grid .dow { text-align: center; font-size: 11.5px; color: #98a1b3; padding: 4px 0; }
.vig-cal-grid button { aspect-ratio: 1; border: 1px solid transparent; background: #fff; border-radius: 6px; cursor: pointer; font-size: 13.5px; color: #0c1838; }
.vig-cal-grid button:hover:not(:disabled) { border-color: #00469b; }
.vig-cal-grid button.today { border-color: #c9d2e0; color: #98a1b3; }
.vig-cal-grid button.sel { background: #00469b; color: #fff; font-weight: 700; }
.vig-cal-grid button.blank { visibility: hidden; }
.vig-cal-legend { margin: 10px 0 0; font-size: 12.5px; color: #5a6478; display: flex; gap: 16px; flex-wrap: wrap; }
.vig-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; }

/* form fields */
.vig-field { margin-bottom: 14px; }
.vig-field label { display: block; font-size: 13px; font-weight: 600; color: #3c4454; margin-bottom: 4px; }
.vig-field label small { color: #98a1b3; font-weight: 400; }
.vig-field input, .vig-field select {
  width: 100%; border: 1px solid #dbe1ea; border-radius: 8px;
  background: #f8fafc; padding: 11px 12px; font-size: 14.5px; color: #0c1838;
}
.vig-field input:focus, .vig-field select:focus { outline: 0; border-color: #00469b; background: #fff; }
.vig-field .err { color: #d42b2b; font-size: 12.5px; margin-top: 4px; display: none; }
.vig-field.bad input, .vig-field.bad select { border-color: #d42b2b; }
.vig-field.bad .err { display: block; }
.vig-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .vig-2col { grid-template-columns: 1fr; } }
.vig-check { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: #3c4454; margin: 12px 0 4px; }
.vig-check input { margin-top: 2px; }
.vig-check a { color: #00469b; }
.vig-error-box { background: #fdf0f0; border: 1px solid #f3caca; color: #d42b2b; border-radius: 6px; padding: 10px 14px; font-size: 14px; margin: 12px 0; }

/* summary table */
.vig-summary { width: 100%; border-collapse: collapse; }
.vig-summary th, .vig-summary td { text-align: left; padding: 9px 8px; border-bottom: 1px solid #eef1f5; font-size: 14.5px; }
.vig-summary th { color: #5a6478; font-weight: 600; width: 46%; }
.vig-summary tr.total th, .vig-summary tr.total td { border-bottom: 0; font-size: 18px; font-weight: 800; color: #00469b; padding-top: 12px; }
.vig-summary tr.fee th, .vig-summary tr.fee td { color: #98a1b3; font-size: 13.5px; }

/* buttons (their blue) */
.vig-btn-next {
  display: inline-block; background: #00469b; color: #fff; border: 0;
  border-radius: 6px; padding: 14px 30px; font-size: 16px; font-weight: 700;
  cursor: pointer; text-align: center; transition: background .15s;
}
.vig-btn-next:hover { background: #003a82; }
.vig-btn-next:disabled { opacity: .55; cursor: not-allowed; }
.vig-btn-next.big { width: 100%; }
.vig-btn-back {
  display: inline-block; background: #fff; color: #00469b; border: 1.5px solid #00469b;
  border-radius: 6px; padding: 12px 22px; font-size: 14.5px; font-weight: 700; cursor: pointer;
}
.vig-actions { display: flex; gap: 12px; margin-top: 18px; }
.vig-actions .big { flex: 1; }

/* step pills */
.vig-steps { display: flex; gap: 8px; margin: 0 0 18px; flex-wrap: wrap; }
.vig-steps span { font-size: 12.5px; font-weight: 700; color: #98a1b3; border: 1.5px solid #dbe1ea;
  border-radius: 999px; padding: 5px 13px; }
.vig-steps span.on { color: #fff; background: #00469b; border-color: #00469b; }

/* card logos */
.vig-cardlogos { display: flex; gap: 8px; align-items: center; margin: 6px 0 14px; color: #98a1b3; font-size: 13px; }
.vig-cardlogos svg { height: 26px; width: auto; }

/* live official prices note (lookup endpoint applied) */
.vig-live-note { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin: 14px 0 2px; font-size: 13px; color: #2f9e44; }
.vig-live-note b { font-weight: 700; }
.vig-live-note span { color: #5a6478; font-size: 12.5px; }

/* CZ official validity check (edalnice navy; result boxes follow .vig-error-box radius) */
.vig-verify { margin: -2px 0 16px; }
.vig-btn-verify {
  display: inline-block; background: #fff; color: #00469b; border: 1.5px solid #00469b;
  border-radius: 6px; padding: 10px 20px; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background .15s;
}
.vig-btn-verify:hover { background: #f0f5fc; }
.vig-btn-verify:disabled { opacity: .6; cursor: wait; }
.vig-verify-res { border-radius: 6px; padding: 11px 14px; font-size: 14px; margin-top: 10px; }
.vig-verify-res p { margin: 0 0 2px; }
.vig-verify-res small { color: #5a6478; font-size: 12px; }
.vig-verify-res.ok { background: #e8f6ea; border: 1px solid #bfe3c6; color: #20712f; }
.vig-verify-res.ok small { color: #4d7a58; }
.vig-verify-res.none { background: #f0f5fc; border: 1px solid #c8d9ef; color: #0c1838; }
.vig-verify-res.failed { background: #f8fafc; border: 1px solid #e4e8ef; color: #5a6478; }

/* ---- intent bridges: sections, price table, modals ---- */
.vig-sec { padding: 36px 0 8px; }
.vig-sec-inner { max-width: 980px; margin: 0 auto; padding: 0 18px; }
.vig-sec-title { font-size: 24px; font-weight: 700; color: #0c1838; margin: 0 0 8px; }
.vig-sec-sub { color: #5a6478; font-size: 14px; margin: 0 0 14px; max-width: 720px; }
.vig-sec-body { color: #333; font-size: 14.5px; line-height: 1.55; margin: 0 0 8px; max-width: 720px; }
#vig-sec-penalty .vig-btn-next, #vig-sec-class .vig-btn-next { margin-top: 6px; }

.vig-price-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e4e8ef; border-radius: 8px; overflow: hidden; }
.vig-price-table th, .vig-price-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid #eef1f5; font-size: 14.5px; }
.vig-price-table thead th { background: #f6f8fb; color: #5a6478; font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em; }
.vig-price-table td.p { font-weight: 700; white-space: nowrap; }
.vig-price-table td.b { text-align: right; }
.vig-price-table tr:last-child td { border-bottom: 0; }
.vig-btn-mini { padding: 7px 16px !important; font-size: 13px !important; border-radius: 5px; }
.vig-pl-cell { border: 0; background: none; color: inherit; font-weight: 700; cursor: pointer; padding: 2px 6px; border-radius: 5px; font-size: 14.5px; }
.vig-pl-cell:hover { background: #f0f5fc; outline: 1.5px solid currentColor; }

.vig-modal-ov { position: fixed; inset: 0; background: rgba(10,18,36,.55); z-index: 99998; display: flex; align-items: center; justify-content: center; padding: 16px; }
.vig-modal { background: #fff; border-radius: 10px; max-width: 520px; width: 100%; padding: 22px 22px 18px; position: relative; max-height: 88vh; overflow: auto; box-shadow: 0 18px 60px rgba(0,0,0,.3); font-size: 14.5px; color: #333; }
.vig-modal-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 16px; cursor: pointer; color: #8a99a8; padding: 6px; }
.vig-modal-x:hover { color: #333; }
.vig-modal-title { margin: 0 26px 10px 0; font-size: 19px; font-weight: 700; color: #0c1838; }
.vig-modal-lead { color: #5a6478; font-size: 13.5px; margin: 0 0 12px; }
.vig-modal-q { font-weight: 700; color: #0c1838; margin: 2px 0 12px; }
.vig-modal-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.vig-modal-cta .vig-btn-next, .vig-modal-cta .vig-btn-back { text-decoration: none; }
.vig-modal .vig-verify-res { margin-top: 14px; }
