/* Guest Request Modal Overlay Backdrop */
.guest-request-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1.5rem;
}

.guest-request-modal-overlay.hidden {
    display: none !important;
}

/* Expanded & Spacious Guest Request Modal Card */
.guest-request-modal-card {
    background-color: var(--card-bg, #ffffff);
    color: var(--text-color, #1e293b);
    border: 1px solid var(--card-border, #e2e8f0);
    border-radius: 18px;
    width: 92vw;
    max-width: 920px;       /* Significantly expanded from 650px */
    height: 88vh;           /* Taller default height */
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Header & Footer Flex Locking */
.guest-request-modal-header,
.guest-request-modal-footer {
    flex-shrink: 0;
}

/* Custom Scrollbar Styling */
.guest-request-modal-body::-webkit-scrollbar {
    width: 6px;
}
.guest-request-modal-body::-webkit-scrollbar-track {
    background: transparent;
}
.guest-request-modal-body::-webkit-scrollbar-thumb {
    background-color: var(--card-border, #cbd5e1);
    border-radius: 4px;
}

/* Theme Button & Accent Styling (#c56c86) */
.guest-request-modal-card .btn-primary {
    background-color: #c56c86 !important;
    border-color: #c56c86 !important;
    color: #ffffff !important;
    font-weight: 600;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.guest-request-modal-card .btn-primary:hover,
.guest-request-modal-card .btn-primary:focus,
.guest-request-modal-card .btn-primary:active {
    background-color: #b05b74 !important;
    border-color: #b05b74 !important;
    box-shadow: 0 0 0 0.25rem rgba(197, 108, 134, 0.25) !important;
}

/* Input Focus Ring Matching Theme Color */
.guest-request-modal-card .form-control:focus,
.guest-request-modal-card .form-select:focus {
    border-color: #c56c86 !important;
    box-shadow: 0 0 0 0.25rem rgba(197, 108, 134, 0.2) !important;
}

.text-theme-pink {
    color: #c56c86 !important;
}

/* Single Main Scroll Container */
.guest-request-modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
}

/* Ensure no nested containers generate secondary scrollbars */
.guest-request-modal-body .list-group,
.guest-request-modal-body .row {
    max-height: none !important;
    overflow: visible !important;
}
