/* Passport, visa and travel insurance pages (docs.js). Builds on booking.css (checkout, summary, ticket). */
.dk-top .bk-route-row { align-items: center; }
.dk-top-ico { display: none; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, .12); color: #fff; flex: none; }
.dk-top-ico .icon { width: 34px; height: 34px; }
@media (min-width: 640px) { .dk-top-ico { display: grid; } }

.dk-agent { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); background: #EEF0FD; color: #2E3192; font-size: 14px; }
.dk-agent .icon { flex: none; margin-top: 2px; }

/* Option cards (radio) */
.dk-opts { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .dk-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dk-opts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dk-opts + .check, .dk-opts + .co-field, .dk-opts + .co-grid, .co-field + .co-grid { margin-top: 14px; }
.co-grid + .co-sub { margin-top: 8px; }
/* On the first step the choices come first on phones, the summary after them */
@media (max-width: 959px) { .checkout-grid.is-choose .checkout-side { order: 0; } }
.dk-opt { position: relative; display: block; min-width: 0; }
.dk-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.dk-opt-box { display: grid; gap: 2px; height: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; overflow-wrap: anywhere; }
.dk-opt-name { font-weight: 700; }
.dk-opt-sub { font-size: 13px; color: var(--muted); }
.dk-opt input:checked + .dk-opt-box { border-color: var(--primary); background: var(--primary-50); box-shadow: inset 0 0 0 1px var(--primary); }
.dk-opt input:checked + .dk-opt-box .dk-opt-name { color: var(--primary-600); }
.dk-opt input:focus-visible + .dk-opt-box { outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent); outline-offset: 2px; }
.dk-opt:hover .dk-opt-box { border-color: var(--primary); }

.dk-count { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; min-width: 0; }
.dk-count > span { display: grid; min-width: 0; }
.dk-count small { font-size: 13px; color: var(--muted); }
.dk-count + .dk-count { border-top: 1px solid var(--line); }
.dk-count .stepper button { width: 40px; height: 40px; }
.dk-count .stepper output { min-width: 26px; text-align: center; font-size: 16px; font-weight: 700; }
.co-grid .dk-count { align-self: end; }
.co-card > .dk-count { margin-top: 8px; }

.dk-slots { border: 0; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.dk-slots legend { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.dk-slots .chip-radio input:disabled + span { opacity: .5; text-decoration: line-through; cursor: not-allowed; }
.dk-slots .field-err, .dk-slots .co-sub { flex-basis: 100%; }
.dk-label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.dk-static { min-height: 48px; display: flex; align-items: center; font-weight: 700; }

.dk-person { border: 0; margin: 0; padding: 14px 0 0; min-width: 0; }
.dk-person + .dk-person { margin-top: 14px; border-top: 1px solid var(--line); }
.dk-person legend { float: left; width: 100%; padding: 0; margin-bottom: 10px; font-weight: 800; font-size: 15px; }
.dk-person .co-grid { clear: both; }
@media (max-width: 559px) { .dk-person .co-grid { grid-template-columns: minmax(0, 1fr); } }
.dk-upper { text-transform: uppercase; }
.dk-minor { display: flex; gap: 6px; align-items: flex-start; margin-top: 10px; }
.dk-minor .icon { flex: none; margin-top: 2px; color: var(--warning); }

/* Documents */
.dk-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dk-docs li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); }
.dk-docs li.is-done { border-style: solid; border-color: var(--success); background: var(--success-50); }
.dk-docs li.is-invalid { border-color: var(--danger); }
.dk-doc-ico { color: var(--muted); display: grid; }
.dk-docs li.is-done .dk-doc-ico { color: var(--success); }
.dk-doc-main { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.dk-doc-main small { font-size: 13px; color: var(--muted); }
.dk-upload { position: relative; cursor: pointer; }
.dk-upload:focus-within { outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent); outline-offset: 2px; }
@media (max-width: 479px) { .dk-docs li { grid-template-columns: auto minmax(0, 1fr); } .dk-upload { grid-column: 1 / -1; justify-self: start; } }

/* Insurance plans */
.dk-table-wrap { overflow-x: auto; margin: 0 -4px 10px; }
.dk-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dk-table th, .dk-table td { padding: 8px 6px; text-align: center; border-bottom: 1px solid var(--line); }
.dk-table thead th { font-weight: 800; vertical-align: bottom; }
.dk-table thead small { display: block; font-weight: 600; font-size: 12px; color: var(--muted); }
.dk-table tbody th { text-align: left; font-weight: 600; color: var(--ink-2); }
.dk-table td .icon { color: var(--success); }
.dk-table td { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 479px) { .dk-table { font-size: 13px; } .dk-table th, .dk-table td { padding: 8px 3px; } .dk-table td { white-space: normal; } }

.dk-gov { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.dk-next h3 { font-size: 15px; font-weight: 800; }
