/* Misma paleta que bocafiliales (tomada del escudo de Boca Filiales). */
:root {
    --navy: #0b2159;
    --navy-dark: #071638;
    --navy-soft: #eef1f8;
    --gold: #d4a017;
    --gold-dark: #b5860a;
    --text: #222;
    --muted: #666;
    --border: #dde1e8;
    --ok: #1b7f3b;
    --ok-soft: #e7f5ec;
    --error: #b42318;
    --error-soft: #fdecea;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Calibri, 'Segoe UI', Tahoma, sans-serif;
    font-size: 17px;
    color: var(--text);
    background: #f5f6f9;
}

.barra {
    background: var(--navy);
    color: #fff;
    border-bottom: 3px solid var(--gold);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.barra img { height: 44px; }
.barra .titulo { font-weight: 700; font-size: 1.1rem; letter-spacing: .3px; }
.barra nav { margin-left: auto; display: flex; gap: 14px; flex-wrap: wrap; }
.barra nav a { color: #fff; text-decoration: none; font-size: .95rem; }
.barra nav a:hover { color: var(--gold); }

main { max-width: 1100px; margin: 0 auto; padding: 16px; }
main.angosto { max-width: 460px; }

h1 { color: var(--navy); font-size: 1.4rem; margin: 8px 0 14px; }
h2 { color: var(--navy); font-size: 1.15rem; margin: 22px 0 10px; }

.tarjeta {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 14px;
}

label { display: block; font-weight: 600; margin: 10px 0 4px; }
input[type=text], input[type=number], input[type=password], input[type=date], input[type=datetime-local], select, textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 1rem;
    border: 1px solid #c4cad6;
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
}
textarea { min-height: 120px; }
input.chico, select.chico { width: auto; min-width: 90px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 8px 0; }
.check input { width: 18px; height: 18px; }

.boton, button {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px 18px;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    margin-top: 12px;
}
.boton:hover, button:hover { background: var(--navy-dark); }
.boton.secundario, button.secundario { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.boton.dorado, button.dorado { background: var(--gold); color: var(--navy-dark); font-weight: 700; }
.boton.peligro, button.peligro { background: var(--error); }
.boton.chico, button.chico { padding: 6px 10px; font-size: .9rem; margin-top: 0; }
.ancho { width: 100%; }
.acciones { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.aviso { border-radius: 8px; padding: 12px 14px; margin: 10px 0; }
.aviso.error { background: var(--error-soft); color: var(--error); border: 1px solid #f5c2bd; }
.aviso.ok { background: var(--ok-soft); color: var(--ok); border: 1px solid #b9e2c6; }
.aviso.info { background: var(--navy-soft); color: var(--navy); border: 1px solid #cdd5ea; }

.socio { font-size: 1.15rem; line-height: 1.5; }
.socio strong { color: var(--navy); }

.tenue { color: var(--muted); font-size: .9rem; }

.tabla-contenedor { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: .95rem; }
th, td { padding: 7px 9px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { background: var(--navy-soft); color: var(--navy); font-weight: 700; white-space: nowrap; }
tr.titular td:first-child { border-left: 4px solid var(--ok); }
tr.espera td:first-child { border-left: 4px solid var(--gold); }

.etiqueta { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: .8rem; font-weight: 700; }
.etiqueta.ok { background: var(--ok-soft); color: var(--ok); }
.etiqueta.espera { background: #fff5d6; color: var(--gold-dark); }
.etiqueta.gris { background: #eceef2; color: var(--muted); }

.grilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 16px; }
.numero-grande { font-size: 1.8rem; font-weight: 700; color: var(--navy); }

@media (max-width: 600px) {
    body { font-size: 16px; }
    .barra nav { width: 100%; margin-left: 0; }
}
