/* ── Compare Checkbox ──────────────────────────────────── */
.compare-check-wrapper {
    cursor: pointer;
    user-select: none;
    border: 1px solid #dee2e6;
}
.compare-check-wrapper .form-check-input {
    cursor: pointer;
}
.compare-check-wrapper .form-check-label {
    cursor: pointer;
    font-size: 0.75rem;
}

/* ── Sticky Compare Bar ────────────────────────────────── */
.compare-bar {
    position: fixed;
    bottom: -80px;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #1a1f2e;
    padding: 14px 24px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
    transition: bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.compare-bar.visible {
    bottom: 0;
}
.compare-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.compare-bar-text {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}
.compare-badge {
    background: var(--bs-primary, #E8A020);
    color: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.compare-bar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Compare Modal Overlay ─────────────────────────────── */
.compare-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1055;
    background: rgba(0, 0, 0, 0.7);
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.compare-modal-overlay.d-none {
    display: none !important;
}
.compare-modal {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.compare-modal-header {
    background: #1a1f2e;
    color: #fff;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.compare-modal-body {
    overflow-y: auto;
    padding: 24px;
    flex: 1;
}

/* ── Compare Table ─────────────────────────────────────── */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}
.compare-table th,
.compare-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}
.compare-table thead th {
    background: #f8f9fa;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    border-bottom: 2px solid #dee2e6;
}
.compare-table thead th.feature-col {
    text-align: left;
    width: 140px;
}
.feature-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.compare-room-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}
.compare-table tr:hover td {
    background: #fafafa;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 576px) {
    .compare-bar-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}