/* Wrapper-li för knappen – trycks ut till höger i raden med badges */
.bk-facilities-item {
    margin-left: auto;
}

/* Själva knappen – samma känsla som "Skicka bokningsförfrågan" */
.bk-facilities-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1.3rem;
    border-radius: 999px;
    border: none;
    background: #FFB300;
    color: #002F4A;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    transition: background 0.12s ease, transform 0.08s ease, box-shadow 0.08s ease;
    white-space: nowrap;
}

.bk-facilities-trigger:hover {
    background: #ffc533;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.bk-facilities-trigger:active {
    transform: translateY(0);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18);
}

/* Dimma bakgrunden när popupen är öppen */
.bk-facilities-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

/* Själva popup-kortet */
.bk-facilities-modal {
    max-width: 480px;
    width: 100%;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.30);
    padding: 1.5rem 1.75rem 1.75rem;
    position: relative;
    animation: bkFacilitiesPopIn 0.14s ease-out;
}

/* Titelrad + stäng-ikon */
.bk-facilities-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bk-facilities-modal-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #111827;
}

.bk-facilities-close {
    border: none;
    background: #F3F4F6;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: #4B5563;
    transition: background 0.12s ease, transform 0.08s ease;
}

.bk-facilities-close:hover {
    background: #E5E7EB;
    transform: translateY(-1px);
}

/* Lista med faciliteter */
.bk-facilities-list {
    list-style: none;
    padding: 0;
    margin: 0.25rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.4rem 1rem;
    font-size: 0.95rem;
}

.bk-facilities-list-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #111827;
}

/* Liten, ren bock-ikon */
.bk-facilities-check {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    line-height: 1;
}

/* Enkla keyframes för "pop in" */
@keyframes bkFacilitiesPopIn {
    from {
        opacity: 0;
        transform: translateY(4px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobiljustering */
@media (max-width: 640px) {
    .bk-facilities-modal {
        padding: 1.25rem 1.25rem 1.5rem;
        border-radius: 16px;
    }
}
