:root { --agua: #0b6fb8; --agua-oscuro: #08497a; --agua-claro: #e7f3fc; --fondo: #f4f7fa; }
body { background: var(--fondo); font-size: .94rem; }
.barra { background: linear-gradient(90deg, var(--agua-oscuro), var(--agua)); }
.barra .navbar-brand { font-weight: 700; letter-spacing: .2px; }
.barra .nav-link { color: rgba(255,255,255,.85) !important; }
.barra .nav-link.active, .barra .nav-link:hover { color: #fff !important; }
.btn-agua { background: var(--agua); border-color: var(--agua); color: #fff; }
.btn-agua:hover { background: var(--agua-oscuro); color: #fff; }
.titulo { font-size: 1.35rem; font-weight: 700; color: #1d2b36; }
.card { border: 0; box-shadow: 0 1px 3px rgba(16,42,67,.08); border-radius: .7rem; }
.card-header { background: #fff; font-weight: 600; border-bottom: 1px solid #edf1f5; }
.kpi .valor { font-size: 1.6rem; font-weight: 700; color: var(--agua-oscuro); }
.kpi .etiqueta { font-size: .75rem; text-transform: uppercase; color: #6b7c8a; letter-spacing: .4px; }
.columna { background: #e9eef3; border-radius: .7rem; padding: .6rem; min-height: 60vh; }
.columna h2 { font-size: .95rem; font-weight: 700; margin: .2rem .3rem .6rem; }
.tarjeta { background: #fff; border-radius: .6rem; padding: .7rem .8rem; margin-bottom: .6rem; box-shadow: 0 1px 2px rgba(0,0,0,.06); border-left: 4px solid #cfd8e0; }
.tarjeta.NUEVO { border-left-color: #f0ad4e; } .tarjeta.EN_CAMINO { border-left-color: var(--agua); } .tarjeta.ENTREGADO { border-left-color: #2e9e5b; opacity: .85; }
.tarjeta.tarde { box-shadow: 0 0 0 2px #f8d7a8; }
.tarjeta .num { font-weight: 700; } .tarjeta .dir { font-weight: 600; color: #1d2b36; }
.chat { background: #e5ddd5; border-radius: .7rem; padding: 1rem; height: 62vh; overflow-y: auto; }
.burbuja { max-width: 78%; padding: .5rem .7rem; border-radius: .6rem; margin-bottom: .45rem; white-space: pre-wrap; box-shadow: 0 1px .5px rgba(0,0,0,.13); font-size: .92rem; }
.burbuja.IN { background: #fff; margin-right: auto; } .burbuja.OUT { background: #dcf8c6; margin-left: auto; }
.burbuja .hora { font-size: .7rem; color: #6b7c8a; text-align: right; margin-top: .15rem; }
.burbuja .opcion { display: block; width: 100%; margin-top: .35rem; background: #fff; border: 1px solid #cde3c0; color: var(--agua); border-radius: .4rem; padding: .3rem; font-weight: 600; text-align: center; }
.burbuja .opcion small { display: block; color: #6b7c8a; font-weight: 400; }
.burbuja .opcion:disabled { color: #9aa7b2; }
.login-fondo { min-height: 100vh; background: linear-gradient(135deg, var(--agua-oscuro), var(--agua) 60%, #4fb3e8); }
