/**
 * Map Popup Styling
 * 
 * Styling voor de inhoud van popups op de kaart.
 * Gebruikt in combinatie met badge-ui componenten.
 */

/* Container voor badges in een popup (naast elkaar) */
.popup-badge-container {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
    line-height: 1; /* Reset line-height, maar niet 0 om clipping te voorkomen */
    min-height: 24px; /* Reserveer ruimte om layout shift te voorkomen */
}

/* Container voor de "Details" knop onder de badges */
.popup-actions-container {
    margin-top: 6px;
}

/* De "Details" knop in de popup */
.popup-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: white;
    color: #333;
    text-decoration: none;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    font-family: system-ui, -apple-system, sans-serif;
}

.popup-details-btn:hover {
    background: #f9fafb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    text-decoration: none;
    color: #111;
}

.popup-details-btn i {
    font-size: 9px;
    color: #666;
}

/* Mobile optimization: grotere touch targets */
@media (max-width: 768px) {
    .popup-badge-container {
        gap: 6px;
    }

    .popup-actions-container {
        margin-top: 8px;
    }

    .popup-details-btn {
        font-size: 14px;
        padding: 6px 12px;
        border-radius: 10px; /* Iets ronder voor grotere knop */
    }

    .popup-details-btn i {
        font-size: 11px;
    }
}
