/* Dynamic Oxfam Map Popup Styling */
#oxfam-custom-popup {
    position: absolute;
    display: none; 
    z-index: 99999;
    background-color: #ffffff; 
    border-top: 4px solid #5fa137; /* Oxfam Green accent */
    border-radius: 6px; 
    width: 280px; 
    padding: 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
#oxfam-custom-popup .oxfam-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #999999;
    cursor: pointer;
    line-height: 1;
}
#oxfam-custom-popup .oxfam-popup-close:hover {
    color: #333333;
}
#oxfam-custom-popup h3 {
    color: #333333; 
    margin: 0 0 12px 0; 
    font-size: 22px;
    font-weight: bold;
    padding-right: 20px; /* Space for close button */
}
#oxfam-custom-popup p {
    color: #555555; 
    line-height: 1.5; 
    font-size: 14px;
    margin: 0 0 15px 0;
}
#oxfam-custom-popup .oxfam-popup-link {
    display: inline-block;
    color: #5fa137;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
}
#oxfam-custom-popup .oxfam-popup-link:hover {
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #oxfam-custom-popup {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 85% !important;
        max-width: 320px !important;
        z-index: 999999 !important;
        box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    }
}
