/* Popup Overlay */
#popupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

/* Popup Container */
#zonesPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    display: none;
    padding: 20px;
    font-family: 'Arial', sans-serif;
}

/* Popup Header */
#zonesPopup h3 {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

/* Zone List */
.zone-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

/* Zone Item */
.zone-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.zone-item:hover {
    background-color: #f0f8ff;
    border-color: #0073aa;
}

.zone-item input[type="radio"] {
    margin-right: 10px;
}

.zone-name {
    font-size: 14px;
    color: #555;
}

/* Popup Footer */
.popup-footer {
    display: flex;
    justify-content: space-between;
}

.popup-footer button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#saveZoneButton {
    background-color: #0073aa;
    color: #fff;
	 cursor: pointer;
   
}

#saveZoneButton.active {
    background-color: #0073aa;
    cursor: pointer;
}

#saveZoneButton.active:hover {
    background-color: #005a87;
}

#closePopupButton {
    background-color: #f44336;
    color: #fff;
}

#closePopupButton:hover {
    background-color: #d32f2f;
}
