.client-map-popup-fixed {
    position: fixed !important;
    top: 80px !important; /* Below header */
    left: 20px !important;
    bottom: 20px !important; /* Stretch to bottom */
    right: auto !important;
    transform: none !important; /* Override Leaflet's positioning */
    margin: 0 !important;
    width: 400px !important;
    max-width: 400px !important;
    z-index: 1000 !important;
    display: flex;
    flex-direction: column;
}

.client-map-popup-fixed .leaflet-popup-content-wrapper {
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    overflow: hidden;
    background: white;
    padding: 0;
}

.client-map-popup-fixed .leaflet-popup-content {
    margin: 0 !important;
    height: 100%;
    overflow-y: auto;
    width: 100% !important;
}

.client-map-popup-fixed .leaflet-popup-tip-container {
    display: none !important; /* Hide the arrow */
}

.client-map-popup-fixed a.leaflet-popup-close-button {
    font-size: 24px !important;
    padding: 8px !important;
    color: #333 !important;
    z-index: 1001;
}
