/**
 * DUI Room Booking - Public Styles
 *
 * Matches Dar Ul-Isra theme: brand #890514, warm stone palette.
 *
 * @package DUI_Room_Booking
 */

/* ==========================================================================
   Events List
   ========================================================================== */

.dui-rb-events-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.dui-rb-event-card {
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid #e7e5e4;
    border-left: 3px solid #890514;
    padding: 1rem 1.125rem;
    transition: box-shadow 0.2s ease;
}

.dui-rb-event-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.dui-rb-event-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.dui-rb-event-info {
    flex: 1;
    min-width: 0;
}

.dui-rb-event-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1c1917;
    margin: 0;
    line-height: 1.35;
}

.dui-rb-event-meta {
    font-size: 0.75rem;
    color: #78716c;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.dui-rb-event-sep {
    color: #d6d3d1;
}

.dui-rb-event-room {
    font-weight: 600;
    color: #57534e;
}

.dui-rb-event-date,
.dui-rb-event-time {
    display: inline;
}

.dui-rb-event-cal-links {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
    padding-top: 0.125rem;
}

.dui-rb-add-cal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.4rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #a8a29e;
    text-decoration: none;
    border: 1px solid #e7e5e4;
    border-radius: 0.25rem;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.dui-rb-add-cal-link:hover {
    background-color: #fef2f2;
    border-color: #890514;
    color: #890514;
}

.dui-rb-add-cal-link:hover svg {
    stroke: #890514;
}

.dui-rb-add-cal-link svg {
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .dui-rb-events-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Room Schedule / Availability
   ========================================================================== */

.dui-rb-schedule {
    width: 100%;
}

.dui-rb-schedule-room-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1c1917;
    margin: 0 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #890514;
}

.dui-rb-schedule-day {
    margin-bottom: 1.5rem;
}

.dui-rb-schedule-date {
    font-weight: 700;
    font-size: 0.875rem;
    color: #890514;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.dui-rb-schedule-slot {
    display: flex;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e7e5e4;
    font-size: 0.875rem;
    align-items: baseline;
}

.dui-rb-schedule-slot:last-child {
    border-bottom: none;
}

.dui-rb-schedule-time {
    font-weight: 600;
    color: #1c1917;
    min-width: 140px;
    flex-shrink: 0;
}

.dui-rb-schedule-title {
    color: #57534e;
}

.dui-rb-schedule-unavailable {
    color: #a8a29e;
    font-style: italic;
}

/* ==========================================================================
   Subscribe Link
   ========================================================================== */

.dui-rb-subscribe {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dui-rb-subscribe-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #57534e;
}

.dui-rb-subscribe-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #890514;
    border: 1px solid #d6d3d1;
    border-radius: 9999px;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dui-rb-subscribe-link:hover {
    background-color: #890514;
    border-color: #890514;
    color: #fff;
}

.dui-rb-subscribe-link:hover svg {
    stroke: #fff;
}

/* ==========================================================================
   Empty State
   ========================================================================== */

.dui-rb-empty {
    text-align: center;
    padding: 3rem;
    color: #78716c;
    font-size: 0.9375rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 600px) {
    .dui-rb-event-card {
        padding: 1rem;
        border-radius: 0.75rem;
    }

    .dui-rb-event-title {
        font-size: 1rem;
    }

    .dui-rb-event-meta {
        font-size: 0.8125rem;
    }

    .dui-rb-schedule-slot {
        flex-direction: column;
        gap: 0.25rem;
    }

    .dui-rb-schedule-time {
        min-width: auto;
    }
}

/* ==========================================================================
   Booking Form
   ========================================================================== */

.dui-rb-form-wrap {
    max-width: 720px;
    margin: 0 auto;
    box-sizing: border-box;
}

.dui-rb-form-wrap *,
.dui-rb-form-wrap *::before,
.dui-rb-form-wrap *::after {
    box-sizing: border-box;
}

.dui-rb-form {
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 1rem;
    padding: 2rem;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: visible;
    position: relative;
}

.dui-rb-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 1.75rem;
    position: relative;
    overflow: visible;
    z-index: auto;
}

.dui-rb-fieldset:last-of-type {
    margin-bottom: 0;
}

.dui-rb-legend {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #890514;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #fde8e8;
    width: 100%;
    display: block;
}

.dui-rb-form-row {
    display: grid;
    gap: 1rem;
}

.dui-rb-form-row--two {
    grid-template-columns: 1fr 1fr;
}

.dui-rb-form-row--three {
    grid-template-columns: 1fr 1fr 1fr;
}

.dui-rb-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.dui-rb-form-row .dui-rb-field {
    margin-bottom: 0;
}

.dui-rb-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #44403c;
    margin-bottom: 0.375rem;
    line-height: 1.4;
}

.dui-rb-required {
    color: #890514;
}

/* Info icon + tooltip */
.dui-rb-info-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    color: #78716c;
    transition: color 0.15s;
}

.dui-rb-info-icon:hover,
.dui-rb-info-icon:focus {
    color: #890514;
    outline: none;
}

.dui-rb-info-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    padding: 10px 14px;
    background: #1c1917;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
    text-align: left;
    pointer-events: none;
}

.dui-rb-info-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1c1917;
}

.dui-rb-info-icon:hover .dui-rb-info-tooltip,
.dui-rb-info-icon:focus .dui-rb-info-tooltip {
    display: block;
}

.dui-rb-input {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.6rem 0.75rem !important;
    font-size: 0.9375rem;
    font-family: inherit;
    line-height: 1.5;
    color: #1c1917;
    background: #fafaf9;
    border: 1px solid #d6d3d1;
    border-radius: 0.5rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box !important;
}

/* Date inputs: match the exact same sizing as select dropdowns */
.dui-rb-input[type="date"] {
    padding: 0.6rem 0.75rem !important;
    min-height: 44px;
    -webkit-appearance: none;
    appearance: none;
}

.dui-rb-input:focus {
    outline: none;
    border-color: #890514;
    box-shadow: 0 0 0 3px rgba(137, 5, 20, 0.1);
    background: #fff;
}

.dui-rb-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2378716c' d='M6 8.825L1.175 4 2.238 2.938 6 6.7 9.763 2.937 10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2.25rem;
}

.dui-rb-textarea {
    resize: vertical;
    min-height: 4.5rem;
}

/* Availability display */
.dui-rb-availability-display {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 0.5rem;
}

.dui-rb-availability-loading {
    font-size: 0.875rem;
    color: #78716c;
    font-style: italic;
}

.dui-rb-availability-empty {
    font-size: 0.875rem;
    color: #16a34a;
    font-weight: 500;
}

.dui-rb-availability-error {
    font-size: 0.875rem;
    color: #890514;
}

.dui-rb-availability-header {
    font-size: 0.875rem;
    font-weight: 700;
    color: #44403c;
    margin-bottom: 0.5rem;
}

.dui-rb-availability-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dui-rb-availability-slot {
    padding: 0.375rem 0 0.375rem 0.75rem;
    font-size: 0.875rem;
    color: #1c1917;
    border-left: 3px solid #890514;
    margin-bottom: 0.375rem;
}

.dui-rb-availability-slot:last-child {
    margin-bottom: 0;
}

.dui-rb-slot-time {
    font-weight: 600;
}

.dui-rb-slot-title {
    color: #57534e;
}

/* Form actions / submit */
.dui-rb-form-actions {
    margin-top: 1.75rem;
    text-align: center;
}

.dui-rb-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    background: #890514;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    min-width: 220px;
    min-height: 48px;
}

.dui-rb-submit:hover {
    background: #6d0410;
}

.dui-rb-submit:active {
    transform: scale(0.98);
}

.dui-rb-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Spinner */
.dui-rb-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: dui-rb-spin 0.6s linear infinite;
}

@keyframes dui-rb-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Messages */
.dui-rb-form-messages {
    display: none;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.dui-rb-msg-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #890514;
}

.dui-rb-msg-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

/* Success state */
.dui-rb-success {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dui-rb-success-icon {
    width: 64px;
    height: 64px;
    line-height: 64px;
    font-size: 2rem;
    color: #16a34a;
    background: #f0fdf4;
    border: 2px solid #bbf7d0;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
}

.dui-rb-success h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1c1917;
    margin: 0 0 0.75rem;
}

.dui-rb-success p {
    font-size: 0.9375rem;
    color: #57534e;
    margin: 0;
    line-height: 1.6;
}

/* Room checkboxes (multi-select) */
.dui-rb-room-checkboxes {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0 !important;
    border: 1px solid #d6d3d1 !important;
    border-radius: 0.5rem !important;
    overflow: hidden;
    margin-top: 0.25rem;
    list-style: none !important;
    padding: 0 !important;
}

.dui-rb-room-checkbox {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem !important;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 0.8125rem !important;
    user-select: none;
    border-bottom: 1px solid #e7e5e4;
    border-right: 1px solid #e7e5e4;
    margin: 0 !important;
    background: #fff;
}

.dui-rb-room-checkbox:nth-child(2n) {
    border-right: none;
}

.dui-rb-room-checkbox:nth-last-child(-n+2) {
    border-bottom: none;
}

/* Odd number of items: last child spans or loses right border */
.dui-rb-room-checkbox:last-child:nth-child(odd) {
    border-right: none;
}

.dui-rb-room-checkbox:hover {
    background: #fef2f2;
}

.dui-rb-room-checkbox input[type="checkbox"] {
    accent-color: #890514;
    width: 1rem !important;
    height: 1rem !important;
    margin: 0 !important;
    flex-shrink: 0;
    -webkit-appearance: checkbox !important;
    appearance: checkbox !important;
}

.dui-rb-room-checkbox-label {
    line-height: 1.3;
}

.dui-rb-room-checkbox input[type="checkbox"]:checked + .dui-rb-room-checkbox-label {
    font-weight: 600;
    color: #890514;
}

.dui-rb-room-checkbox:has(input:checked) {
    background: #fef2f2;
}

/* Multi-room availability grouping */
.dui-rb-availability-room {
    margin-bottom: 0.75rem;
}

.dui-rb-availability-room:last-child {
    margin-bottom: 0;
}

/* Recurrence options */
.dui-rb-recurrence-options {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #e7e5e4;
}

.dui-rb-interval-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dui-rb-interval-wrap .dui-rb-input {
    width: 80px !important;
    min-width: 60px;
    flex-shrink: 0;
}

.dui-rb-interval-unit {
    font-size: 0.875rem;
    color: #57534e;
    white-space: nowrap;
}

/* Day-of-week checkboxes */
.dui-rb-day-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.dui-rb-day-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.dui-rb-day-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.dui-rb-day-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 36px;
    border: 1px solid #d6d3d1;
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #44403c;
    transition: all 0.15s;
}

.dui-rb-day-checkbox:hover .dui-rb-day-label {
    border-color: #890514;
    color: #890514;
}

.dui-rb-day-checkbox input:checked + .dui-rb-day-label {
    background: #890514;
    border-color: #890514;
    color: #fff;
    font-weight: 700;
}

/* Exclusion dates */
.dui-rb-exclusions-wrap {
    margin-top: 0.25rem;
}

.dui-rb-exclusion-add {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.dui-rb-exclusion-add .dui-rb-input {
    flex: 1;
    min-width: 140px;
    max-width: 200px;
}

.dui-rb-btn-secondary {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    color: #890514;
    background: #fff;
    border: 1px solid #890514;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.15s;
}

.dui-rb-btn-secondary:hover {
    background: #890514;
    color: #fff;
}

.dui-rb-exclusion-list {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.dui-rb-exclusion-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.5rem 0.25rem 0.625rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 2rem;
    font-size: 0.8125rem;
    color: #890514;
}

.dui-rb-exclusion-date {
    font-weight: 500;
}

.dui-rb-exclusion-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: none;
    background: transparent;
    color: #890514;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.15s;
}

.dui-rb-exclusion-remove:hover {
    background: #890514;
    color: #fff;
}

/* Conflict management panel */
.dui-rb-conflict-panel {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dui-rb-conflict-msg {
    margin: 0;
    line-height: 1.5;
}

.dui-rb-conflict-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   Booking Form Responsive
   ========================================================================== */

@media (max-width: 780px) {
    .dui-rb-form-row--three {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .dui-rb-form-wrap {
        padding: 0 0.5rem;
    }

    .dui-rb-form {
        padding: 1rem;
        border-radius: 0.75rem;
        width: 100%;
    }

    .dui-rb-form-row--two,
    .dui-rb-form-row--three {
        grid-template-columns: 1fr;
    }

    .dui-rb-submit {
        width: 100%;
        min-width: unset;
    }

    .dui-rb-step-actions {
        flex-wrap: wrap;
    }

    .dui-rb-step-actions .dui-rb-btn-back,
    .dui-rb-step-actions .dui-rb-btn-next {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }

    .dui-rb-room-checkboxes {
        grid-template-columns: 1fr !important;
        max-height: 240px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .dui-rb-room-checkbox {
        border-right: none !important;
        padding: 0.625rem 0.75rem !important;
        min-height: 44px;
    }

    .dui-rb-day-checkboxes {
        gap: 0.25rem;
    }

    .dui-rb-day-label {
        width: 38px;
        font-size: 0.75rem;
    }

    .dui-rb-interval-wrap {
        flex-wrap: wrap;
    }

    .dui-rb-interval-wrap .dui-rb-input {
        width: 100% !important;
        max-width: 100% !important;
    }

    .dui-rb-exclusion-add {
        flex-direction: column;
        align-items: stretch;
    }

    .dui-rb-exclusion-add .dui-rb-input {
        max-width: 100%;
        width: 100% !important;
    }

    .dui-rb-exclusion-add .dui-rb-btn-secondary {
        width: 100%;
    }

    .dui-rb-input[type="date"] {
        min-height: 48px;
        font-size: 0.8125rem !important;
    }

    .dui-rb-info-tooltip {
        left: 0;
        transform: none;
        width: 220px;
    }

    .dui-rb-info-tooltip::after {
        left: 12px;
        transform: none;
    }
}

/* ==========================================================================
   Multi-Step Wizard Enhancements
   ========================================================================== */

/* Progress Step Bar */
.dui-rb-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.dui-rb-progress-line {
    flex: 1;
    height: 2px;
    background: #e7e5e4;
    margin: 0 1rem;
    position: relative;
    top: -10px; /* Aligns line better with circles */
}

.dui-rb-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    color: #a8a29e;
    transition: color 0.3s ease;
}

.dui-rb-progress-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f4;
    color: #a8a29e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    border: 2px solid #e7e5e4;
    transition: all 0.3s ease;
}

.dui-rb-progress-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.dui-rb-progress-step.active,
.dui-rb-progress-step.completed {
    color: #890514;
}

.dui-rb-progress-step.active .dui-rb-progress-icon {
    border-color: #890514;
    background: #890514;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(137, 5, 20, 0.1);
}

.dui-rb-progress-step.completed .dui-rb-progress-icon {
    border-color: #890514;
    background: #fff;
    color: #890514;
}

/* Step Fade Transitions */
.dui-rb-step {
    animation: dui-rb-fade-in 0.4s ease forwards;
    display: none;
}

.dui-rb-step.active {
    display: block;
}

@keyframes dui-rb-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step Actions Buttons */
.dui-rb-step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #fde8e8;
}

.dui-rb-btn-back,
.dui-rb-btn-next {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
}

.dui-rb-btn-back {
    background: #fff;
    color: #57534e;
    border: 1px solid #d6d3d1;
}

.dui-rb-btn-back:hover {
    background: #f5f5f4;
    color: #1c1917;
}

.dui-rb-btn-next {
    background: #890514;
    color: #fff;
    border: 1px solid #890514;
}

.dui-rb-btn-next:hover {
    background: #6d0410;
}

.dui-rb-btn-next:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Better Room Cards */
.dui-rb-room-checkboxes {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    border: none !important;
    background: transparent;
    border-radius: 0 !important;
    overflow: visible;
    max-height: none !important;
}

.dui-rb-room-checkbox {
    border: 1px solid #e7e5e4 !important;
    border-radius: 0.5rem !important;
    padding: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    position: relative;
    background: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dui-rb-room-checkbox:nth-child(2n),
.dui-rb-room-checkbox:last-child:nth-child(odd) {
    border-right: 1px solid #e7e5e4 !important;
}

.dui-rb-room-checkbox:hover {
    border-color: #890514 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(137, 5, 20, 0.08);
}

.dui-rb-room-checkbox input[type="checkbox"] {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border-radius: 4px;
    width: 1.25rem !important;
    height: 1.25rem !important;
    cursor: pointer;
}

.dui-rb-room-checkbox-label {
    font-weight: 600;
    color: #1c1917;
    font-size: 0.9375rem !important;
    padding-right: 2rem; /* space for absolute checkbox */
}

/* Highlight Selected Room */
.dui-rb-room-checkbox:has(input:checked) {
    background: #fef2f2;
    border-color: #890514 !important;
    box-shadow: 0 0 0 1px #890514;
}
