/* BorDoc — Potvrzení objednávky (order confirmation). Tokens from colors_and_type.css; top bar reuses .rs-* */

.order-shell{height:100vh;display:flex;flex-direction:column;overflow:hidden;background:var(--bg-app)}
.order-main{flex:1;overflow-y:auto}
.order-inner{max-width:1100px;margin:0 auto;padding:32px 40px 72px}

.plex{font-family:"IBM Plex Mono","Roboto Mono",monospace;font-variant-numeric:tabular-nums}

/* head */
.od-head{margin-bottom:22px}
.od-eyebrow{font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.07em;color:var(--fg3);display:inline-flex;align-items:center;gap:6px;margin-bottom:8px}
.od-eyebrow .lic{width:14px;height:14px}
.od-head h1{font-size:28px;font-weight:500;color:var(--fg1);letter-spacing:-0.01em;margin:0}
.od-head .sub{font-size:15px;color:var(--fg2);margin-top:6px}

/* segmented control */
.od-seg{display:inline-flex;background:var(--bg-subtle);border:1px solid var(--border);border-radius:var(--radius-md);padding:3px;gap:3px;margin-bottom:26px}
.od-seg button{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 18px;border:none;background:none;border-radius:var(--radius-sm);font-size:14px;font-weight:500;color:var(--fg2);cursor:pointer;transition:background var(--dur) var(--ease),color var(--dur) var(--ease)}
.od-seg button .tag{font-size:12px;color:var(--fg3)}
.od-seg button.active{background:var(--bg-surface);color:var(--fg1);box-shadow:var(--shadow-xs)}
.od-seg button.active .tag{color:var(--success)}
.od-seg button.active .tag.up{color:var(--attention-text)}

/* two-column layout */
.od-cols{display:grid;grid-template-columns:1.5fr 1fr;gap:24px;align-items:start}
.od-left{display:flex;flex-direction:column;gap:22px;min-width:0}

/* section heading */
.od-sec-h{font-size:16px;font-weight:500;color:var(--fg1);margin:0 0 4px}
.od-sec-sub{font-size:13.5px;color:var(--fg2);margin:0 0 14px}

/* selected plan card */
.od-plan{background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:20px 22px;box-shadow:var(--shadow-sm)}
.od-plan-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.od-plan-name{display:flex;align-items:center;gap:9px;font-size:18px;font-weight:500;color:var(--fg1)}
.od-plan-name .lic{width:18px;height:18px;color:var(--accent-text)}
.od-plan-tag{font-size:12px;font-weight:500;color:var(--accent-text);background:var(--accent-tint);border-radius:var(--radius-full);padding:3px 10px}
.od-plan-price{margin-top:16px;font-size:14px;color:var(--fg2)}
.od-plan-price .plex{color:var(--fg1);font-size:22px;font-weight:500}
.od-plan-was{color:var(--fg3)!important;text-decoration:line-through;font-size:15px!important;font-weight:400!important}
.od-plan-promo{font-size:11.5px;color:var(--attention-text);margin-top:5px}
.od-feats{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.od-feat{display:flex;align-items:flex-start;gap:9px;font-size:13.5px;line-height:1.45;color:var(--fg2)}
.od-feat .lic{width:16px;height:16px;flex:none;color:var(--success);margin-top:1px}
.od-feat .num{color:var(--fg1)}

/* credit tiles (radio) */
.od-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.od-tile{position:relative;display:flex;flex-direction:column;gap:4px;text-align:left;padding:14px 15px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-surface);cursor:pointer;transition:border-color var(--dur) var(--ease),background var(--dur) var(--ease)}
.od-tile:hover:not(.disabled){border-color:var(--border-strong)}
.od-tile.active{border-color:var(--accent);background:var(--blue-050);box-shadow:var(--ring-focus)}
.od-tile.disabled{opacity:.6;cursor:not-allowed;background:var(--bg-subtle)}
.od-tile-q{font-size:13px;color:var(--fg2);padding-right:26px}
.od-tile-p{font-size:17px;font-weight:500;color:var(--fg1)}
.od-tile-was{font-size:11.5px;color:var(--fg3);text-decoration:line-through;font-weight:400}
.od-tile-note{font-size:11.5px;color:var(--fg3)}
.od-ext-note{font-size:12.5px;color:var(--fg3);line-height:1.45;margin:14px 0 0}

/* one-off doc packs (informational list — distinct from recurring tiles) */
.od-oneoff-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.od-oneoff-item{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-subtle);padding:11px 14px}
.od-oneoff-q{font-size:13px;color:var(--fg2)}
.od-oneoff-p{font-size:14px;font-weight:500;color:var(--fg1)}

/* seat counter */
.od-seat{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--bg-surface);padding:14px 16px}
.od-seat-info{min-width:0}
.od-seat-price{font-size:14px;color:var(--fg1)}
.od-seat-price .plex{font-weight:500}
.od-seat-sub{font-size:12.5px;color:var(--fg3);margin-top:3px}
.od-seat-row{display:flex;align-items:center;gap:14px;flex:none}
.od-step{width:34px;height:34px;flex:none;display:flex;align-items:center;justify-content:center;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--bg-surface);color:var(--fg1);font-size:18px;line-height:1;cursor:pointer;transition:background var(--dur) var(--ease)}
.od-step:hover:not(:disabled){background:var(--bg-hover)}
.od-step:disabled{color:var(--fg3);opacity:.45;cursor:not-allowed}
.od-seat-val{font-size:18px;font-weight:500;color:var(--fg1);min-width:24px;text-align:center}
.od-tile-check{position:absolute;top:11px;right:11px;width:18px;height:18px;border-radius:var(--radius-full);border:1.5px solid var(--border-strong);display:flex;align-items:center;justify-content:center;color:#fff}
.od-tile.active .od-tile-check{background:var(--accent);border-color:var(--accent)}
.od-tile.active .od-tile-check .lic{width:12px;height:12px}

/* payment method */
.od-pay{display:flex;flex-direction:column;gap:10px}
.od-pay-opt{width:100%;text-align:left;font:inherit;cursor:pointer;display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--border);background:var(--bg-surface);border-radius:var(--radius-md);transition:border-color var(--dur) var(--ease),background var(--dur) var(--ease)}
.od-pay-opt:hover:not(.disabled):not(.active){background:var(--bg-hover)}
.od-pay-opt.active{border-color:var(--accent);background:var(--blue-050)}
.od-pay-opt .radio{width:18px;height:18px;border-radius:var(--radius-full);border:1.5px solid var(--border-strong);display:flex;align-items:center;justify-content:center;flex:none}
.od-pay-opt.active .radio{border-color:var(--accent)}
.od-pay-opt .radio .dot{width:9px;height:9px;border-radius:var(--radius-full);background:var(--accent)}
.od-pay-opt .lic{width:18px;height:18px;color:var(--fg2);flex:none}
.od-pay-opt .lbl{font-size:14.5px;font-weight:500;color:var(--fg1)}
.od-pay-opt.disabled{cursor:not-allowed;opacity:.6;background:var(--bg-surface)}
.od-pay-opt.disabled .lbl{color:var(--fg2)}
.od-pay-tag{margin-left:auto;font-size:11.5px;font-weight:500;color:var(--fg3);background:var(--bg-muted,var(--bg-hover));border:1px solid var(--border);border-radius:var(--radius-full);padding:2px 9px;white-space:nowrap}
.od-pay-note{font-size:12.5px;color:var(--fg3);padding-left:2px}

/* summary panel (sticky) */
.od-summary{position:sticky;top:20px;background:var(--bg-surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:22px 22px 20px;box-shadow:var(--shadow-sm)}
.od-sum-label{font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.06em;color:var(--fg3);margin-bottom:10px}
.od-sum-price{display:flex;align-items:baseline;gap:7px}
.od-sum-amount{font-size:32px;font-weight:500;color:var(--fg1);line-height:1.05;letter-spacing:-0.01em}
.od-sum-per{font-size:14px;color:var(--fg3)}
.od-sum-year{font-size:13px;color:var(--fg2);margin-top:5px}
.od-sum-lines{display:flex;flex-direction:column;gap:9px;margin:18px 0 0}
.od-sum-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:13.5px;color:var(--fg2)}
.od-sum-row .v{color:var(--fg1)}
.od-sum-divider{height:1px;background:var(--border);margin:16px 0}
.od-sum-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.od-sum-total .t{font-size:15px;font-weight:500;color:var(--fg1)}
.od-sum-total .a{font-size:20px;font-weight:500;color:var(--fg1)}
.od-sum-fine{font-size:12px;line-height:1.45;color:var(--fg3);margin:14px 0 16px;display:flex;align-items:flex-start;gap:7px}
.od-sum-saving{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:500;color:var(--success);margin-top:12px}
.od-sum-saving .lic{flex:none}

/* Stripe payment modal */
.od-paymodal{max-width:440px;padding:0;text-align:left}
.od-pm-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 13px;border-bottom:1px solid var(--border)}
.od-pm-head h2{margin:0;font-size:17px;font-weight:500;color:var(--fg1);display:flex;align-items:center;gap:9px}
.od-pm-head h2 .lic{color:var(--accent-text)}
.od-pm-x{width:32px;height:32px;border:none;background:none;border-radius:var(--radius-sm);color:var(--fg3);cursor:pointer;display:flex;align-items:center;justify-content:center}
.od-pm-x:hover{background:var(--bg-hover);color:var(--fg1)}
.od-pm-body{padding:16px 20px 20px}
.od-pm-err{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;margin-bottom:14px;background:var(--danger-tint);color:var(--danger);border-radius:var(--radius-md);font-size:12.5px;line-height:1.45}
.od-pm-err .lic{flex:none;margin-top:1px}
.od-pm-amt{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid var(--border);font-size:13.5px;color:var(--fg2)}
.od-pm-amt-v{font-size:18px;font-weight:500;color:var(--fg1)}
.od-pm-l{display:block;font-size:12px;color:var(--fg3);margin-bottom:7px}
.od-stripe{display:flex;align-items:center;gap:10px;height:46px;padding:0 13px;border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--bg-surface);font-family:var(--font-mono);font-size:13.5px;color:var(--fg3)}
.od-stripe-ph{flex:1}
.od-stripe-mm{flex:none}
.od-stripe-cvc{flex:none;padding-left:10px;border-left:1px solid var(--border)}
.od-pm-stripe-note{display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--fg3);margin-top:8px}
.od-pm-pay{width:100%;justify-content:center;margin-top:16px}
.od-pm-state{padding:30px 22px;text-align:center}
.od-pm-state h3{margin:14px 0 6px;font-size:17px;font-weight:500;color:var(--fg1)}
.od-pm-state p{font-size:13.5px;color:var(--fg2);line-height:1.5;margin:0}
.od-pm-slow{margin-top:12px !important;padding:10px 12px;background:var(--attention-tint);color:var(--attention-text);border-radius:var(--radius-md);font-size:12.5px}
.od-spin{display:inline-block;width:32px;height:32px;border:3px solid var(--border-strong);border-top-color:var(--accent);border-radius:var(--radius-full);animation:od-rot .7s linear infinite}
@keyframes od-rot{to{transform:rotate(360deg)}}
.od-pm-okic{color:var(--success);display:inline-flex}
.od-pm-warnic{color:var(--attention-text);display:inline-flex}
/* B.3 method choice */
.od-method{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:14px 15px;margin-top:10px;border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--bg-surface);cursor:pointer;font-family:var(--font-sans);color:var(--fg1)}
.od-method:hover{border-color:var(--accent);background:var(--accent-tint)}
.od-method > .lic:first-child{flex:none;color:var(--accent-text)}
.od-method > .lic:last-child{flex:none;margin-left:auto;color:var(--fg3)}
.od-method-col{display:flex;flex-direction:column;gap:2px;min-width:0}
.od-method-t{font-size:14.5px;font-weight:500}
.od-method-d{font-size:12px;color:var(--fg3);line-height:1.4}
/* B.3 transfer / QR */
.od-tr-issued{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--success);background:var(--success-tint);border-radius:var(--radius-md);padding:9px 12px;margin-bottom:14px}
.od-tr-grid{display:flex;flex-direction:column;gap:1px;border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;margin-bottom:14px}
.od-tr-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;font-size:13.5px;background:var(--bg-surface);border-bottom:1px solid var(--border)}
.od-tr-row:last-child{border-bottom:none}
.od-tr-row span:first-child{color:var(--fg3)}
.od-tr-row span:last-child{color:var(--fg1);font-weight:500}
.od-tr-qr{display:flex;align-items:center;gap:16px;padding:14px;border:1px solid var(--border);border-radius:var(--radius-md)}
.od-qr{flex:none;width:120px;height:120px;display:grid;grid-template-columns:repeat(12,1fr);grid-template-rows:repeat(12,1fr);padding:8px;background:#fff;border-radius:var(--radius-sm)}
.od-qr-c{width:100%;height:100%}
.od-tr-qrtext{display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:var(--fg3);line-height:1.45}
.od-tr-qrtext b{color:var(--fg1);font-size:14px;font-weight:500}
.od-pm-newstate{margin:12px 0 18px;font-size:13.5px;color:var(--fg2)}
.od-pm-newstate b{color:var(--fg1);font-weight:500}
.od-pm-state .btn{justify-content:center}
.od-sum-fine .lic{width:14px;height:14px;flex:none;margin-top:1px}
.od-sum .btn{width:100%;justify-content:center}
.od-back{display:block;text-align:center;font-size:13.5px;color:var(--accent-text);text-decoration:none;margin-top:14px}
.od-back:hover{text-decoration:underline}

@media (max-width:920px){
  .od-cols{grid-template-columns:1fr}
  .od-tiles{grid-template-columns:1fr}
  .od-summary{position:static}
}
