/* Map Popup Styles - Destinations */
.elm-popup-grid {
    display: grid;
    grid-template-columns: 30% 70%;
    column-gap: 16px;
    padding-bottom: 15px;
    align-items: start;
    position: relative;
}

.elm-popup-left {
    border-right: 1px solid rgba(0,0,0,0.1);
    padding-right: 20px;
}

.elm-popup-right h3 {
    color: #C4A10E !important;
    font-weight: 300 !important;
    font-size: 15px;
    margin: 0 0 6px;
}

.elm-popup-left img {
    width: 100%;
    border-radius: 6px;
    margin-top: 6px;
}

.elm-popup-right {
    padding-left: 5px;
    padding-right: 50px;
}

.elm-popup-right p {
    font-size: 11px;
    color: gray;
    line-height: 1.6;
    margin: 0;
}

.elm-popup {
    position: relative;
    padding-top: 20px;
}

.elm-popup-close {
    position: absolute;
    top: 4px;
    right: 1px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #555;
    font-size: 18px;
    font-weight: bold;
    line-height: 28px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s ease, background 0.2s ease;
}

.elm-popup-close:hover {
    color: #C4A10E;
    background: rgba(196, 161, 14, 0.12);
}

/* Hotel Map Popup Styles */
.elm-hotel-popup-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 14px;
}

.elm-hotel-popup-left img {
    width: 100%;
    border-radius: 6px;
}

.elm-hotel-popup-right h3 {
    margin: 0 0 6px;
    font-size: 15px;
    color: #C4A10E !important;
}

.elm-hotel-popup-right p {
    font-size: 12px;
    margin: 2px 0;
    color: #555;
}

.elm-hotel-meta {
    margin-top: 6px;
}

.elm-hotel-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
}

.elm-hotel-icon {
    font-size: 14px;
    line-height: 1.2;
    min-width: 16px;
}

.elm-hotel-text {
    font-size: 12px;
    color: #555;
    line-height: 1.4;
}

/* Mobile responsive for destination map popups */
@media (max-width: 520px) {
    .leaflet-popup-content {
        width: 75vw !important;
        margin: 8px;
    }

    .elm-popup-grid {
        display: block;
    }
    
    .elm-popup-left,
    .elm-popup-right {
        padding: 0;
        border: none;
    }
}
