#emea-scarcity-map {
    margin: 0 auto;
}

#emea-scarcity-map h3 {
    font-size: 1.35rem;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 18px;
    line-height: 1.6;
}

#scarcity-map {
    background: #fff;
}

#emea-scarcity-map svg {
    width: 100%;
    height: auto;
    display: block;
}

.country {
    stroke: #fff;
    stroke-width: 0.7;
    transition: opacity 0.15s;
}

.country:hover {
    stroke: #111;
    stroke-width: 1.6;
    cursor: pointer;
    opacity: 0.85;
}

.tooltip {
    position: fixed;
    background: #1a1a1a;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    box-shadow: 0 4px 18px rgba(0,0,0,0.3);
    line-height: 1.5;
    z-index: 999;
}

.tooltip .band-pill {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 4px;
    vertical-align: middle;
}

.tooltip .band-pill.insufficient-data {
    color: #111;
}

.legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 13px;
    color: #444;
}

.legend-swatch {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.12);
}

.legend-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.legend span {
    font-size: 14px;
    line-height: 16px;
}

.source {
    margin-top: 16px;
    text-align: center;
    font-size: 12px;
    color: #999;
}

.national-badge {
    margin-bottom: 18px;
    font-size: 14px;
    color: #555;
}

.national-badge strong {
    font-size: 18px;
    color: #6b1f1f;
}
