/* ========================================
   BLUEDROP — IDENTIDAD
======================================== */

:root {
    --blue-dark: #024684;
    --blue: #0170B4;
    --cyan: #0199D3;
    --green: #58AB41;

    --ink: #0D2E46;
    --light-blue: #E7F6FA;

    --white: #FFFFFF;
    --soft: #F7FBFC;
    --border: #DCEAF0;
    --muted: #647985;

    --max-width: 1180px;
}


/* ========================================
   GENERAL
======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}


/* ========================================
   NAVBAR
======================================== */

.navbar {
    max-width: var(--max-width);
    min-height: 125px;

    margin: 0 auto;
    padding: 15px 28px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
}

.brand img {
    width: 145px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links > a {
    font-size: 14px;
    font-weight: 500;
    color: #435E6D;

    transition: 0.2s ease;
}

.nav-links > a:hover {
    color: var(--blue);
}

.nav-button {
    border: 1px solid var(--blue) !important;
    color: var(--blue) !important;

    padding: 9px 18px;
    border-radius: 7px;

    transition: 0.2s ease;
}

.nav-button:hover {
    background: var(--blue) !important;
    color: white !important;
}


/* ========================================
   HERO
======================================== */

.hero {
    max-width: var(--max-width);
    min-height: 620px;

    margin: 0 auto;
    padding: 65px 28px 100px;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 80px;
}

.eyebrow {
    display: inline-block;

    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;

    margin-bottom: 18px;
}

.hero h1 {
    max-width: 650px;

    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -3px;

    color: var(--ink);

    margin-bottom: 28px;
}

.hero h1 span {
    color: var(--blue);
}

.hero-description {
    max-width: 530px;

    color: var(--muted);
    font-size: 18px;

    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}


/* ========================================
   BOTONES
======================================== */

.button {
    display: inline-block;

    padding: 13px 24px;
    border-radius: 7px;

    font-size: 14px;
    font-weight: 600;

    transition: 0.25s ease;
}

.primary {
    background: var(--blue);
    color: white;
}

.primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}

.secondary {
    border: 1px solid var(--blue);
    color: var(--blue);
}

.secondary:hover {
    background: var(--blue);
    color: white;
}

.text-link {
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
}


/* ========================================
   HERO — ELEMENTO VISUAL
======================================== */

.hero-art {
    display: flex;
    justify-content: center;
    align-items: center;
}

.water-shape {
    position: relative;

    width: 410px;
    height: 440px;

    background: linear-gradient(
        145deg,
        var(--light-blue),
        #F8FCFD
    );

    border-radius: 46% 54% 58% 42% / 43% 38% 62% 57%;
}

.water-shape::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    top: 55px;
    right: 55px;

    border: 1px solid #B7DFED;
    border-radius: 50%;
}

.water-circle {
    position: absolute;

    width: 90px;
    height: 90px;

    top: 120px;
    left: 105px;

    border-radius: 50%;

    background: linear-gradient(
        145deg,
        var(--blue),
        var(--cyan)
    );

    opacity: 0.92;
}

.station-label {
    position: absolute;

    left: -45px;
    bottom: 55px;

    min-width: 250px;

    background: rgba(255, 255, 255, 0.95);

    border: 1px solid var(--border);
    border-radius: 10px;

    padding: 17px 20px;

    display: flex;
    align-items: center;
    gap: 13px;

    box-shadow: 0 10px 35px rgba(13, 46, 70, 0.08);
}

.station-label small {
    display: block;

    font-size: 9px;
    letter-spacing: 1.3px;

    color: var(--muted);

    margin-bottom: 2px;
}

.station-label strong {
    font-size: 14px;
}

.status-dot {
    width: 9px;
    height: 9px;

    flex-shrink: 0;

    border-radius: 50%;
    background: var(--green);
}


/* ========================================
   TÍTULOS DE SECCIÓN
======================================== */

.section-heading {
    margin-bottom: 55px;
}

.section-heading.centered {
    text-align: center;
}

.section-heading h2 {
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: -1.4px;

    margin-bottom: 15px;
}

.section-heading p {
    max-width: 550px;
    color: var(--muted);
}


/* ========================================
   ESTADO DEL ECOSISTEMA
======================================== */

.status-section {
    background: var(--soft);

    padding: 90px 28px 100px;
}

.status-section > * {
    max-width: var(--max-width);

    margin-left: auto;
    margin-right: auto;
}

.status-card {
    background: white;

    border: 1px solid var(--border);
    border-radius: 12px;

    padding: 30px 34px;

    display: flex;
    align-items: center;
    gap: 30px;
}

.status-main {
    flex: 1;

    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.status-dot.large {
    width: 12px;
    height: 12px;

    margin-top: 10px;
}

.status-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 700;

    color: var(--muted);
}

.status-main h3 {
    color: var(--ink);

    font-size: 22px;

    margin: 3px 0;
}

.status-main p {
    color: var(--muted);
    font-size: 13px;
}

.status-divider {
    width: 1px;
    height: 65px;

    background: var(--border);
}

.status-information span {
    display: block;

    color: var(--muted);
    font-size: 11px;

    margin-bottom: 2px;
}

.status-information strong {
    font-size: 14px;
}

.status-link {
    color: var(--blue);

    font-size: 13px;
    font-weight: 600;
}


/* ========================================
   EXPLORAR
======================================== */

.explore-section {
    max-width: var(--max-width);

    margin: 0 auto;
    padding: 120px 28px;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.feature-card {
    min-height: 300px;

    padding: 38px;

    border: 1px solid var(--border);
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: white;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.feature-card:hover {
    border-color: #A9D6E5;

    transform: translateY(-3px);

    box-shadow: 0 14px 35px rgba(13, 46, 70, 0.06);
}

.number {
    color: #A9C2CE;

    font-size: 13px;
    font-weight: 600;
}

.card-category {
    color: var(--blue);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.feature-card h3 {
    font-size: 25px;
    letter-spacing: -0.5px;

    margin: 6px 0 12px;
}

.feature-card p {
    max-width: 440px;

    color: var(--muted);
    font-size: 14px;

    margin-bottom: 22px;
}

.feature-card a {
    color: var(--blue);

    font-size: 13px;
    font-weight: 600;
}

.report-card {
    background: var(--light-blue);
    border-color: transparent;
}


/* ========================================
   PROYECTO
======================================== */

.project-section {
    background: var(--ink);
    color: white;

    padding:
        110px
        max(28px, calc((100% - 1124px) / 2));

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    gap: 100px;
    align-items: center;
}

.project-section .eyebrow {
    color: #74C9E8;
}

.project-content h2 {
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: -1.3px;

    margin-bottom: 20px;
}

.project-content p {
    max-width: 500px;

    color: #BCD0DA;

    margin-bottom: 30px;
}

.project-section .secondary {
    border-color: #7DCBE7;
    color: white;
}

.project-section .secondary:hover {
    background: white;
    border-color: white;
    color: var(--ink);
}


/* ========================================
   PROCESO
======================================== */

.process {
    display: flex;
    align-items: flex-start;
}

.process-item {
    width: 150px;
}

.process-item span {
    display: block;

    color: #74C9E8;

    font-size: 11px;

    margin-bottom: 15px;
}

.process-item strong {
    display: block;

    font-size: 15px;

    margin-bottom: 5px;
}

.process-item p {
    color: #9EB8C5;

    font-size: 12px;
}

.process-line {
    flex: 1;

    height: 1px;

    margin: 10px 15px 0;

    background: #315166;
}


/* ========================================
   FOOTER
======================================== */

footer {
    max-width: var(--max-width);

    margin: 0 auto;
    padding: 45px 28px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    color: var(--muted);
}

footer img {
    width: 125px;
    height: auto;
}

footer div {
    text-align: right;
}

footer p {
    font-size: 11px;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 850px) {

    .navbar {
        min-height: 105px;
        padding-top: 12px;
    }

    .brand img {
        width: 125px;
    }

    .nav-links a:not(.nav-button) {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;

        padding-top: 55px;

        gap: 50px;
    }

    .hero h1 {
        font-size: 52px;
        letter-spacing: -2px;
    }

    .hero-art {
        order: -1;
    }

    .water-shape {
        width: 300px;
        height: 320px;
    }

    .water-shape::before {
        width: 160px;
        height: 160px;

        top: 40px;
        right: 40px;
    }

    .water-circle {
        width: 70px;
        height: 70px;

        top: 90px;
        left: 75px;
    }

    .station-label {
        left: 10px;
    }

    .status-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .status-divider {
        width: 100%;
        height: 1px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .project-section {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .process {
        flex-direction: column;
        gap: 25px;
    }

    .process-line {
        display: none;
    }

    footer {
        align-items: flex-start;
        gap: 25px;

        flex-direction: column;
    }

    footer div {
        text-align: left;
    }
}


/* ========================================
   CELULARES PEQUEÑOS
======================================== */

@media (max-width: 520px) {

    .navbar {
        padding-left: 20px;
        padding-right: 20px;
    }

    .nav-button {
        padding: 8px 14px;
        font-size: 13px !important;
    }

    .hero {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .status-section,
    .explore-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .feature-card {
        padding: 30px;
    }

    .section-heading h2,
    .project-content h2 {
        font-size: 32px;
    }
}
/* ==========================================================
   BLUEDROP — OBSERVATORIO DE FAUNA
   Estos estilos pertenecen únicamente a fauna.html
========================================================== */


/* ========================================
   NAVEGACIÓN ACTIVA
======================================== */

.nav-active {
    color: var(--blue) !important;
    font-weight: 600 !important;
    position: relative;
}

.nav-active::after {
    content: "";
    position: absolute;

    left: 0;
    right: 0;
    bottom: -8px;

    height: 2px;

    background: var(--blue);
    border-radius: 10px;
}


/* ========================================
   HERO — FAUNA
======================================== */

.fauna-hero {
    max-width: var(--max-width);

    margin: 0 auto;
    padding: 95px 28px 110px;

    display: grid;
    grid-template-columns: 1.15fr 0.85fr;

    gap: 100px;
    align-items: center;
}

.fauna-hero-content h1 {
    max-width: 700px;

    font-size: clamp(48px, 5.5vw, 72px);
    line-height: 1.04;

    letter-spacing: -3px;

    margin-bottom: 28px;
}

.fauna-hero-content h1 span {
    color: var(--blue);
}

.fauna-hero-content > p {
    max-width: 580px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.75;
}


/* ========================================
   BLOQUE LATERAL DEL HERO
======================================== */

.fauna-hero-side {
    display: flex;
    justify-content: flex-end;
}

.fauna-quote {
    max-width: 390px;

    padding: 38px;

    background: var(--light-blue);

    border-radius: 12px;
}

.fauna-quote > span {
    display: block;

    color: var(--blue);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;

    margin-bottom: 15px;
}

.fauna-quote p {
    color: var(--ink);

    font-size: 17px;
    line-height: 1.65;
}


/* ========================================
   RESUMEN DE REGISTROS
======================================== */

.fauna-summary {
    max-width: var(--max-width);

    margin: 0 auto 120px;
    padding: 34px 28px;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-item {
    flex: 1;

    text-align: center;

    display: flex;
    flex-direction: column;
}

.summary-number {
    color: var(--ink);

    font-size: 30px;
    font-weight: 600;

    letter-spacing: -1px;

    margin-bottom: 2px;
}

.summary-label {
    color: var(--muted);

    font-size: 11px;
}

.summary-line {
    width: 1px;
    height: 42px;

    background: var(--border);
}


/* ========================================
   REGISTROS
======================================== */

.records-section {
    max-width: var(--max-width);

    margin: 0 auto;

    padding: 0 28px 130px;
}

.records-heading {
    margin-bottom: 48px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 40px;
}

.records-heading h2 {
    font-size: 38px;
    line-height: 1.15;

    letter-spacing: -1.3px;
}


/* ========================================
   FILTROS
======================================== */

.fauna-filters {
    display: flex;
    gap: 8px;

    flex-wrap: wrap;
}

.filter-button {
    font-family: inherit;

    padding: 8px 15px;

    background: white;

    color: var(--muted);

    border: 1px solid var(--border);
    border-radius: 6px;

    font-size: 12px;

    cursor: pointer;

    transition: 0.2s ease;
}

.filter-button:hover {
    border-color: #A9D6E5;
    color: var(--blue);
}

.filter-button.active {
    background: var(--blue);
    border-color: var(--blue);

    color: white;
}


/* ========================================
   GRID DE REGISTROS
======================================== */

.records-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


/* ========================================
   TARJETA DE REGISTRO
======================================== */

.record-card {
    overflow: hidden;

    background: white;

    border: 1px solid var(--border);
    border-radius: 12px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.record-card:hover {
    transform: translateY(-4px);

    border-color: #B6DCE9;

    box-shadow:
        0 15px 40px
        rgba(13, 46, 70, 0.07);
}


/* ========================================
   FOTO / PLACEHOLDER
======================================== */

.record-image {
    width: 100%;
    aspect-ratio: 4 / 3;

    overflow: hidden;
}

.record-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.record-card:hover .record-image img {
    transform: scale(1.025);
}


/* Mientras todavía no tenemos fotos */

.placeholder-image {
    background:
        linear-gradient(
            145deg,
            #EDF8FB,
            #DDEFF5
        );

    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-image span {
    color: #79A8B9;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.8px;
}


/* ========================================
   INFORMACIÓN DEL REGISTRO
======================================== */

.record-content {
    padding: 26px;
}

.record-top {
    margin-bottom: 12px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;
}

.record-type {
    color: var(--blue);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.4px;
}

.record-id {
    color: #9AAEB8;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 1px;
}

.record-content h3 {
    color: var(--ink);

    font-size: 21px;

    letter-spacing: -0.4px;

    margin-bottom: 2px;
}

.scientific-name {
    color: var(--muted);

    font-size: 12px;

    margin-bottom: 24px;
}


/* ========================================
   FECHA Y HORA
======================================== */

.record-details {
    padding: 17px 0;

    margin-bottom: 18px;

    border-top: 1px solid #EDF2F4;
    border-bottom: 1px solid #EDF2F4;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.record-details span {
    display: block;

    color: #98ABB4;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.3px;

    margin-bottom: 2px;
}

.record-details strong {
    color: var(--ink);

    font-size: 11px;
    font-weight: 600;
}

.record-link {
    color: var(--blue);

    font-size: 12px;
    font-weight: 600;
}


/* ========================================
   VER MÁS
======================================== */

.records-more {
    margin-top: 45px;

    text-align: center;
}

.records-more button {
    font-family: inherit;

    cursor: pointer;
}


/* ========================================
   ESPECIES POR DESCUBRIR
======================================== */

.discover-section {
    padding:
        110px
        max(28px, calc((100% - 1124px) / 2));

    background: var(--soft);

    display: grid;
    grid-template-columns: 1fr 0.75fr;

    gap: 110px;

    align-items: center;
}

.discover-content h2 {
    color: var(--ink);

    font-size: 42px;
    line-height: 1.15;

    letter-spacing: -1.5px;

    margin-bottom: 22px;
}

.discover-content > p {
    max-width: 540px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.75;

    margin-bottom: 30px;
}


/* ========================================
   TARJETA ESPECIE DESCONOCIDA
======================================== */

.discover-card {
    overflow: hidden;

    background: white;

    border: 1px solid var(--border);
    border-radius: 12px;

    box-shadow:
        0 14px 40px
        rgba(13, 46, 70, 0.05);
}

.discover-image {
    height: 250px;

    background:
        linear-gradient(
            145deg,
            var(--light-blue),
            #F6FBFC
        );

    display: flex;
    justify-content: center;
    align-items: center;
}

.discover-image > span {
    color: #8AB8C8;

    font-size: 60px;
    font-weight: 300;
}

.discover-info {
    padding: 25px;
}

.discover-info > span {
    display: block;

    color: var(--blue);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.4px;

    margin-bottom: 5px;
}

.discover-info strong {
    display: block;

    color: var(--ink);

    font-size: 18px;

    margin-bottom: 5px;
}

.discover-info p {
    color: var(--muted);

    font-size: 12px;
}


/* ========================================
   CÓMO FUNCIONA EL MONITOREO
======================================== */

.monitoring-section {
    max-width: var(--max-width);

    margin: 0 auto;

    padding: 120px 28px;
}

.monitoring-heading {
    margin-bottom: 65px;
}

.monitoring-heading h2 {
    color: var(--ink);

    font-size: 40px;

    letter-spacing: -1.3px;
}

.monitoring-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top: 1px solid var(--border);
}

.monitoring-step {
    min-height: 230px;

    padding: 30px 28px;

    border-right: 1px solid var(--border);
}

.monitoring-step:first-child {
    padding-left: 0;
}

.monitoring-step:last-child {
    border-right: none;
}

.monitoring-step > span {
    display: block;

    color: var(--cyan);

    font-size: 10px;
    font-weight: 700;

    margin-bottom: 45px;
}

.monitoring-step h3 {
    color: var(--ink);

    font-size: 18px;

    margin-bottom: 10px;
}

.monitoring-step p {
    color: var(--muted);

    font-size: 13px;
    line-height: 1.65;
}


/* ========================================
   RESPONSIVE — FAUNA
======================================== */

@media (max-width: 950px) {

    .fauna-hero {
        grid-template-columns: 1fr;

        gap: 45px;

        padding-top: 65px;
    }

    .fauna-hero-side {
        justify-content: flex-start;
    }

    .fauna-quote {
        max-width: 600px;
    }

    .records-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .records-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .discover-section {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .discover-card {
        max-width: 500px;
    }

    .monitoring-grid {
        grid-template-columns: 1fr 1fr;
    }

    .monitoring-step {
        border-bottom: 1px solid var(--border);
    }
}


@media (max-width: 650px) {

    .fauna-hero {
        padding:
            50px
            20px
            80px;
    }

    .fauna-hero-content h1 {
        font-size: 44px;

        letter-spacing: -2px;
    }

    .fauna-summary {
        margin-bottom: 90px;

        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 30px;
    }

    .summary-line {
        display: none;
    }

    .records-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .records-grid {
        grid-template-columns: 1fr;
    }

    .fauna-filters {
        width: 100%;
    }

    .filter-button {
        flex: 1;
    }

    .discover-section {
        padding:
            90px
            20px;
    }

    .discover-content h2 {
        font-size: 34px;
    }

    .monitoring-section {
        padding:
            90px
            20px;
    }

    .monitoring-grid {
        grid-template-columns: 1fr;
    }

    .monitoring-step {
        padding-left: 0;

        border-right: none;
    }

}
/* ==========================================================
   BLUEDROP — MAPA COMUNITARIO
========================================================== */


/* HERO */

.map-hero {
    max-width: var(--max-width);

    margin: 0 auto;
    padding: 90px 28px 75px;
}

.map-hero h1 {
    max-width: 850px;

    font-size: clamp(48px, 5.5vw, 70px);
    line-height: 1.05;
    letter-spacing: -3px;

    margin-bottom: 25px;
}

.map-hero h1 span {
    color: var(--blue);
}

.map-hero > p {
    max-width: 620px;

    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}


/* ========================================
   CONTENEDOR GENERAL
======================================== */

.community-map-section {
    max-width: var(--max-width);

    margin: 0 auto;
    padding: 0 28px 120px;
}


/* ========================================
   TOOLBAR
======================================== */

.map-toolbar {
    margin-bottom: 22px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 30px;
}

.map-small-label {
    display: block;

    color: var(--muted);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;

    margin-bottom: 10px;
}

.map-filters {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

.map-filter {
    padding: 8px 15px;

    font-family: inherit;
    font-size: 12px;

    color: var(--muted);
    background: white;

    border: 1px solid var(--border);
    border-radius: 6px;

    cursor: pointer;

    transition: 0.2s ease;
}

.map-filter:hover {
    color: var(--blue);
    border-color: #A9D6E5;
}

.map-filter.active {
    color: white;

    background: var(--blue);
    border-color: var(--blue);
}


/* ========================================
   LEYENDA
======================================== */

.map-legend {
    display: flex;

    gap: 20px;

    color: var(--muted);

    font-size: 11px;
}

.map-legend > div {
    display: flex;
    align-items: center;

    gap: 7px;
}

.legend-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;
}

.legend-dot.station {
    background: var(--blue);
}

.legend-dot.fauna {
    background: var(--cyan);
}

.legend-dot.report {
    background: #8AA2AD;
}


/* ========================================
   MAPA
======================================== */

.map-container {
    width: 100%;
    height: 570px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--soft);
}

.map-background {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #F7FBFC 0%,
            #EDF7F9 45%,
            #F9FCFC 100%
        );
}


/* Líneas decorativas del territorio */

.map-background::before,
.map-background::after {
    content: "";

    position: absolute;

    border: 1px solid #D7E8ED;
    border-radius: 50%;

    opacity: 0.8;
}

.map-background::before {
    width: 600px;
    height: 420px;

    left: -120px;
    top: -180px;
}

.map-background::after {
    width: 700px;
    height: 500px;

    right: -180px;
    bottom: -250px;
}


/* ========================================
   RÍO ABSTRACTO
======================================== */

.river {
    position: absolute;

    display: block;

    background: #D7EFF5;

    opacity: 0.9;

    transform: rotate(-20deg);

    border-radius: 50%;
}

.river-one {
    width: 1200px;
    height: 95px;

    left: -150px;
    top: 240px;
}

.river-two {
    width: 800px;
    height: 38px;

    left: 300px;
    top: 330px;

    opacity: 0.55;
}


/* ========================================
   MARCADORES
======================================== */

.map-marker {
    position: absolute;

    width: 24px;
    height: 24px;

    padding: 0;

    background: white;

    border: none;
    border-radius: 50%;

    cursor: pointer;

    transform: translate(-50%, -50%);

    box-shadow:
        0 4px 15px
        rgba(13, 46, 70, 0.18);

    z-index: 5;
}

.map-marker > span {
    position: absolute;

    width: 10px;
    height: 10px;

    left: 7px;
    top: 7px;

    border-radius: 50%;
}

.marker-station > span {
    background: var(--blue);
}

.marker-fauna > span {
    background: var(--cyan);
}

.marker-report > span {
    background: #8AA2AD;
}


/* Halo de estación */

.marker-station::before {
    content: "";

    position: absolute;

    width: 40px;
    height: 40px;

    left: -8px;
    top: -8px;

    border: 1px solid
        rgba(1, 112, 180, 0.25);

    border-radius: 50%;
}


/* ========================================
   TOOLTIP
======================================== */

.marker-tooltip {
    position: absolute;

    left: 50%;
    bottom: 35px;

    width: 205px;

    padding: 15px 17px;

    background: white;

    border: 1px solid var(--border);
    border-radius: 9px;

    text-align: left;

    box-shadow:
        0 10px 30px
        rgba(13, 46, 70, 0.10);

    transform:
        translateX(-50%)
        translateY(5px);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition: 0.2s ease;
}

.map-marker:hover .marker-tooltip,
.map-marker.open .marker-tooltip {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}

.marker-tooltip small {
    display: block;

    color: var(--blue);

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.3px;

    margin-bottom: 3px;
}

.marker-tooltip strong {
    display: block;

    color: var(--ink);

    font-size: 13px;

    margin-bottom: 2px;
}

.marker-tooltip p {
    color: var(--muted);

    font-size: 10px;
}


/* ========================================
   UBICACIÓN
======================================== */

.map-location-label {
    position: absolute;

    left: 30px;
    bottom: 25px;

    color: #7995A2;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.8px;
}

.map-note {
    max-width: 650px;

    color: #8A9DA6;

    font-size: 10px;
    line-height: 1.6;

    margin-top: 13px;
}


/* ========================================
   INFORMACIÓN DEL MAPA
======================================== */

.map-info-section {
    padding:
        110px
        max(28px, calc((100% - 1124px) / 2));

    background: var(--soft);
}

.map-info-section .section-heading {
    max-width: 650px;
}

.map-info-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid var(--border);
}

.map-info-grid article {
    min-height: 220px;

    padding: 30px;

    border-right: 1px solid var(--border);
}

.map-info-grid article:first-child {
    padding-left: 0;
}

.map-info-grid article:last-child {
    border-right: none;
}

.map-info-number {
    display: block;

    color: var(--cyan);

    font-size: 10px;
    font-weight: 700;

    margin-bottom: 40px;
}

.map-info-grid h3 {
    font-size: 18px;

    margin-bottom: 9px;
}

.map-info-grid p {
    max-width: 280px;

    color: var(--muted);

    font-size: 13px;
}


/* ========================================
   PARTICIPACIÓN
======================================== */

.map-participation {
    max-width: var(--max-width);

    margin: 0 auto;
    padding: 120px 28px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 80px;
}

.map-participation > div {
    max-width: 650px;
}

.map-participation h2 {
    font-size: 40px;
    line-height: 1.15;

    letter-spacing: -1.4px;

    margin-bottom: 18px;
}

.map-participation p {
    max-width: 550px;

    color: var(--muted);

    font-size: 14px;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 850px) {

    .map-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .map-container {
        height: 480px;
    }

    .map-info-grid {
        grid-template-columns: 1fr;
    }

    .map-info-grid article {
        min-height: auto;

        padding: 30px 0;

        border-right: none;
        border-bottom:
            1px solid var(--border);
    }

    .map-participation {
        align-items: flex-start;
        flex-direction: column;

        gap: 35px;
    }
}


@media (max-width: 520px) {

    .map-hero {
        padding:
            50px
            20px
            60px;
    }

    .map-hero h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .community-map-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .map-container {
        height: 430px;
    }

    .map-legend {
        flex-wrap: wrap;
    }

    .marker-tooltip {
        width: 165px;
    }

    .map-participation {
        padding:
            90px
            20px;
    }

}
/* ==========================================================
   BLUEDROP — REPORTES COMUNITARIOS
========================================================== */


/* ========================================
   NAV
======================================== */

.report-active {
    background: var(--blue) !important;
    color: white !important;
}


/* ========================================
   HERO
======================================== */

.report-hero {
    max-width: var(--max-width);

    margin: 0 auto;
    padding: 90px 28px 105px;

    display: grid;
    grid-template-columns: 1.15fr 0.85fr;

    gap: 100px;
    align-items: center;
}

.report-hero h1 {
    max-width: 700px;

    font-size: clamp(48px, 5.5vw, 72px);
    line-height: 1.04;
    letter-spacing: -3px;

    margin-bottom: 27px;
}

.report-hero h1 span {
    color: var(--blue);
}

.report-hero > div:first-child > p {
    max-width: 570px;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.75;
}

.report-hero-note {
    padding: 35px;

    background: var(--light-blue);

    border-radius: 12px;
}

.report-hero-note > span {
    display: block;

    color: var(--blue);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.6px;

    margin-bottom: 12px;
}

.report-hero-note p {
    color: var(--ink);

    font-size: 14px;
    line-height: 1.7;
}


/* ========================================
   SECCIÓN FORMULARIO
======================================== */

.report-section {
    background: var(--soft);

    padding:
        105px
        max(28px, calc((100% - 1124px) / 2))
        120px;
}

.report-intro {
    max-width: 650px;

    margin-bottom: 65px;
}

.report-intro h2 {
    font-size: 42px;
    letter-spacing: -1.5px;

    margin-bottom: 12px;
}

.report-intro p {
    max-width: 540px;

    color: var(--muted);

    font-size: 14px;
}


/* ========================================
   FORMULARIO
======================================== */

.report-form {
    background: white;

    border: 1px solid var(--border);
    border-radius: 14px;

    overflow: hidden;
}

.form-block {
    padding: 45px;

    display: grid;
    grid-template-columns: 60px 1fr;

    gap: 35px;

    border-bottom: 1px solid var(--border);
}

.form-number {
    color: var(--cyan);

    font-size: 11px;
    font-weight: 700;

    padding-top: 5px;
}

.form-content {
    max-width: 780px;
}

.form-title {
    display: block;

    color: var(--ink);

    font-size: 20px;
    font-weight: 600;

    margin-bottom: 5px;
}

.form-help {
    color: var(--muted);

    font-size: 12px;

    margin-bottom: 25px;
}


/* ========================================
   CATEGORÍAS
======================================== */

.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 10px;
}

.category-option {
    min-height: 85px;

    padding: 17px 18px;

    border: 1px solid var(--border);
    border-radius: 9px;

    cursor: pointer;

    display: flex;
    align-items: flex-start;

    gap: 13px;

    transition: 0.2s ease;
}

.category-option:hover {
    border-color: #A9D6E5;
}

.category-option:has(input:checked) {
    border-color: var(--blue);

    background: #F5FBFD;
}

.category-option input {
    margin-top: 5px;

    accent-color: var(--blue);
}

.category-option strong {
    display: block;

    color: var(--ink);

    font-size: 13px;

    margin-bottom: 2px;
}

.category-option small {
    display: block;

    color: var(--muted);

    font-size: 10px;
}


/* ========================================
   INPUTS
======================================== */

.report-form textarea,
.report-form input[type="text"],
.report-form input[type="date"],
.report-form input[type="time"] {
    width: 100%;

    padding: 14px 15px;

    font-family: inherit;
    font-size: 13px;

    color: var(--ink);

    background: white;

    border: 1px solid var(--border);
    border-radius: 7px;

    outline: none;

    transition: 0.2s ease;
}

.report-form textarea {
    resize: vertical;

    min-height: 140px;
}

.report-form textarea:focus,
.report-form input[type="text"]:focus,
.report-form input[type="date"]:focus,
.report-form input[type="time"]:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px
        rgba(1, 112, 180, 0.07);
}

.report-form input::placeholder,
.report-form textarea::placeholder {
    color: #A7B5BC;
}

.character-counter {
    margin-top: 7px;

    color: #9AABB3;

    font-size: 10px;

    text-align: right;
}

.location-help {
    margin-top: 9px;

    color: #91A3AC;

    font-size: 10px;
}


/* ========================================
   FECHA
======================================== */

.date-grid {
    max-width: 550px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.date-grid label {
    display: block;

    color: var(--muted);

    font-size: 10px;
    font-weight: 600;

    margin-bottom: 6px;
}


/* ========================================
   FOTO
======================================== */

.optional {
    color: #95A7AF;

    font-size: 10px;
    font-weight: 400;

    margin-left: 5px;
}

.upload-area {
    min-height: 170px;

    border: 1px dashed #B7D5DF;
    border-radius: 10px;

    background: #FBFDFE;

    cursor: pointer;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    transition: 0.2s ease;
}

.upload-area:hover {
    border-color: var(--blue);

    background: #F7FCFD;
}

.upload-symbol {
    width: 34px;
    height: 34px;

    margin-bottom: 10px;

    border: 1px solid #B7D5DF;
    border-radius: 50%;

    color: var(--blue);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    font-weight: 300;
}

.upload-area strong {
    color: var(--ink);

    font-size: 12px;

    margin-bottom: 2px;
}

.upload-area > span {
    color: var(--muted);

    font-size: 9px;
}

.upload-area input {
    display: none;
}


/* ========================================
   PREVISUALIZACIÓN
======================================== */

.image-preview {
    display: none;

    margin-top: 15px;
}

.image-preview.visible {
    display: block;
}

.image-preview img {
    width: 180px;
    height: 120px;

    object-fit: cover;

    border-radius: 8px;

    border: 1px solid var(--border);
}


/* ========================================
   ENVIAR
======================================== */

.form-submit {
    padding: 35px 45px;

    background: #FBFDFE;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 50px;
}

.submission-information {
    max-width: 600px;
}

.submission-information > span {
    display: block;

    color: var(--blue);

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.4px;

    margin-bottom: 5px;
}

.submission-information p {
    color: var(--muted);

    font-size: 11px;
    line-height: 1.6;
}

.submit-button {
    font-family: inherit;

    border: none;

    cursor: pointer;

    white-space: nowrap;
}


/* ========================================
   MENSAJE DE ÉXITO
======================================== */

.report-success-overlay {
    position: fixed;

    inset: 0;

    z-index: 1000;

    padding: 25px;

    background:
        rgba(13, 46, 70, 0.55);

    display: none;
    align-items: center;
    justify-content: center;

    backdrop-filter: blur(4px);
}

.report-success-overlay.visible {
    display: flex;
}

.report-success-card {
    width: 100%;
    max-width: 480px;

    padding: 45px;

    background: white;

    border-radius: 14px;

    text-align: center;

    box-shadow:
        0 25px 70px
        rgba(13, 46, 70, 0.2);
}

.success-check {
    width: 45px;
    height: 45px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: var(--light-blue);

    color: var(--blue);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 19px;
    font-weight: 700;
}

.report-success-card > span {
    color: var(--blue);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.report-success-card h2 {
    font-size: 29px;

    letter-spacing: -0.8px;

    margin: 8px 0 10px;
}

.report-success-card > p {
    max-width: 350px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 13px;
}

.success-id {
    margin: 25px 0;

    padding: 15px;

    background: var(--soft);

    border-radius: 7px;
}

.success-id small {
    display: block;

    color: var(--muted);

    font-size: 8px;
    letter-spacing: 1.2px;

    margin-bottom: 2px;
}

.success-id strong {
    color: var(--ink);

    font-size: 14px;
}

.report-success-card button {
    font-family: inherit;

    border: none;

    cursor: pointer;
}


/* ========================================
   POR QUÉ REPORTAR
======================================== */

.why-report {
    max-width: var(--max-width);

    margin: 0 auto;

    padding: 120px 28px;
}

.why-report .section-heading {
    max-width: 650px;
}

.why-report-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);
}

.why-report-grid article {
    min-height: 220px;

    padding: 30px 25px;

    border-right: 1px solid var(--border);
}

.why-report-grid article:first-child {
    padding-left: 0;
}

.why-report-grid article:last-child {
    border-right: none;
}

.why-report-grid article > span {
    display: block;

    color: var(--cyan);

    font-size: 10px;
    font-weight: 700;

    margin-bottom: 42px;
}

.why-report-grid h3 {
    font-size: 17px;

    margin-bottom: 8px;
}

.why-report-grid p {
    color: var(--muted);

    font-size: 12px;
    line-height: 1.6;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 850px) {

    .report-hero {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .report-hero-note {
        max-width: 600px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .form-submit {
        align-items: flex-start;
        flex-direction: column;
    }

    .why-report-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 520px) {

    .report-hero {
        padding:
            50px
            20px
            75px;
    }

    .report-hero h1 {
        font-size: 43px;

        letter-spacing: -2px;
    }

    .report-section {
        padding:
            85px
            20px;
    }

    .form-block {
        padding: 30px 22px;

        grid-template-columns: 1fr;

        gap: 12px;
    }

    .date-grid {
        grid-template-columns: 1fr;
    }

    .form-submit {
        padding: 30px 22px;
    }

    .why-report {
        padding:
            90px
            20px;
    }

    .why-report-grid {
        grid-template-columns: 1fr;
    }

    .why-report-grid article {
        min-height: auto;

        padding: 28px 0;

        border-right: none;
        border-bottom:
            1px solid var(--border);
    }

}
/* ==========================================================
   BLUEDROP — PANEL DE ADMINISTRACIÓN
========================================================== */

.admin-body {
    min-height: 100vh;
    background: #F7FBFC;
}


/* LOGIN */

.admin-login {
    min-height: 100vh;
    padding: 60px 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #F7FBFC 0%,
            #E7F6FA 100%
        );
}


.admin-login-card {
    width: 100%;
    max-width: 500px;

    padding: 55px;

    background: white;

    border: 1px solid var(--border);
    border-radius: 24px;

    box-shadow:
        0 24px 70px rgba(13, 46, 70, 0.10);
}


.admin-logo {
    display: inline-block;
    margin-bottom: 35px;
}


.admin-logo img {
    width: 125px;
    display: block;
}


.admin-login-card h1 {
    margin: 12px 0 12px;

    font-size: 42px;
    line-height: 1.1;

    color: var(--ink);
}


.admin-login-card > p {
    margin: 0 0 38px;

    color: var(--muted);
    line-height: 1.7;
}


.admin-field {
    margin-bottom: 22px;
}


.admin-field label {
    display: block;

    margin-bottom: 9px;

    color: var(--ink);

    font-size: 14px;
    font-weight: 600;
}


.admin-field input {
    width: 100%;

    padding: 15px 16px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: white;

    color: var(--ink);

    font-family: inherit;
    font-size: 16px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.admin-field input:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px rgba(1, 112, 180, 0.08);
}


.admin-login-button {
    width: 100%;
    margin-top: 8px;

    border: none;
    cursor: pointer;
}


.admin-login-error {
    min-height: 22px;

    margin: 0 0 8px !important;

    color: #B33A3A !important;

    font-size: 14px;
}


/* DASHBOARD */

.admin-dashboard {
    min-height: 100vh;
}


.admin-dashboard[hidden],
.admin-login[hidden],
.admin-empty[hidden] {
    display: none !important;
}


.admin-header {
    background: white;

    border-bottom: 1px solid var(--border);
}


.admin-header-inner {
    max-width: var(--max-width);

    min-height: 105px;

    margin: 0 auto;
    padding: 15px 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.admin-header-brand {
    display: flex;
    align-items: center;

    gap: 22px;
}


.admin-header-brand img {
    width: 95px;
}


.admin-header-brand div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}


.admin-header-brand span {
    color: var(--blue);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.17em;
}


.admin-header-brand strong {
    color: var(--ink);

    font-size: 18px;
}


.admin-logout {
    padding: 11px 17px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: white;

    color: var(--ink);

    font-family: inherit;
    font-weight: 600;

    cursor: pointer;
}


.admin-logout:hover {
    border-color: var(--blue);
    color: var(--blue);
}


/* CONTENIDO */

.admin-main {
    max-width: var(--max-width);

    margin: 0 auto;

    padding: 75px 28px 110px;
}


.admin-title {
    margin-bottom: 45px;
}


.admin-title h1 {
    margin: 12px 0 10px;

    color: var(--ink);

    font-size: clamp(
        38px,
        5vw,
        58px
    );

    line-height: 1.08;
}


.admin-title p {
    max-width: 680px;

    margin: 0;

    color: var(--muted);

    line-height: 1.7;
}


/* ESTADÍSTICAS */

.admin-stats {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin-bottom: 45px;
}


.admin-stats article {
    padding: 28px;

    background: white;

    border: 1px solid var(--border);
    border-radius: 14px;
}


.admin-stats span {
    display: block;

    margin-bottom: 14px;

    color: var(--muted);

    font-size: 13px;
    font-weight: 600;
}


.admin-stats strong {
    color: var(--ink);

    font-size: 36px;
}


/* TOOLBAR */

.admin-toolbar {
    margin-bottom: 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.admin-filters {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}


.admin-filter,
.admin-refresh {
    padding: 10px 16px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: white;

    color: var(--muted);

    font-family: inherit;
    font-weight: 600;

    cursor: pointer;
}


.admin-filter:hover,
.admin-filter.active {
    border-color: var(--blue);

    color: var(--blue);

    background: var(--light-blue);
}


.admin-refresh {
    color: var(--blue);
}


/* REPORTES */

.admin-reports {
    display: grid;

    gap: 20px;
}


.admin-report-card {
    padding: 32px;

    background: white;

    border: 1px solid var(--border);
    border-radius: 16px;

    box-shadow:
        0 8px 28px rgba(13, 46, 70, 0.04);
}


.admin-report-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    padding-bottom: 23px;

    border-bottom: 1px solid var(--border);
}


.admin-report-top > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;
}


.admin-report-code {
    color: var(--ink);

    font-size: 18px;
    font-weight: 700;
}


.admin-status {
    padding: 6px 10px;

    border-radius: 100px;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}


.admin-status-pendiente {
    color: #806000;
    background: #FFF7D6;
}


.admin-status-aprobado {
    color: #39772C;
    background: #EBF6E8;
}


.admin-status-rechazado {
    color: #9A3A3A;
    background: #FBEAEA;
}


.admin-category {
    color: var(--blue);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}


.admin-report-description {
    padding: 27px 0;
}


.admin-report-description span {
    color: var(--blue);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.15em;
}


.admin-report-description p {
    margin: 9px 0 0;

    color: var(--ink);

    font-size: 18px;
    line-height: 1.6;
}


.admin-report-details {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}


.admin-report-details div {
    padding: 17px;

    background: var(--soft);

    border-radius: 9px;
}


.admin-report-details span {
    display: block;

    margin-bottom: 6px;

    color: var(--muted);

    font-size: 11px;
}


.admin-report-details strong {
    color: var(--ink);

    font-size: 14px;
}


/* ACCIONES */

.admin-report-actions {
    margin-top: 27px;
    padding-top: 24px;

    border-top: 1px solid var(--border);

    display: flex;
    justify-content: flex-end;

    gap: 12px;
}


.admin-reject,
.admin-approve {
    padding: 12px 18px;

    border-radius: 8px;

    font-family: inherit;
    font-weight: 600;

    cursor: pointer;
}


.admin-reject {
    border: 1px solid #E2BEBE;

    background: white;

    color: #A13E3E;
}


.admin-approve {
    border: 1px solid var(--blue);

    background: var(--blue);

    color: white;
}


.admin-approve:hover {
    background: var(--blue-dark);
}


.admin-reject:hover {
    background: #FFF7F7;
}


.admin-reviewed {
    margin-top: 25px;
    padding: 14px 16px;

    background: var(--soft);

    border-radius: 8px;

    color: var(--muted);

    font-size: 13px;
}


/* ESTADOS */

.admin-loading,
.admin-empty,
.admin-error {
    padding: 65px 30px;

    text-align: center;

    background: white;

    border: 1px solid var(--border);
    border-radius: 14px;

    color: var(--muted);
}


.admin-empty span {
    color: var(--blue);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.15em;
}


.admin-empty h2 {
    margin: 10px 0;

    color: var(--ink);
}


.admin-empty p {
    margin: 0;
}


/* RESPONSIVE */

@media (max-width: 700px) {

    .admin-login-card {
        padding: 38px 25px;
    }

    .admin-login-card h1 {
        font-size: 34px;
    }

    .admin-header-inner {
        min-height: 90px;
    }

    .admin-header-brand img {
        width: 75px;
    }

    .admin-header-brand div {
        display: none;
    }

    .admin-main {
        padding:
            55px 20px
            90px;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-report-top {
        flex-direction: column;
    }

    .admin-report-details {
        grid-template-columns: 1fr;
    }

    .admin-report-actions {
        flex-direction: column-reverse;
    }

    .admin-reject,
    .admin-approve {
        width: 100%;
    }

}
/* ==========================================================
   BLUEDROP — SELECCIÓN DE UBICACIÓN EN REPORTES
========================================================== */

.location-field-label {
    display: block;

    margin-bottom: 7px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 600;
}


/* ENCABEZADO DEL MAPA */

.report-map-heading {
    margin-top: 30px;
    margin-bottom: 13px;
}


.report-map-heading > span {
    display: block;

    margin-bottom: 4px;

    color: var(--blue);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.4px;
}


.report-map-heading p {
    color: var(--muted);

    font-size: 11px;
    line-height: 1.6;
}


/* MAPA */

.report-location-map {
    position: relative;

    width: 100%;
    height: 360px;

    overflow: hidden;

    background: var(--soft);

    border: 1px solid var(--border);
    border-radius: 11px;

    z-index: 1;
}


/* Adaptar Leaflet al diseño BlueDrop */

.report-location-map .leaflet-control-zoom {
    overflow: hidden;

    border: 1px solid var(--border) !important;
    border-radius: 8px !important;

    box-shadow:
        0 5px 18px
        rgba(13, 46, 70, 0.08) !important;
}


.report-location-map .leaflet-control-zoom a {
    color: var(--blue);

    border-bottom-color:
        var(--border) !important;
}


.report-location-map .leaflet-control-attribution {
    color: #7F949E;

    font-family: "DM Sans", sans-serif;
    font-size: 8px;
}


/* COORDENADAS */

.selected-location {
    margin-top: 12px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 10px;
}


.selected-location > div {
    padding: 13px 15px;

    background: #F8FBFC;

    border: 1px solid var(--border);
    border-radius: 8px;
}


.selected-location span {
    display: block;

    margin-bottom: 3px;

    color: #91A3AC;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.2px;
}


.selected-location strong {
    color: var(--ink);

    font-size: 12px;
    font-weight: 600;
}


/* MENSAJE DE SELECCIÓN */

.map-selection-message {
    margin-top: 10px;

    padding: 10px 13px;

    color: var(--muted);

    background: #F8FBFC;

    border-left: 2px solid #BCD9E3;

    font-size: 10px;

    transition: 0.2s ease;
}


.map-selection-message.selected {
    color: #39772C;

    background: #F4FAF2;

    border-left-color: var(--green);
}


/* MARCADOR */

.report-location-map
.leaflet-marker-icon {
    filter:
        drop-shadow(
            0 3px 4px
            rgba(13, 46, 70, 0.20)
        );
}


/* RESPONSIVE */

@media (max-width: 650px) {

    .report-location-map {
        height: 300px;
    }

    .selected-location {
        grid-template-columns: 1fr;
    }

}

/* ==========================================================
   BLUEDROP — MAPA COMUNITARIO REAL (LEAFLET)
========================================================== */

.real-community-map-container {
    position: relative;
    height: 570px;
}

.community-leaflet-map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.community-map-loading {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 500;

    transform: translate(-50%, -50%);

    padding: 12px 18px;

    color: var(--muted);
    background: rgba(255, 255, 255, 0.94);

    border: 1px solid var(--border);
    border-radius: 8px;

    font-size: 12px;

    box-shadow: 0 8px 25px rgba(13, 46, 70, 0.08);
}

.community-map-loading.empty {
    color: var(--ink);
}

.community-map-status {
    margin-top: 16px;

    display: flex;
    align-items: baseline;
    gap: 8px;

    color: var(--muted);
}

.community-map-status > span {
    color: var(--blue);
    font-size: 22px;
    font-weight: 700;
}

.community-map-status p {
    font-size: 11px;
}

.community-leaflet-map .leaflet-control-zoom {
    overflow: hidden;

    border: 1px solid var(--border) !important;
    border-radius: 8px !important;

    box-shadow: 0 5px 18px rgba(13, 46, 70, 0.08) !important;
}

.community-leaflet-map .leaflet-control-zoom a {
    color: var(--blue);
    border-bottom-color: var(--border) !important;
}

.community-leaflet-map .leaflet-control-attribution {
    color: #7F949E;
    font-family: "DM Sans", sans-serif;
    font-size: 8px;
}

.bluedrop-report-marker-wrapper {
    background: transparent;
    border: none;
}

.bluedrop-report-marker {
    display: block;

    width: 22px;
    height: 22px;

    background: #8AA2AD;

    border: 4px solid white;
    border-radius: 50%;

    box-shadow: 0 4px 14px rgba(13, 46, 70, 0.28);
}

.bluedrop-map-popup {
    min-width: 210px;

    font-family: "DM Sans", sans-serif;
    color: var(--ink);
}

.bluedrop-map-popup-label {
    display: block;

    margin-bottom: 7px;

    color: var(--blue);

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.1px;
}

.bluedrop-map-popup > strong {
    display: block;

    margin-bottom: 6px;

    font-size: 14px;
}

.bluedrop-map-popup > p {
    margin: 0 0 10px;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.55;
}

.bluedrop-map-popup-meta {
    padding-top: 9px;

    display: grid;
    gap: 3px;

    border-top: 1px solid var(--border);

    color: var(--muted);
    font-size: 9px;
}

.bluedrop-map-popup-meta small {
    margin-top: 3px;

    color: #91A3AC;
    font-size: 8px;
    letter-spacing: 0.5px;
}

@media (max-width: 520px) {
    .real-community-map-container {
        height: 430px;
    }

    .community-map-status {
        align-items: flex-start;
    }
}


/* ==========================================================
   BLUEDROP — FOTOGRAFÍAS DE REPORTES
========================================================== */

.admin-report-photo {
    margin: 18px 0;
}

.admin-report-photo > span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.admin-report-photo a {
    display: block;
    max-width: 520px;
}

.admin-report-photo img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.admin-report-no-photo {
    margin: 16px 0;
    color: var(--muted);
    font-size: 11px;
}

.bluedrop-map-popup-photo {
    display: block;
    width: 100%;
    max-width: 290px;
    max-height: 180px;
    object-fit: cover;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* ==========================================================
   BLUEDROP — MAPA VIVO
========================================================== */

.live-map-hero {
    padding-bottom: 82px;
}

.live-map-section {
    padding-bottom: 105px;
}

.live-map-panel {
    margin-bottom: 18px;
    padding: 24px;

    background: linear-gradient(135deg, #F8FCFD 0%, #F1F9FB 100%);

    border: 1px solid var(--border);
    border-radius: 16px;
}

.live-map-panel-heading {
    margin-bottom: 20px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.live-map-panel-heading .map-small-label {
    margin-bottom: 4px;
}

.live-map-panel-heading h2 {
    color: var(--ink);
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.4px;
}

.live-map-indicator {
    padding: 7px 11px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #58717E;
    background: white;

    border: 1px solid #D8E8ED;
    border-radius: 100px;

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.1px;
    white-space: nowrap;
}

.live-map-pulse {
    position: relative;

    width: 7px;
    height: 7px;

    background: var(--green);
    border-radius: 50%;
}

.live-map-pulse::after {
    content: "";

    position: absolute;
    inset: -4px;

    border: 1px solid rgba(88, 171, 65, 0.35);
    border-radius: 50%;

    animation: bluedropMapPulse 2s ease-out infinite;
}

@keyframes bluedropMapPulse {
    0% {
        transform: scale(0.75);
        opacity: 1;
    }

    70%,
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.live-layer-controls {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.live-layer-toggle {
    min-width: 0;
    min-height: 82px;
    padding: 14px;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 11px;

    font-family: inherit;
    text-align: left;

    color: var(--ink);
    background: white;

    border: 1px solid var(--border);
    border-radius: 12px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.live-layer-toggle:hover:not(:disabled) {
    transform: translateY(-2px);

    border-color: #B8DCE7;

    box-shadow: 0 10px 24px rgba(13, 46, 70, 0.07);
}

.live-layer-toggle:not(.active):not(:disabled) {
    opacity: 0.52;
    background: #FAFCFD;
}

.live-layer-toggle.active {
    border-color: #B8DCE7;
    box-shadow: inset 0 0 0 1px rgba(1, 112, 180, 0.04);
}

.live-layer-toggle.coming-soon {
    opacity: 0.55;
    cursor: not-allowed;
}

.live-layer-icon {
    width: 30px;
    height: 30px;

    display: block;

    border: 6px solid white;
    border-radius: 50%;

    box-shadow: 0 2px 9px rgba(13, 46, 70, 0.14);
}

.live-layer-icon.station {
    background: var(--blue);
}

.live-layer-icon.report {
    background: #8AA2AD;
}

.live-layer-icon.fauna {
    background: var(--cyan);
}

.live-layer-icon.water {
    background: var(--green);
}

.live-layer-copy {
    min-width: 0;
}

.live-layer-copy strong,
.live-layer-copy small {
    display: block;
}

.live-layer-copy strong {
    margin-bottom: 2px;

    overflow: hidden;

    color: var(--ink);

    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-layer-copy small {
    color: var(--muted);
    font-size: 8px;
    line-height: 1.35;
}

.live-layer-count {
    min-width: 25px;
    height: 25px;
    padding: 0 7px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--blue);
    background: var(--light-blue);

    border-radius: 100px;

    font-size: 9px;
    font-weight: 700;
}

.live-layer-soon {
    color: #77909B;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.live-community-map-container {
    height: 590px;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(13, 46, 70, 0.07);
}

.map-live-overlay {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 450;

    max-width: calc(100% - 95px);
    padding: 10px 13px;

    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);

    border: 1px solid rgba(220, 234, 240, 0.95);
    border-radius: 10px;

    box-shadow: 0 8px 24px rgba(13, 46, 70, 0.08);
}

.map-live-overlay span,
.map-live-overlay strong {
    display: block;
}

.map-live-overlay span {
    margin-bottom: 2px;

    color: #8196A0;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1.1px;
}

.map-live-overlay strong {
    overflow: hidden;

    color: var(--ink);
    font-size: 10px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.community-layer-message {
    position: absolute;
    left: 50%;
    bottom: 22px;
    z-index: 500;

    width: max-content;
    max-width: calc(100% - 40px);
    padding: 10px 14px;

    transform: translateX(-50%);

    color: #4E6875;
    background: rgba(255, 255, 255, 0.96);

    border: 1px solid var(--border);
    border-radius: 9px;

    box-shadow: 0 8px 25px rgba(13, 46, 70, 0.09);

    font-size: 9px;
    text-align: center;
}

.live-map-summary {
    margin-top: 14px;

    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    align-items: stretch;

    border: 1px solid var(--border);
    border-radius: 13px;
    overflow: hidden;
}

.live-map-summary article {
    min-height: 74px;
    padding: 16px 18px;

    display: flex;
    align-items: center;
    gap: 12px;

    background: white;
    border-right: 1px solid var(--border);
}

.live-summary-dot {
    width: 9px;
    height: 9px;

    flex-shrink: 0;

    border-radius: 50%;
}

.live-summary-dot.report {
    background: #8AA2AD;
}

.live-summary-dot.station {
    background: var(--blue);
}

.live-summary-dot.fauna {
    background: var(--cyan);
}

.live-map-summary article strong,
.live-map-summary article p {
    display: block;
}

.live-map-summary article strong {
    color: var(--ink);
    font-size: 19px;
    line-height: 1;
}

.live-map-summary article p {
    margin-top: 4px;

    color: var(--muted);
    font-size: 8px;
    line-height: 1.35;
}

.live-map-loaded {
    min-width: 118px;
    padding: 15px 18px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: #F6FAFB;
}

.live-map-loaded span {
    margin-bottom: 3px;

    color: #8AA0AB;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1px;
}

.live-map-loaded strong {
    color: var(--blue);
    font-size: 13px;
}

.live-map-note {
    max-width: 920px;
    margin-top: 18px;
}

/* Marcadores del mapa vivo */

.bluedrop-live-marker-wrapper {
    background: transparent;
    border: none;
}

.bluedrop-live-marker {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    border: 5px solid white;
    border-radius: 50%;

    box-shadow: 0 5px 16px rgba(13, 46, 70, 0.26);

    font-family: "DM Sans", sans-serif;
    font-size: 8px;
    font-weight: 700;
}

.bluedrop-live-marker.report {
    background: #8AA2AD;
}

.bluedrop-live-marker.station {
    background: var(--blue);
}

.bluedrop-live-marker.fauna {
    background: var(--cyan);
}

.live-community-map-container .leaflet-control-scale-line {
    color: #617984;
    background: rgba(255, 255, 255, 0.88);
    border-color: #78909A;

    font-family: "DM Sans", sans-serif;
    font-size: 8px;
}

@media (max-width: 980px) {

    .live-layer-controls {
        grid-template-columns: repeat(2, 1fr);
    }

    .live-map-summary {
        grid-template-columns: repeat(3, 1fr);
    }

    .live-map-loaded {
        grid-column: 1 / -1;
        min-height: 58px;

        align-items: center;
        flex-direction: row;
        justify-content: space-between;

        border-top: 1px solid var(--border);
    }
}

@media (max-width: 650px) {

    .live-map-hero {
        padding-bottom: 60px;
    }

    .live-map-panel {
        padding: 18px;
    }

    .live-map-panel-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .live-layer-controls {
        grid-template-columns: 1fr;
    }

    .live-layer-toggle {
        min-height: 70px;
    }

    .live-community-map-container {
        height: 470px;
    }

    .map-live-overlay {
        top: 12px;
        right: 12px;
    }

    .live-map-summary {
        grid-template-columns: 1fr;
    }

    .live-map-summary article {
        min-height: 64px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .live-map-loaded {
        grid-column: auto;
        border-top: 0;
    }
}

/* ==========================================================
   BLUEDROP FINAL — NAVEGACIÓN MÓVIL
========================================================== */

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: white;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--blue-dark);
    transition: 0.2s ease;
}

.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 850px) {
    .navbar {
        position: relative;
        min-height: 100px;
        padding: 12px 20px;
        z-index: 2000;
    }

    .brand img { width: 112px; }
    .mobile-menu-toggle { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 88px;
        left: 20px;
        right: 20px;
        padding: 10px;
        background: white;
        border: 1px solid var(--border);
        border-radius: 14px;
        box-shadow: 0 18px 45px rgba(13, 46, 70, 0.12);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-links.mobile-open { display: flex; }

    .nav-links a:not(.nav-button),
    .nav-links > a {
        display: block;
        width: 100%;
        padding: 13px 14px;
        border-bottom: 1px solid #EDF3F5;
    }

    .nav-links > a:last-child { border-bottom: 0; }

    .nav-links .nav-button {
        margin-top: 8px;
        text-align: center;
        border-bottom: 1px solid var(--blue) !important;
    }
}


/* ==========================================================
   ESTADO PÚBLICO
========================================================== */

.status-dot.status-neutral { background: #9AAEB8; box-shadow: 0 0 0 6px rgba(154, 174, 184, 0.13); }
.status-dot.status-adequate { background: var(--green); box-shadow: 0 0 0 6px rgba(88, 171, 65, 0.13); }
.status-dot.status-warning { background: #D9A323; box-shadow: 0 0 0 6px rgba(217, 163, 35, 0.14); }
.status-dot.status-critical { background: #C95D5D; box-shadow: 0 0 0 6px rgba(201, 93, 93, 0.14); }

.status-updated {
    display: block;
    margin-top: 9px;
    color: #8AA0AB;
    font-size: 10px;
}


/* ==========================================================
   OBSERVATORIO DE FAUNA — DATOS REALES
========================================================== */

.fauna-public-message {
    padding: 36px 20px;
    color: var(--muted);
    text-align: center;
    border: 1px dashed var(--border);
    border-radius: 12px;
    background: var(--soft);
}

.fauna-detail-button {
    padding: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

.discover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discover-content .button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.fauna-modal[hidden] { display: none !important; }
.fauna-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.fauna-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 33, 49, 0.64);
    backdrop-filter: blur(5px);
}

.fauna-modal-card {
    position: relative;
    z-index: 1;
    width: min(860px, 100%);
    max-height: 88vh;
    overflow: auto;
    background: white;
    border-radius: 18px;
    box-shadow: 0 30px 90px rgba(4, 32, 52, 0.28);
}

.fauna-modal-close {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.94);
    color: var(--ink);
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(13,46,70,0.12);
}

.fauna-modal-photo {
    width: 100%;
    max-height: 390px;
    object-fit: cover;
    display: block;
    background: var(--light-blue);
}

.fauna-modal-placeholder {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #79A8B9;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.fauna-modal-body { padding: 36px; }
.fauna-modal-body h2 { font-size: 34px; line-height: 1.1; margin-bottom: 5px; }
.fauna-modal-identification { color: var(--muted); margin-bottom: 25px; }

.fauna-modal-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.fauna-modal-meta small,
.fauna-modal-conditions > span {
    display: block;
    color: #8BA0AA;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.fauna-modal-meta strong { display: block; margin-top: 3px; font-size: 12px; }
.fauna-modal-description { margin: 24px 0; color: var(--muted); line-height: 1.75; }
.fauna-modal-conditions { margin-top: 26px; }
.fauna-modal-conditions > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.fauna-modal-conditions article { padding: 14px; background: var(--soft); border: 1px solid var(--border); border-radius: 9px; }
.fauna-modal-conditions small { display: block; color: var(--muted); font-size: 10px; }
.fauna-modal-conditions strong { display: block; margin-top: 3px; font-size: 15px; }
.fauna-modal-no-context { margin-top: 24px; color: var(--muted); font-size: 13px; }
.fauna-science-note { margin-top: 25px; padding: 16px 18px; background: #F3FAFC; border-left: 3px solid var(--cyan); color: var(--muted); font-size: 12px; line-height: 1.65; }
body.modal-open { overflow: hidden; }

@media (max-width: 650px) {
    .fauna-modal { padding: 12px; }
    .fauna-modal-body { padding: 26px 20px; }
    .fauna-modal-body h2 { font-size: 28px; }
    .fauna-modal-meta { grid-template-columns: 1fr 1fr; }
    .fauna-modal-conditions > div { grid-template-columns: 1fr 1fr; }
}


/* ==========================================================
   ADMIN — ESTADO PÚBLICO Y FAUNA
========================================================== */

.admin-module {
    margin-top: 70px;
    padding-top: 60px;
    border-top: 1px solid var(--border);
}

.admin-module-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.admin-module-heading h2 { font-size: 34px; line-height: 1.15; margin-bottom: 8px; }
.admin-module-heading p { max-width: 680px; color: var(--muted); font-size: 14px; }
.admin-module-count { font-size: 34px; color: var(--blue); }

.admin-data-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 26px;
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.admin-data-form label > span,
.admin-form-subtitle {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.admin-data-form input,
.admin-data-form select,
.admin-data-form textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #CFE0E7;
    border-radius: 8px;
    background: white;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    outline: none;
}

.admin-data-form input:focus,
.admin-data-form select:focus,
.admin-data-form textarea:focus { border-color: var(--blue); }
.admin-data-form textarea { resize: vertical; }
.admin-form-wide { grid-column: 1 / -1; }
.admin-form-subtitle { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--blue); }
.admin-form-subtitle small { color: var(--muted); font-weight: 500; text-transform: none; }
.admin-check { display: flex !important; align-items: center; gap: 10px; }
.admin-check input { width: 18px; height: 18px; }
.admin-check span { margin: 0 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 12px !important; }
.admin-form-actions { display: flex; align-items: center; gap: 16px; }
.admin-form-actions .admin-approve { min-width: 160px; }
.admin-inline-message { color: var(--muted); font-size: 12px; }

.admin-fauna-list { display: grid; gap: 16px; margin-top: 24px; }
.admin-fauna-card { display: grid; grid-template-columns: 220px 1fr; overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background: white; }
.admin-fauna-media { min-height: 220px; background: var(--light-blue); }
.admin-fauna-media img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; }
.admin-fauna-placeholder { height: 100%; min-height: 220px; display: flex; align-items: center; justify-content: center; color: #7FA7B5; font-size: 9px; font-weight: 700; letter-spacing: 1.4px; }
.admin-fauna-copy { padding: 24px; }
.admin-fauna-copy h3 { margin: 13px 0 2px; font-size: 23px; }
.admin-fauna-copy > p { color: var(--muted); font-size: 12px; }
.admin-fauna-description { margin-top: 12px; line-height: 1.6; }
.admin-fauna-meta { display: flex; gap: 18px; margin-top: 16px; color: var(--muted); font-size: 11px; }
.admin-fauna-context { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.admin-fauna-context span { padding: 5px 8px; border-radius: 6px; background: var(--soft); border: 1px solid var(--border); color: var(--muted); font-size: 10px; }

@media (max-width: 760px) {
    .admin-module-heading { align-items: flex-start; flex-direction: column; }
    .admin-data-form { grid-template-columns: 1fr; padding: 20px; }
    .admin-form-wide { grid-column: auto; }
    .admin-fauna-card { grid-template-columns: 1fr; }
    .admin-fauna-media, .admin-fauna-media img, .admin-fauna-placeholder { min-height: 210px; max-height: 300px; }
    .admin-form-actions { align-items: flex-start; flex-direction: column; }
}

/* ==========================================================
   ADMIN — EDICIÓN DE FAUNA
========================================================== */
.admin-edit-banner {
    padding: 16px 18px;
    border: 1px solid #B9DAEB;
    border-left: 4px solid var(--blue);
    border-radius: 10px;
    background: #EDF8FC;
}
.admin-edit-banner > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.admin-edit-banner strong { font-size: 14px; color: var(--ink); }
.admin-edit-banner span { font-size: 11px; color: var(--blue-dark); font-weight: 700; }
.admin-edit-banner p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.admin-photo-help { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); }
.admin-edit-cancel, .admin-fauna-edit {
    border: 1px solid #B8D4E1;
    border-radius: 8px;
    padding: 10px 16px;
    background: #FFFFFF;
    color: var(--blue-dark);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.admin-edit-cancel:hover, .admin-fauna-edit:hover { background: #EAF6FB; }
.admin-edit-cancel:focus-visible, .admin-fauna-edit:focus-visible { outline: 3px solid #69B9E1; outline-offset: 2px; }
.admin-edit-cancel:disabled, .admin-fauna-edit:disabled { cursor: wait; opacity: .55; }
.admin-data-form .admin-edit-banner[hidden],
.admin-data-form .admin-edit-cancel[hidden] { display: none !important; }
.admin-fauna-card .admin-report-actions { flex-wrap: wrap; }
