html,
body {
    overflow-x: clip !important;
}

.ihm-map-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    overflow: hidden !important;
    max-width: 100% !important;
}

.leaflet-container,
#ireland-humidity-map,
[id*="fbs-te-map"] {
    overflow: hidden !important;
    max-width: 100% !important;
}

.ihm-map-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.4);
    color: #000;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.2em;
    padding: 20px;
    pointer-events: all;
    text-shadow: 0 0 8px #fff, 0 0 5px #fff, 0 0 2px #fff;
    cursor: pointer;
}

.ireland-humidity-zones-summary {
    margin-top: 15px;
    font-size: 14px;
}

.ireland-humidity-zones-summary h3 {
    margin: 0 0 5px;
    font-size: 16px;
}

.ireland-humidity-location-count {
    margin: 0 0 6px;
}

.ireland-humidity-zones-summary ul {
    margin: 0;
    padding-left: 18px;
}

.ireland-humidity-locations-table {
    margin-top: 18px;
    overflow-x: auto;
}

.ireland-humidity-locations-table h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.ireland-humidity-locations-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ireland-humidity-locations-table th,
.ireland-humidity-locations-table td {
    border: 1px solid #d9d9d9;
    padding: 8px 10px;
    text-align: left;
}

.ireland-humidity-locations-table th {
    background: #f5f7fa;
}

.ihm-map-canvas:empty {
    background: linear-gradient(135deg, #edf6ff 0%, #f8fbff 52%, #eef7f3 100%);
}

.ihm-map-loading {
    display: none;
    width: 34px;
    height: 34px;
    margin-left: 14px;
    border: 4px solid rgba(0, 0, 0, 0.14);
    border-top-color: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
    animation: ihm-map-spin 0.8s linear infinite;
}

.ihm-map-is-loading .ihm-map-loading {
    display: inline-block;
}

.ihm-map-is-loading .ihm-map-overlay {
    background: rgba(255, 255, 255, 0.72);
}


.ihm-map-is-open .ihm-map-overlay,
.ihm-map-is-open .ihm-map-loading {
    display: none !important;
}

@keyframes ihm-map-spin {
    to {
        transform: rotate(360deg);
    }
}


.ihm-city-tooltip {
    font-weight: 700;
    color: #083d77;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(8, 61, 119, 0.25);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    padding: 4px 7px;
}
