/* ── Phase 21: Just Opened map page ─────────────────────────────────── */

/* Hero */
.drops-hero {
    background: var(--color-forest-black);
    padding: 4rem 2rem 2rem;
    text-align: center;
}
.drops-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #ffffff;
    margin: 0 0 0.5rem;
}
.drops-hero__sub {
    color: var(--color-sage);
    font-size: 1.125rem;
    margin: 0 0 2rem;
}

/* Stats bar */
.drops-stats-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.5rem 2rem;
    background: rgba(0, 104, 74, 0.08);
    border-top: 1px solid rgba(0, 237, 100, 0.15);
    border-bottom: 1px solid rgba(0, 237, 100, 0.15);
}
.drops-stat {
    text-align: center;
}
.drops-stat__value {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-forest-black);
    line-height: 1;
}
.drops-stat__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-forest-black);
    margin-top: 0.25rem;
}

/* Map + panel layout */
.drops-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    height: 60vh;
    min-height: 480px;
}
@media (max-width: 900px) {
    .drops-layout {
        grid-template-columns: 1fr;
        grid-template-rows: 50vh auto;
    }
}

#drops-map {
    background: #001e2b;
}

/* Side panel */
.drops-panel {
    background: #0a2030;
    border-left: 1px solid rgba(0, 237, 100, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.drops-panel__header {
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.drops-panel__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.75rem;
}

/* State filter chips */
.drops-filter-chips {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.drops-chip {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 237, 100, 0.3);
    background: transparent;
    color: var(--color-sage);
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.drops-chip:hover,
.drops-chip.active {
    background: var(--color-evergreen);
    border-color: var(--color-evergreen);
    color: #fff;
}

/* Drop list */
.drops-list {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
}
.drop-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: background 0.15s;
}
.drop-item:hover,
.drop-item.active {
    background: rgba(0, 237, 100, 0.06);
}
.drop-item__site {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.drop-item__meta {
    font-size: 0.75rem;
    color: var(--color-sage);
}
.drop-item__lead {
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    align-self: flex-start;
    font-weight: 600;
}
.drop-item__lead--urgent  { background: rgba(239,68,68,0.2); color: #f87171; }
.drop-item__lead--soon    { background: rgba(251,146,60,0.2); color: #fb923c; }
.drop-item__lead--future  { background: rgba(59,130,246,0.2); color: #60a5fa; }

/* Leaflet marker colors via SVG class */
.drops-marker-urgent path  { fill: #ef4444; }
.drops-marker-soon path    { fill: #f97316; }
.drops-marker-future path  { fill: #3b82f6; }

/* Explainer section */
.drops-explainer {
    max-width: 860px;
    margin: 4rem auto;
    padding: 0 2rem;
}
.drops-explainer__heading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0 0 1rem;
}
.drops-explainer p {
    color: var(--color-forest-black);
    line-height: 1.7;
    margin: 0 0 1rem;
}

/* Featured parks */
.drops-featured {
    background: rgba(0, 104, 74, 0.06);
    padding: 4rem 2rem;
}
.drops-featured__heading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #ffffff;
    text-align: center;
    margin: 0 0 2rem;
}
.drops-featured__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}
.drops-featured-card {
    background: #0a2030;
    border: 1px solid rgba(0, 237, 100, 0.12);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: #ffffff;
    transition: border-color 0.2s, transform 0.2s;
}
.drops-featured-card:hover {
    border-color: var(--color-spring-green);
    transform: translateY(-2px);
}
.drops-featured-card__name {
    font-weight: 700;
    color: #ffffff;
    font-size: 1rem;
    margin: 0 0 0.25rem;
}
.drops-featured-card__state {
    font-size: 0.8rem;
    color: var(--color-sage);
    margin: 0 0 1rem;
}
.drops-featured-card__count {
    font-size: 1.5rem;
    font-family: var(--font-display);
    color: var(--color-spring-green);
}
.drops-featured-card__count-label {
    font-size: 0.75rem;
    color: var(--color-sage);
}

/* CTA band */
.drops-cta-band {
    background: linear-gradient(135deg, #00684a 0%, #004d38 100%);
    padding: 4rem 2rem;
    text-align: center;
}
.drops-cta-band__heading {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #fff;
    margin: 0 0 1rem;
}
.drops-cta-band__sub {
    color: rgba(255,255,255,0.8);
    margin: 0 0 2rem;
}
.drops-cta-band .btn-primary {
    background: transparent;
    color: #ffffff;
    padding: 0.875rem 2.5rem;
    border-radius: 8px;
    border: 2px solid #ffffff;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}
.drops-cta-band .btn-primary:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Loading state */
.drops-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Map popup */
.drops-popup {
    min-width: 190px;
    font-family: 'DM Sans', sans-serif;
}
.drops-popup__name {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.25rem;
}
.drops-popup__date {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0 0 0.75rem;
}
.drops-popup__actions {
    display: flex;
    gap: 0.625rem;
    align-items: center;
}
.drops-popup__alert-btn {
    display: inline-block;
    background: #00684a;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
}
.drops-popup__alert-btn:hover {
    background: #005a3e;
    color: #fff;
}
.drops-popup__detail-link {
    font-size: 0.8rem;
    color: #00684a;
    text-decoration: none;
    white-space: nowrap;
}
.drops-popup__detail-link:hover {
    text-decoration: underline;
}
