/* ORD-20261107-029 G4. El historial reutiliza rastreo-clientes-mapa.css. */
.rfc-root { position: fixed; z-index: 1100; inset: 16px 16px 16px auto; width: min(580px, calc(100vw - 32px)); box-sizing: border-box; overflow-y: auto; padding: 18px; background: #fff; color: var(--texto, #1e293b); border: 1px solid #cbd5e1; border-radius: 12px; box-shadow: 0 12px 48px #0f172a40; font: inherit; overflow-wrap: anywhere; }
.rfc-cabecera { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.rfc-cabecera h2 { margin: 0 0 16px; font-size: 20px; }
.rfc-root button { min-height: 44px; padding: 8px 12px; cursor: pointer; font: inherit; }
.rfc-root :focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
.rfc-resumen dl { display: grid; grid-template-columns: 1fr 2fr; gap: 8px 12px; font-size: 14px; }
.rfc-resumen dt { color: #475569; }
.rfc-resumen dd { margin: 0; font-weight: 600; }
.rfc-filtros { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.rfc-filtros label { display: flex; flex: 1; flex-direction: column; gap: 5px; min-width: 120px; font-size: 13px; }
.rfc-filtros input { min-height: 44px; max-width: 100%; box-sizing: border-box; padding: 8px; border: 1px solid #94a3b8; border-radius: 7px; font: inherit; }
.rfc-estado, .rfc-recorrido-estado { line-height: 1.5; font-size: 13px; }
.rfc-recorrido-estado:not(:empty) { margin: 14px 0; padding: 10px; border-radius: 8px; background: #eff6ff; color: #1e3a8a; }
.rfc-mapa { height: 360px; border: 1px solid #cbd5e1; border-radius: 10px; overflow: hidden; }
.rfc-mapa[hidden] { display: none; }
@media (max-width: 600px) { .rfc-root { inset: 8px; width: auto; padding: 12px; } .rfc-mapa { height: 300px; } }
