/* Booknetic Group Booking — "Choose Group Size" popup.
   Namespaced .bkntc-gb-* on purpose: .popup-overlay belongs to the
   custom-duration addon (its CSS may be absent, and other addon scripts
   remove .popup-overlay nodes globally). */

.booknetic_appointment_container {
    position: relative;
}

.bkntc-gb-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 10;
}

.bkntc-gb-popup {
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    z-index: 11;
    width: 90%;
    max-width: 340px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    font-family: inherit;
}

.bkntc-gb-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 16px;
    font-weight: 600;
    color: #292d32;
}

.bkntc-gb-close {
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    color: #8c8c8c;
    padding: 0 2px;
}

.bkntc-gb-close:hover {
    color: #292d32;
}

.bkntc-gb-popup-body {
    padding: 16px;
}

.bkntc-gb-popup-body label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #6c757d;
}

.bkntc-gb-popup-body select {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #d5d9e0;
    border-radius: 6px;
    font-size: 14px;
    color: #292d32;
    background: #fff;
}

.bkntc-gb-popup-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
}

.bkntc-gb-btn {
    border: 0;
    border-radius: 6px;
    padding: 9px 18px;
    font-size: 14px;
    cursor: pointer;
}

.bkntc-gb-btn-cancel {
    background: #f1f3f6;
    color: #292d32;
}

.bkntc-gb-btn-cancel:hover {
    background: #e5e8ee;
}

.bkntc-gb-btn-continue {
    background: #6c5ce7;
    color: #fff;
}

.bkntc-gb-btn-continue:hover {
    background: #5a4bd4;
}

/* Per-service "Select all / Deselect all" toggle in the Me/Guest assignment row */
.bkntc-gb-select-all {
    background: none;
    border: 0;
    padding: 0;
    font-size: 12px;
    font-family: inherit;
    color: #6c5ce7;
    text-decoration: underline;
    cursor: pointer;
    align-self: center;
    white-space: nowrap;
}

.bkntc-gb-select-all:hover {
    color: #5a4bd4;
}
