.zone-map-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    z-index: 999999;
    padding: 20px;
    box-sizing: border-box;
}

.zone-map-modal-content {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 900px;
    height: calc(100% - 40px);
    max-height: 700px;
    margin: auto;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    top: 50%;
    transform: translateY(-50%);
}

.zone-map-close {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000000;
    background: #fff;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1;
    border: 2px solid #ddd;
}

.zone-map-close:hover {
    background: #f44336;
    color: #fff;
    border-color: #f44336;
}

.zone-map-render {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.zone-map-render .leaflet-container {
    width: 100% !important;
    height: 100% !important;
}

/* Button style */
.zone-map-open {
    background: #2196F3;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 13px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.zone-map-open:hover {
    background: #1976D2;
}
.zone-map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 18px;
    color: #666;
}
.zone-map-arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    position: relative;
    top: -1px;
    transition: transform 0.2s;
}

.zone-map-open:hover .zone-map-arrow {
    transform: rotate(45deg) translate(2px, -2px);
}
.zone-map-link {
    color: #2196F3;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
}

.zone-map-link:hover {
    color: #1565C0;
}
a[data-modal] {
    color: #2196F3;
    text-decoration: underline;
    cursor: pointer;
}

a[data-modal]:hover {
    color: #1565C0;
}
