/* ══════════════════════════════════════════
   SEGURIDAD.CSS — Estilos de la vista Seguridad
   ══════════════════════════════════════════ */

/* ── Brújula de viento ── */
.compass     { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line2); position: relative; flex-shrink: 0; }
.c-arrow     { position: absolute; top: 50%; left: 50%; width: 2px; height: 24px; background: var(--or); transform-origin: bottom center; transform: translate(-50%,-100%) rotate(225deg); border-radius: 1px 1px 0 0; }
.c-n, .c-s, .c-e, .c-o { position: absolute; font-size: 8px; color: var(--ye); }
.c-n  { top: 2px; left: 50%; transform: translateX(-50%); }
.c-s  { bottom: 2px; left: 50%; transform: translateX(-50%); }
.c-e  { right: 3px; top: 50%; transform: translateY(-50%); }
.c-o  { left: 3px; top: 50%; transform: translateY(-50%); }

/* ── Botón de pánico ── */
.panic           { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--re); border-top: 1px solid var(--re); background: #0d0000; cursor: pointer; }
.panic:active    { background: #1a0000; }
.panic-ico       { font-size: 26px; }
.panic-text h3   { font-size: 13px; font-weight: 800; color: var(--re); letter-spacing: .5px; }
.panic-text p    { font-size: 11px; color: var(--t1); margin-top: 1px; }

/* ── Check-in familiar ── */
.checkin-pre   { background: var(--s2); border-left: 2px solid var(--cy); margin: 0; padding: 10px 12px; font-size: 11px; font-family: 'SF Mono', monospace; color: var(--t1); line-height: 1.7; }
.checkin-pre b { color: var(--cy); font-weight: 500; }

/* ── Emergencias por provincia ── */
.em-section-header { font-size: 10px; font-weight: 800; color: var(--t2); text-transform: uppercase; letter-spacing: 2px; padding: 14px 14px 8px; }
.em-row            { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; background: var(--s1); transition: background 0.15s; cursor: pointer; text-decoration: none; color: inherit; }
.em-row:active     { background: var(--s2); }
.em-row.em-police  { border-left-color: var(--re); }
.em-row.em-normal  { border-left-color: var(--cy); }
.em-row-body       { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.em-row-name       { font-size: 13px; font-weight: 700; color: var(--t0); }
.em-row.em-police .em-row-name { color: var(--re); }
.em-row-sub        { font-size: 11px; color: var(--t2); }
.em-badge          { display: flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 4px; font-size: 13px; font-weight: 900; letter-spacing: 0.5px; flex-shrink: 0; }
.em-badge.em-badge-re { background: var(--re); color: #fff; }
.em-badge.em-badge-cy { background: rgba(0,229,255,0.12); color: var(--cy); border: 1px solid rgba(0,229,255,0.3); }
