/* RASTREO-IPHONE-WEB-v1 (F3c): Mis entregas desde el navegador. Pensado para celular (botones de 48 px). */
.rew-raiz { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 14px; max-width: 720px; margin: 0 auto; box-sizing: border-box; color: #1e293b; font: inherit; }
.rew-cabecera { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rew-cabecera h2 { margin: 0; font-size: 20px; color: #0f2560; }
.rew-buscador { display: flex; gap: 8px; }
.rew-input { flex: 1; min-width: 0; font: inherit; padding: 11px; min-height: 48px; border: 1px solid #94a3b8; border-radius: 8px; background: #fff; box-sizing: border-box; width: 100%; }
.rew-btn { font: inherit; font-weight: 600; min-height: 48px; padding: 0 16px; border: 0; border-radius: 8px; background: #2b5cc3; color: #fff; cursor: pointer; }
.rew-btn-sec { background: #e2e8f0; color: #1e293b; }
.rew-btn-aviso { background: #b45309; }
.rew-btn:disabled, .rew-ocupado .rew-btn { opacity: .55; cursor: progress; }
.rew-raiz :focus-visible, .rew-modal :focus-visible { outline: 3px solid #2b5cc3; outline-offset: 2px; }
.rew-aviso { margin: 0; min-height: 20px; font-size: 14px; color: #334155; }
.rew-aviso:empty { display: none; }
.rew-error { color: #b91c1c; margin: 8px 0 0; font-size: 14px; }
.rew-error:empty { display: none; }
.rew-lista { display: flex; flex-direction: column; gap: 10px; }
.rew-tarjeta { background: #fff; border: 1px solid #e2e8f0; border-left: 5px solid #64748b; border-radius: 10px; padding: 12px; }
.rew-tarjeta.rew-pendiente { border-left-color: #2b5cc3; }
.rew-tarjeta.rew-entregada { border-left-color: #15803d; }
.rew-tarjeta.rew-novedad { border-left-color: #b45309; }
.rew-fila { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.rew-cliente { font-size: 16px; overflow-wrap: anywhere; }
.rew-dato { margin: 4px 0 0; font-size: 13px; color: #475569; overflow-wrap: anywhere; }
.rew-chip { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.rew-chip-pendiente { background: #dbeafe; color: #1e40af; }
.rew-chip-entregada { background: #dcfce7; color: #166534; }
.rew-chip-novedad { background: #fef3c7; color: #92400e; }
.rew-acciones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rew-acciones .rew-btn { flex: 1; min-width: 140px; }
.rew-fondo { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: center; background: rgba(15, 23, 42, .55); }
.rew-modal { width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; background: #fff; color: #1e293b; border-radius: 14px 14px 0 0; padding: 16px; box-sizing: border-box; display: flex; flex-direction: column; gap: 10px; }
.rew-modal h3 { margin: 0; font-size: 18px; color: #0f2560; }
.rew-nota { margin: 0; font-size: 13px; color: #475569; }
.rew-item { display: flex; flex-direction: column; gap: 5px; font-size: 14px; }
.rew-cant { max-width: 140px; }
@media (min-width: 700px) { .rew-fondo { align-items: center; } .rew-modal { border-radius: 14px; } }
