/* =========================================================
   Tokens de diseño globales (paleta de marca Inysur)
   Unifica los verdes que antes estaban dispersos y duplicados
   en los bloques <style> de cada plantilla.
   ========================================================= */
:root {
    --g950: #001208;
    --g900: #002013;
    --g800: #004f2d;
    --g600: #00663d;  /* verde primario de marca */
    --g500: #009155;
    --g400: #00a060;
    --g100: #c8e8d8;
    --g50:  #eaf6f0;

    --parchment: #f5f1e8;
    --ink: #1a2e24;

    --mono: 'IBM Plex Mono', monospace;
    --sans: 'IBM Plex Sans', sans-serif;

    --footer-bg: #002013ee;
}

/* =========================================================
   Layout base
   ========================================================= */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    /* Desactivar si quiero que el footer solo aparezca al final de
       la página y no sea siempre visible. */
    overflow: auto;
    padding: 0;
}

/* =========================================================
   Pie de página
   ========================================================= */
.ft-main {
    display: flex;
    justify-content: space-evenly;
    background-color: var(--footer-bg);
    height: 20px;
}

.ft-main a {
    font-size: small;
    color: white;
    text-decoration: none;
}

.ft-main a:hover {
    color: white;
    font-weight: normal;
    text-decoration: underline;
}

#login {
    width: 400px;
}

/* =========================================================
   Página de detalle de Estación
   ========================================================= */
.detail-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.detail-container h1 {
    color: var(--g600);
    margin-bottom: 1rem;
    font-weight: 700;
}

.detail-container h2 {
    color: var(--g800);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--g600);
    padding-bottom: 0.25rem;
}

.detail-container ul {
    list-style: none;
    padding-left: 0;
}

.detail-container li {
    margin-bottom: 0.5rem;
}

.detail-container li strong {
    color: var(--g800);
}

.estacion-foto {
    max-width: 300px;
}

.pdf-list a {
    color: var(--g600);
    text-decoration: none;
}

.pdf-list a:hover {
    color: var(--g800);
    text-decoration: underline;
    font-weight: bold;
}

.btn-back {
    display: inline-block;
    margin-top: 1.5rem;
    background: var(--g600);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-back:hover {
    background: var(--g800);
    color: white;
    text-decoration: none;
}
