

 @layer components.map-popup-buttons {
/* Share button styling for popups */
.popup-share-btn {
    position: absolute;
    top: 12px;
    inset-inline-end: 44px; /* Reduced spacing between buttons */
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px; /* Slightly rounded instead of circular */
    width: 28px; /* Smaller buttons */
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.popup-share-btn:hover {
    background: #4CAF50;
    border-color: #4CAF50;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.popup-share-btn:hover svg {
    stroke: white;
}

.popup-share-btn svg {
    width: 14px;
    height: 14px;
    stroke: #666;
    transition: stroke 0.2s ease;
}

.popup-share-btn:active {
    transform: translateY(0);
}

/* Adjust all popup button positions for cleaner layout */
.popup-close-btn-layer1 {
    inline-size: 28px !important;
    block-size: 28px !important;
    border-radius: 6px !important;
    font-size: 18px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: blur(10px) !important;
}

.popup-hide-btn-layer1 {
    position: absolute !important;
    inset-block-start: 0.75rem !important;
    inset-inline-end: 4.75rem !important; /* Adjusted spacing */
    inline-size: 1.75rem !important;
    block-size: 1.75rem !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    z-index: 10 !important;
    backdrop-filter: blur(10px) !important;
}

.popup-hide-btn-layer1:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3) !important;
}

.popup-hide-btn-layer1:hover svg {
    stroke: white !important;
}

.popup-hide-btn-layer1 svg {
    inline-size: 0.875rem !important;
    block-size: 0.875rem !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .popup-share-btn,
    .popup-hide-btn-layer1,
    .popup-close-btn-layer1 {
        inline-size: 2rem !important;
        block-size: 2rem !important;
    }
    
    .popup-share-btn svg,
    .popup-hide-btn-layer1 svg {
        inline-size: 1rem !important;
        block-size: 1rem !important;
    }
    
    .popup-close-btn-layer1 {
        font-size: 20px !important;
    }
    
    /* Increase spacing on mobile for easier tapping */
    .popup-share-btn {
        inset-inline-end: 48px;
    }
    
    .popup-hide-btn-layer1 {
        inset-inline-end: 5.25rem !important;
    }
}

/* Copy notification styling */
.copy-notification {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.copy-notification svg {
    flex-shrink: 0;
}

/* RTL support - no longer needed as we use logical properties above */
/* The logical properties (inset-inline-end) automatically flip for RTL */

 }