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

/* cookie bar wrapper MUST close */
.vig-cookie[hidden] { display: none !important; }
/* their eu-cookie popup, positioned (JS-injected on the official site) */
.vig-cookie #sliding-popup {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99990;
  background: #3f4a5a; color: #fff; padding: 18px 22px;
  box-shadow: 0 -2px 14px rgba(0,0,0,.25);
}
.vig-cookie .eu-cookie-compliance-banner { max-width: 1140px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.vig-cookie #popup-text { flex: 1 1 55%; }
.vig-cookie #popup-text h4 { color: #fff; margin: 0 0 6px; font-size: 18px; }
.vig-cookie #popup-text p { color: #dbe1ea; margin: 0; font-size: 13.5px; line-height: 1.5; }
.vig-cookie #popup-text a .text-orange, .vig-cookie #popup-text a { color: #f68b1f; }
.vig-cookie .eu-cookie-compliance-buttons { display: flex; flex-direction: column; gap: 8px; }
.vig-cookie .agree-button { background: #f68b1f; color: #fff; border: 0; border-radius: 4px;
  padding: 11px 26px; font-weight: 700; cursor: pointer; text-transform: uppercase; font-size: 13.5px; }
.vig-cookie .decline-button { background: transparent; color: #f68b1f; border: 0;
  cursor: pointer; text-transform: uppercase; font-size: 12.5px; font-weight: 700; }
@media (max-width: 768px) {
  .vig-cookie .eu-cookie-compliance-buttons { width: 100%; }
  .vig-cookie .agree-button { width: 100%; }
}

/* wizard host */
.vig-wizard-section { padding: 40px 0 56px; }
.vig-h { font-size: 24px; font-weight: 700; color: #333; margin: 0 0 14px; }
.vig-sub { color: #777; font-size: 14.5px; margin: -8px 0 16px; }
.vig-panel { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 26px 24px;
  box-shadow: 0 6px 24px rgba(0,0,0,.05); }
@media (max-width: 768px) { .vig-panel { padding: 18px 14px; } }

/* option tiles */
.vig-opts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.vig-opt { flex: 1 1 140px; cursor: pointer; border: 1.5px solid #e3e3e3; border-radius: 8px;
  background: #fff; padding: 13px 14px; text-align: center; transition: border-color .12s, background .12s; }
.vig-opt:hover { border-color: #f68b1f; }
.vig-opt.vig-sel { border-color: #f68b1f; background: #fff3e9; }
.vig-opt .vig-opt-t { display: block; font-weight: 700; color: #333; font-size: 16px; }
.vig-opt .vig-opt-s { display: block; color: #999; font-size: 12.5px; }
.vig-opt .vig-opt-p { display: block; color: #f68b1f; font-size: 15px; font-weight: 700; margin-top: 3px; }
.vig-fee-note { margin-top: 10px; font-size: 13px; color: #777; }
.vig-fee-note b { color: #333; }

/* calendar */
.vig-cal { border: 1px solid #eee; 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: #333; }
.vig-cal-head button { border: 1px solid #eee; background: #fff; border-radius: 5px; padding: 5px 12px; cursor: pointer; font-size: 15px; }
.vig-cal-head button:hover { border-color: #f68b1f; color: #f68b1f; }
.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: #999; 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: #333; }
.vig-cal-grid button:hover:not(:disabled) { border-color: #f68b1f; }
.vig-cal-grid button.today { border-color: #ccc; color: #999; }
.vig-cal-grid button.sel { background: #f68b1f; color: #fff; font-weight: 700; }
.vig-cal-grid button.blank { visibility: hidden; }
.vig-cal-legend { margin: 10px 0 0; font-size: 12.5px; color: #777; 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: #555; margin-bottom: 4px; }
.vig-field label small { color: #999; font-weight: 400; }
.vig-field input, .vig-field select {
  width: 100%; border: 1px solid #e3e3e3; border-radius: 6px;
  background: #f9f9f9; padding: 11px 12px; font-size: 14.5px; color: #333;
}
.vig-field input:focus, .vig-field select:focus { outline: 0; border-color: #f68b1f; background: #fff; }
.vig-field .err { color: #d9534f; font-size: 12.5px; margin-top: 4px; display: none; }
.vig-field.bad input, .vig-field.bad select { border-color: #d9534f; }
.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: #555; margin: 12px 0 4px; }
.vig-check input { margin-top: 2px; }
.vig-check a { color: #0779bf; }
.vig-error-box { background: #fdf0f0; border: 1px solid #f3caca; color: #d9534f; 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 #f0f0f0; font-size: 14.5px; }
.vig-summary th { color: #888; 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: #f68b1f; padding-top: 12px; }
.vig-summary tr.fee th, .vig-summary tr.fee td { color: #999; font-size: 13.5px; }

/* buttons (their orange / blue) */
.vig-btn-next {
  display: inline-block; background: #f68b1f; color: #fff; border: 0;
  border-radius: 6px; padding: 14px 30px; font-size: 16px; font-weight: 700;
  cursor: pointer; text-align: center; transition: background .15s; text-transform: none;
}
.vig-btn-next:hover { background: #dd7a15; }
.vig-btn-next:disabled { opacity: .55; cursor: not-allowed; }
.vig-btn-next.big { width: 100%; }
.vig-btn-back {
  display: inline-block; background: #fff; color: #0779bf; border: 1.5px solid #0779bf;
  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: #999; border: 1.5px solid #e3e3e3;
  border-radius: 999px; padding: 5px 13px; }
.vig-steps span.on { color: #fff; background: #f68b1f; border-color: #f68b1f; }

/* card logos */
.vig-cardlogos { display: flex; gap: 8px; align-items: center; margin: 6px 0 14px; color: #999; 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: #777; font-size: 12.5px; }

/* ---- 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: #333; margin: 0 0 8px; }
.vig-sec-sub { color: #777; 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 #eee; border-radius: 8px; overflow: hidden; }
.vig-price-table th, .vig-price-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid #f0f0f0; font-size: 14.5px; }
.vig-price-table thead th { background: #fafafa; color: #777; 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: #f68b1f; font-weight: 700; cursor: pointer; padding: 2px 6px; border-radius: 5px; font-size: 14.5px; }
.vig-pl-cell:hover { background: #fff3e9; outline: 1.5px solid currentColor; }

.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: #777; font-size: 12px; }
.vig-verify-res.ok { background: #e8f6ea; border: 1px solid #bfe3c6; color: #20712f; }
.vig-verify-res.none { background: #fff3e9; border: 1px solid #f5d9bd; color: #8a4b0f; }
.vig-verify-res.failed { background: #f8fafc; border: 1px solid #e4e8ef; color: #777; }

.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: #999; padding: 6px; }
.vig-modal-x:hover { color: #333; }
.vig-modal-title { margin: 0 26px 10px 0; font-size: 19px; font-weight: 700; color: #333; }
.vig-modal-lead { color: #777; font-size: 13.5px; margin: 0 0 12px; }
.vig-modal-q { font-weight: 700; color: #333; 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; }
