/* Floating Selection Button */
.floating-selection-btn {
    position: fixed;
    top: 400px !important;
    right: 30px;
    background-color: var(--brand);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 6px 20px rgba(247, 147, 30, 0.4);
    z-index: 1000;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.floating-selection-btn:hover {
    background-color: var(--brand);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.floating-selection-btn i {
    font-size: 1.5rem;
}

.floating-selection-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3545;
    font-size: 0.75rem;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
}

/* Selection Panel Offcanvas */
.offcanvas-custom {
    width: 450px !important;
}

.offcanvas-header {
    background: var(--brand);
    color: white;
}

.offcanvas-title {
    font-weight: 700;
    font-size: 1.5rem;
}

.btn-close {
    filter: brightness(0) invert(1);
}

/* Selected Room Item */
.selected-room-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s;
}

.selected-room-item:hover {
    border-color: var(--brand);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.selected-room-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

/* Quantity Control */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--brand);
    background: white;
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 700;
}

.quantity-btn:hover {
    background-color: var(--brand);
    color: white;
}

.quantity-value {
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 30px;
    text-align: center;
}

/* Booking Summary */
.booking-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--brand);
}

.booking-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

.booking-summary-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Total Section */
.total-section {
    background: white;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--brand);
}

.total-label {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
}

.total-amount {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-color);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}

.empty-state h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Room Card Enhancements */
.btn-select-room {
    background-color: var(--brand);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 0px;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-select-room:hover {
    background-color: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-select-room i {
    font-size: 1.1rem;
}

/* Remove Button */
.btn-remove-room {
    background: transparent;
    border: none;
    color: #dc3545;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    padding: 5px;
}

.btn-remove-room:hover {
    color: #bb2d3b;
    transform: scale(1.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-selection-btn {
        width: 55px;
        height: 55px;
        right: 20px;
        top: 100px;
    }

    .floating-selection-btn i {
        font-size: 1.3rem;
    }

    .offcanvas-custom {
        width: 80% !important;
    }

    .total-amount {
        font-size: 1.5rem;
    }
}

/* Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 147, 30, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(247, 147, 30, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(247, 147, 30, 0);
    }
}

.floating-selection-btn.has-items {
    animation: pulse 2s infinite;
}

.selected-room-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    margin-left: 10px;
    margin-right: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    display: flex;
    gap: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.selected-room-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.selected-room-image {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    margin-top: 10px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.selected-room-details {
    flex: 1;
    margin-top: 10px;
}

.selected-room-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color) !important;
    margin-bottom: 5px;
}

.selected-room-title a {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color) !important;
    margin-bottom: 5px;
}

.selected-room-dates,
.selected-room-guests {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 5px;
}

.selected-room-dates i {
    font-size: 16px;
    color: var(--brand);
}

.selected-room-guests i {
    font-size: 16px;
    color: var(--brand);
}

.selected-room-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
    flex-wrap: wrap; /* Allows flex items to wrap to next line */
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}

.qty-display {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.selected-room-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 5px;
}

.btn-remove-room {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: none;
    background: #fee;
    color: #e74c3c;
    border-radius: 5px;
    padding: 0px;
    margin: 0px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-remove-room:hover {
    background: #e74c3c;
    color: white;
}

/* Total Section */
.total-section {
    color: white;
    border-radius: 10px;
    padding: 20px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 20px;
}

.control-buttons {
    margin-left: 10px;
    margin-right: 10px;
}

.total-section .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.total-label {
    font-size: 18px;
    font-weight: 600;
}

.total-amount {
    font-size: 24px;
    font-weight: 700;
}

.text-brand-color {
    color: var(--text-color);
}

/* Complete Booking Button */
.btn-complete-booking {
    width: 100%;
    padding: 15px;
    background: var(--brand);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear-booking {
    width: 100%;
    padding: 15px;
    background: var(--brand);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-complete-booking:hover {
    background: white;
    border: 2px solid var(--brand);
    color: var(--brand);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .offcanvas-custom {
        width: 90% !important;
    }

    .floating-selection-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}
.booking-card {
    border: 1px solid #e9ecef;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    border-radius: 10px;
    background-color: white;
    margin-bottom: 20px;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .selected-room-guests {
        font-size: 15px;
        gap: 6px;
    }

    .selected-room-image {
        width: 100%;
        height: 170px;
        border-radius: 8px;
        background-size: cover;
        background-position: center;
        flex-shrink: 0;
    }

    .selected-room-card {
        background: white;
        border: 1px solid #e9ecef;
        border-radius: 10px;
        padding: 15px;
        margin-bottom: 25px;
        margin-left: 10px;
        margin-right: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        position: relative;
        transition: all 0.3s ease;
    }

    .guest-separator {
        margin: 0 4px;
        font-size: 12px;
    }
}

.booking-summary {
    font-family: "Open Sans", serif;
    background: #eef0ec;
    border: 1.5px solid #c8a96e;
    border-radius: 8px;
    padding: 32px 40px 36px;
}

.booking-summary h5 {
    font-family: "Open Sans", serif;
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: 0.2px;
}

.booking-summary .detail {
    padding: 4px 0;
}

.booking-summary .detail p {
    font-family: "Open Sans", serif;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.booking-summary .detail p b {
    font-weight: 600;
    color: #1a1a1a;
}

.booking-summary hr {
    border: none;
    border-top: 1px solid #d0cdc7;
    margin: 12px 0;
}

/* Rooms header row */
.rooms-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    margin-bottom: 16px;
}

.rooms-header-row p {
    font-family: "Open Sans", serif;
    font-size: 14px;
    color: #333;
    margin: 0;
}

.rooms-header-row p b {
    color: #1a1a1a;
    font-size: 16px;
}

.rooms-count-badge {
    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: #1a1a1a;
    color: #fff;
    padding: 4px 10px;
}

/* Room cards */
#rooms-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.room-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    background: #fff;
    border: 1px solid #d6d0c8;
    overflow: hidden;
    animation: fadeUp 0.45s ease both;
    transition: box-shadow 0.25s ease;
}

.room-card:hover {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.room-img-wrap {
    overflow: hidden;
    min-height: 120px;
    padding: 10px;
}

.room-img-wrap img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 0.4s ease;
}

.room-card:hover .room-img-wrap img {
    transform: scale(1.05);
}

.room-details {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.room-type-name {
    font-family: "Open Sans", serif;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.1px;
}

.room-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
}

.spec-item {
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

.spec-item strong {
    color: #1a1a1a;
    font-weight: 500;
}

.room-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #e8e3dc;
    margin-top: auto;
}

.price-label {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #999;
}

.price-value {
    font-family: "Open Sans", serif;
    font-size: 17px;
    font-weight: 600;
    color: #c8a96e;
    letter-spacing: -0.2px;
}

.no-rooms {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    color: #999;
    text-align: center;
    padding: 20px 0 8px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}