/* ============================================================
   HJM · base.css
   Compartido por las 6 páginas secundarias:
   parejas · cruces · participantes · admin · inscripción · in memoriam

   Contiene SOLO lo que es 100% idéntico (verificado con diff) en
   todas ellas: reset, variables de color, el "lockup" del logo
   (Atace + separador + HJM), la tipografía de las etiquetas del
   nav, el aspa de cerrar y el título h1.

   Lo que varía entre páginas (padding/sticky/sombra del navbar,
   ancho del .contenedor, fuente del body, tablas, tarjetas, etc.)
   se queda en el CSS propio de cada página, que se carga DESPUÉS
   de este archivo y puede sobreescribir lo que necesite.
   ============================================================ */

/* ── RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ── VARIABLES DE COLOR ── */
:root {
    --azul:       #0E4b9c;
    --azul-dark:  #0a3a7a;
    --azul-light: #e8effc;
    --verde:      #28a745;
    --gris:       #6c757d;
    --texto:      #1a1a2e;
    --borde:      #d0ddf5;
    --fondo:      #f4f7ff;
}

/* ── NAVBAR: esqueleto común ── */
.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--azul);
    color: white;
    /* padding / position / box-shadow: cada página los define
       (algunas son sticky con sombra, otras no) */
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Lockup: icono ATACE (círculos) + texto ATACE + separador + logo hjm (tenue) */
.nav-atace-icon {
    height: 36px;
    width: auto;
    display: block;
}
.nav-atace-text {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: 0.02em;
    color: #ffffff;
    white-space: nowrap;
    margin-left: 2px;
}
.nav-lockup-sep {
    width: 1.5px;
    height: 24px;
    background: rgba(255, 255, 255, 0.55);
    margin: 0 4px 0 8px;
    flex-shrink: 0;
}
.nav-hjm-logo {
    height: 36px;
    width: auto;
    display: block;
    opacity: 0.85;
}
@media (max-width: 480px) {
    .nav-atace-icon { height: 24px; }
    .nav-atace-text { font-size: 14px; }
    .nav-lockup-sep { height: 16px; margin: 0 3px 0 6px; }
    .nav-hjm-logo { height: 24px; }
}

.nav-right {
    display: flex;
    align-items: center;
    /* gap: cada página lo define (14px o 12px) */
}
.nav-right .material-symbols-outlined {
    font-size: 20px;
    color: #ffffff; /* in memoriam lo sobreescribe a rojo en su propio css */
}

/* Etiqueta de página actual: .nav-label (parejas/cruces/participantes/admin,
   en MAYÚSCULAS) y .nav-text (inscripción/in memoriam, con el texto tal cual) */
.nav-label {
    font-family: sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid rgba(255,255,255,0.35);
    padding-bottom: 2px;
    color: white;
}
.nav-text {
    font-family: sans-serif;
    font-size: 15px;
    position: relative;
    color: white;
}
.nav-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

/* ── ASPA DE CERRAR ── */
.cerrar {
    font-size: 20px;
    cursor: pointer;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, transform 0.4s;
    -webkit-tap-highlight-color: transparent;
}
.cerrar:hover,
.cerrar:active {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(180deg);
}

/* ── TÍTULO Y SUBTÍTULO ── */
h1 {
    font-family: Arial, sans-serif;
    font-weight: 700;
    text-align: center;
    color: var(--azul);
    font-size: clamp(20px, 6vw, 34px);
    letter-spacing: 0.02em;
    padding: 18px 15px 4px;
}
.subtitulo {
    text-align: center;
    color: var(--gris);
    font-size: 17px;
    margin-bottom: 16px;
    letter-spacing: 0.03em;
    font-family: Arial, sans-serif;
}
