/* ============================================================================
   confirmar.css · 12-nov-2026 (Mauricio / Mr L)
   Pantallas de confirmación de carga (portal/confirmar.php y su vista previa) con el mismo lenguaje que
   «Mis cargas» y «Cotizar»: fondo gris, tarjeta blanca de borde fino, Inter, naranja Tododren como acento,
   botones en degradado, iconos en recuadro tintado y la piña en movimiento como marca.
   Va DESPUÉS de portal.css y del <style> propio de confirmar.php, y manda sobre ellos.
   ============================================================================ */
@font-face { font-family: "InterTk"; font-style: normal; font-weight: 400; font-display: swap; src: url("https://cdn.jsdelivr.net/npm/@fontsource/inter@5.0.18/files/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "InterTk"; font-style: normal; font-weight: 500; font-display: swap; src: url("https://cdn.jsdelivr.net/npm/@fontsource/inter@5.0.18/files/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "InterTk"; font-style: normal; font-weight: 600; font-display: swap; src: url("https://cdn.jsdelivr.net/npm/@fontsource/inter@5.0.18/files/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "InterTk"; font-style: normal; font-weight: 700; font-display: swap; src: url("https://cdn.jsdelivr.net/npm/@fontsource/inter@5.0.18/files/inter-latin-700-normal.woff2") format("woff2"); }

body.screen-center, body.vp-body { background: #ececee !important; font-family: "InterTk", "Segoe UI", system-ui, sans-serif; color: #1a1a1a; font-variant-numeric: tabular-nums; }
body.screen-center { padding: 20px 14px; }

/* tarjeta */
.state-card { max-width: 480px; width: 100%; box-sizing: border-box; padding: 0 0 22px; text-align: left; background: #fff; border: 1px solid #e4e4e6; border-radius: 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px -10px rgba(0,0,0,.15); overflow: hidden; }
.cfx-brand { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-bottom: 2px solid #f15a29; background: #fff; }
.cfx-brand svg { display: block; width: 40px; height: 19px; flex: 0 0 auto; }
.cfx-brand span { font-family: "Klavika", "InterTk", sans-serif; font-weight: 700; font-style: italic; font-size: 17px; color: #E9541F; letter-spacing: -.2px; }
.cfx-brand small { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #a1a1aa; }
.state-card__icon { width: 46px; height: 46px; margin: 22px 22px 10px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; }
.state-card--ok    .state-card__icon { background: #dcfce7; color: #15803d; }
.state-card--warn  .state-card__icon { background: #fef3c7; color: #b45309; }
.state-card--error .state-card__icon { background: #fee2e2; color: #b91c1c; }
.state-card__title { margin: 0 22px 6px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; color: #1a1a1a; }
.state-card__msg { margin: 0 22px; font-size: 14px; line-height: 1.5; color: #3a3a3d; }
.state-card__msg p { margin: 0 0 8px; }
.state-card__msg strong { font-weight: 600; color: #1a1a1a; }

/* acciones (pantallas de estado) */
.state-actions { align-items: stretch !important; gap: 10px !important; margin-top: 16px !important; }
.state-actions .btn, .state-card .btn-primary { width: 100%; max-width: none !important; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 10px;
    background: linear-gradient(135deg, #fb923c, #f15a29 50%, #e11d48) !important; color: #fff !important; font-weight: 600; font-size: 15px; box-shadow: 0 4px 14px -6px rgba(225,29,72,.5); text-decoration: none; }
.state-actions .btn:hover, .state-card .btn-primary:hover { background: linear-gradient(135deg, #f97316, #ea580c 50%, #be123c) !important; }
.state-actions .back-link { align-self: center; color: #6e6e73 !important; font-size: 13.5px; }
.confirm-cita { display: flex; align-items: center; gap: 8px; margin: 6px 0 !important; padding: 8px 10px; border-radius: 8px; background: #f4f4f5; font-size: 13.5px !important; }
.confirm-cita i { color: #f15a29; }

/* pantalla principal */
.cf { padding: 0; }
.cf-route { position: relative; gap: 2px; margin: 0 0 14px !important; padding: 12px 14px; border: 1px solid #ececed; border-radius: 10px; background: #fff; }
.cf-route__pt { font-size: 15px !important; font-weight: 600 !important; color: #1a1a1a !important; }
.cf-route__pt i { font-size: 0 !important; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 2px #16a34a; }
.cf-route__pt--dest i { background: #f15a29; box-shadow: none; }
.cf-route__arrow { padding-left: 4px !important; color: #d4d4d8 !important; }
.cf-stats { gap: 8px !important; margin-bottom: 16px !important; }
.cf-stat { border: 1px solid #ececed !important; border-radius: 10px !important; background: #fff !important; padding: 10px 6px !important; gap: 2px !important; }
.cf-stat__ic { width: 28px !important; height: 28px !important; border-radius: 8px !important; box-shadow: none !important; background: #f4f4f5 !important; color: #6e6e73 !important; font-size: 14px !important; }
.cf-stat__lbl { font-size: 10px !important; font-weight: 600 !important; letter-spacing: .05em !important; color: #a1a1aa !important; }
.cf-stat__val { font-size: 13px !important; font-weight: 600 !important; color: #1a1a1a !important; }
.cf-stat--date .cf-stat__ic { background: #dbeafe !important; color: #1d4ed8 !important; }
.cf-stat--price .cf-stat__ic { background: #dcfce7 !important; color: #15803d !important; }
.cf-stat--price .cf-stat__val { color: #15803d !important; }
.cf-slots__lbl { font-size: 11px !important; font-weight: 600 !important; letter-spacing: .06em !important; color: #6e6e73 !important; }
.cf-slots__lbl i { color: #f15a29 !important; }
.slot { border-radius: 8px !important; border-width: 1px !important; padding: 8px 3px !important; }
.slot:hover { box-shadow: 0 2px 6px rgba(0,0,0,.06) !important; }
.slot__time { font-weight: 600 !important; font-size: 12.5px !important; }
.slot__cap { font-size: 9.5px !important; font-weight: 600 !important; }
.slot--free { border-color: #bbf7d0 !important; background: #fff !important; }
.slot--mid { border-color: #fde68a !important; background: #fffbeb !important; }
.slot--full { background: #f4f4f5 !important; }
.slot--sel { border: 1.5px solid #f15a29 !important; background: #fff4ee !important; box-shadow: 0 0 0 3px rgba(241,90,41,.16) !important; }
.slot--sel .slot__time { color: #c2410c !important; font-weight: 700 !important; }
.slot--sel .slot__cap { color: #ea580c !important; }
.slot--sel::after { color: #f15a29 !important; }
.cf-unit__f { font-size: 11px !important; font-weight: 600 !important; letter-spacing: .04em; text-transform: uppercase; color: #a1a1aa !important; }
.cf-unit__f input { height: 40px !important; border: 1px solid #e4e4e7 !important; border-radius: 8px !important; font-size: 15px !important; font-weight: 600 !important; }
.cf-unit__f input:focus-visible { border-color: #f15a29 !important; box-shadow: 0 0 0 3px rgba(241,90,41,.16) !important; }
.cf-unit__chip { border-color: #e4e4e7 !important; background: #fff !important; font-weight: 600 !important; }
.cf-unit__chip:hover { border-color: #f15a29 !important; background: #fff4ee !important; }
.cf-unit__hint { font-size: 12px !important; color: #8a8a90 !important; }
.cf-btn { border-radius: 10px !important; font-weight: 600 !important; }
.cf-btn--go { height: 48px; padding: 0 !important; background: linear-gradient(135deg, #fb923c, #f15a29 50%, #e11d48) !important; box-shadow: 0 6px 18px -8px rgba(225,29,72,.55) !important; }
.cf-btn--go:hover:not(:disabled) { background: linear-gradient(135deg, #f97316, #ea580c 50%, #be123c) !important; }
.cf-reject__link { color: #8a8a90 !important; }
.cf-reject__form textarea { border-color: #e4e4e7 !important; border-radius: 8px !important; }
.cf-btn--reject { border-color: #fecaca !important; }
@media (max-width: 480px) { .state-card__icon { margin: 18px 16px 8px; } .state-card__title, .state-card__msg { margin-left: 16px; margin-right: 16px; } .cfx-brand { padding: 0 16px; } }

/* horarios: sin desplazamiento lateral; las franjas se ajustan al ancho */
.slot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; overflow-x: hidden !important; }
.slot { min-width: 0; }
.slot__time { font-size: 12px !important; letter-spacing: -.2px; }
@media (max-width: 440px) { .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; max-height: none !important; } .slot__time { font-size: 13px !important; } }

/* renglones de cita / SCAC: texto corrido (no flex), con el icono al inicio */
.confirm-cita { display: block !important; line-height: 1.45; }
.confirm-cita i { margin-right: 6px; }
.confirm-cita strong { white-space: nowrap; }
