.consulats-map-shell {
    overflow: hidden;
    width: 100%;
    border: 1px solid #dddddd;
    border-top: 4px solid #1E2C23;
    border-radius: 0;
    background: #ffffff;
    color: #161616;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.consulats-map-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #dddddd;
    background: #f6f6f6;
}

.consulats-map-search {
    display: grid;
    gap: 7px;
    width: min(100%, 380px);
}

.consulats-map-search label {
    margin: 0;
    color: #3a3a3a;
    font-size: 13px;
    font-weight: 700;
}

.consulats-map-country-select {
    width: 100%;
    min-height: 44px;
    padding: 0 42px 0 13px;
    border: 1px solid #dddddd;
    border-bottom: 2px solid #3a3a3a;
    border-radius: 0;
    background-color: #ffffff;
    color: #161616;
    font-size: 15px;
    line-height: 1.2;
}

.consulats-map-country-select:focus {
    outline: 2px solid #1E2C23;
    outline-offset: 2px;
    border-bottom-color: #1E2C23;
}

.consulats-map-reset {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid #1E2C23;
    border-radius: 0;
    background: #ffffff;
    color: #1E2C23;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}

.consulats-map-reset:hover,
.consulats-map-reset:focus {
    background: #edf2ef;
    outline: 2px solid #1E2C23;
    outline-offset: 2px;
}

.consulats-map {
    width: 100%;
    min-height: 320px;
    background: #f6f6f6;
}

.consulats-map-empty {
    padding: 16px;
    border: 1px solid #d7dee8;
    background: #f8fafc;
}

.consulats-map-popup {
    display: grid;
    gap: 10px;
    min-width: 240px;
    max-width: 310px;
    color: #161616;
    font-size: 14px;
    line-height: 1.4;
}

.consulats-map-popup-heading {
    display: grid;
    gap: 3px;
    padding: 0 0 10px 12px;
    border-bottom: 1px solid #eeeeee;
    border-left: 3px solid #1E2C23;
}

.consulats-map-popup-title {
    font-size: 16px;
    line-height: 1.25;
}

.consulats-map-popup-country {
    color: #666666;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.consulats-map-popup span {
    display: grid;
    gap: 2px;
}

.consulats-map-popup b {
    color: #666666;
    font-size: 12px;
    text-transform: uppercase;
}

.consulats-map-popup a {
    color: #1E2C23;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.consulats-map-popup a:hover,
.consulats-map-popup a:focus {
    color: #31483a;
}

.consulats-map-pdf-link {
    display: inline-block;
    margin-top: 2px;
    padding: 9px 12px;
    border-radius: 0;
    background: #1E2C23;
    color: #ffffff !important;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
}

.consulats-map-pdf-link:hover,
.consulats-map-pdf-link:focus {
    background: #31483a;
    text-decoration: none !important;
}

.consulats-map-shell .leaflet-control-zoom {
    overflow: hidden;
    border: 1px solid #dddddd;
    border-radius: 0;
    box-shadow: none;
}

.consulats-map-shell .leaflet-control-zoom a {
    color: #1E2C23;
}

.consulats-map-shell .leaflet-popup-content-wrapper {
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(22, 22, 22, 0.18);
}

.consulats-map-shell .leaflet-popup-content {
    margin: 18px;
}

@media (max-width: 680px) {
    .consulats-map-toolbar {
        align-items: stretch;
        flex-direction: column;
        padding: 14px;
    }

    .consulats-map-search {
        width: 100%;
    }

    .consulats-map-reset {
        width: 100%;
    }
}

.consulats-map-pin {
    background: transparent;
    border: 0;
}

.consulats-map-pin span {
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50% 50% 50% 0;
    background: #1E2C23;
    box-shadow: 0 4px 10px rgba(30, 44, 35, 0.24);
    transform: rotate(-45deg);
}

.consulats-map-pin span::after {
    content: "";
    position: absolute;
    top: 9px;
    left: 9px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
}
