.uae-map-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.map-wrapper {
    position: relative;
    width: 100%;
}

#uae-map-front {
    width: 100%;
    height: auto;
    display: block;
}

.pins-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pin-marker {
    position: absolute;
    transform: translate(-50%, -100%);
    cursor: pointer;
    pointer-events: auto;
    font-size: 24px;
    line-height: 1;
    z-index: 100;
}

.pin-marker::after {
    content: '📍';
}

.pin-info-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;  /* Only this display property */
}

.pin-info-popup.active {
    display: flex;  /* Now flex will only apply when .active class is present */
    align-items: center;
    justify-content: center;
}

.pin-info-content {
    position: relative;  /* Changed from absolute */
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    width: 90%;
}

/* Rest of the styles remain exactly the same */
.pin-info-content h3 {
    margin: 0 0 10px 0;
    padding-right: 30px;
}

.pin-info-content p {
    margin: 0;
    line-height: 1.5;
    margin-bottom: 5px;
}

.view-location {
    padding: 2px 5px 2px 5px !important;
    background-color: #1a6c7a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 15px;
}

.close-pin-info {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.close-pin-info:hover {
    color: #000;
}

.pin-marker:hover {
    transform: translate(-50%, -100%) scale(1.1);
    transition: transform 0.2s ease;
}