body {
    background-color: #fff !important;
}

.daterangepicker td.reserved-day,
.daterangepicker td.reserved-day.off {
    background: #f8d7da !important;
    color: #b02a37 !important;
    text-decoration: line-through;
    border-radius: 999px;
    cursor: not-allowed !important;
}

.daterangepicker td.reserved-day.active,
.daterangepicker td.reserved-day.start-date,
.daterangepicker td.reserved-day.end-date {
    background: #357ebd !important;
    color: #fff !important;
    text-decoration: none;
    border-radius: 999px;
}

.daterangepicker td.reserved-day.in-range {
    background: rgba(53, 126, 189, 0.18) !important;
    color: #357ebd !important;
    text-decoration: none;
}

.daterangepicker td.reserved-day.available:hover {
    background: #f1b0b7 !important;
    color: #7f1d1d !important;
    cursor: not-allowed !important;
}

.daterangepicker td.reserved-boundary-day,
.daterangepicker td.reserved-boundary-day.off {
    background: transparent !important;
    color: #b02a37 !important;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(176, 42, 55, 0.35);
    font-weight: 600;
    cursor: pointer !important;
}

.daterangepicker td.reserved-boundary-day.active,
.daterangepicker td.reserved-boundary-day.start-date,
.daterangepicker td.reserved-boundary-day.end-date {
    background: #357ebd !important;
    color: #fff !important;
    box-shadow: none;
}

.daterangepicker td.reserved-boundary-day.in-range {
    background: rgba(53, 126, 189, 0.18) !important;
    color: #357ebd !important;
    box-shadow: none;
}

.daterangepicker td.reserved-boundary-day.available:hover {
    background: rgba(176, 42, 55, 0.08) !important;
    color: #7f1d1d !important;
}

.gallery {
    width: 100%;
    margin: 3rem 0rem
}

.photos-grid-container {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    grid-gap: 8px;
    align-items: start;
}

@media (max-width: 580px) {
    .photos-grid-container {
        grid-template-columns: 1fr;
    }
}

.photos-grid-container .img-box {
    border: 1px solid #ffffff;
    position: relative;
}

.photos-grid-container .img-box:hover .transparent-box {
    background-color: rgba(0, 0, 0, 0.6);
}

.photos-grid-container .img-box:hover .caption {
    transform: translateY(-5px);
}

.photos-grid-container img {
    max-width: 100%;
    display: block;
    height: auto;
    border-radius: 8px
}

.photos-grid-container .caption {
    color: white;
    transition: transform 0.3s ease, opacity 0.3s ease;
    font-size: 1.5rem;
}

.photos-grid-container .transparent-box {
    border-radius: 8px;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photos-grid-container .more-images-overlay {
    border-radius: 8px;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.photos-grid-container .main-photo {
    grid-row: 1;
    grid-column: 1;
}

.photos-grid-container .sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 8px;
}

.photos-grid-container .sub:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.photos-grid-container .sub:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.photos-grid-container .sub:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

.photos-grid-container .sub:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

.detail-room-page {
    padding: 2.5rem 0 4rem;
}

.room-detail-card,
.booking-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(20, 32, 52, 0.08);
}

.room-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    background: rgba(172, 119, 71, 0.12);
    color: #8d5c38;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.title-infos-chambre {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #132032;
}

.room-subtitle {
    font-size: 1rem;
    color: #5f6b74;
    margin-top: 0.35rem;
}

.price-tag,
.booking-price {
    font-size: 2rem;
    font-weight: 800;
    color: #ac7747;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 1rem;
}

.details-grid .spec-item:has(#room_count) {
    grid-column: 1 / -1;
}

.spec-item {
    padding: 1rem 1.15rem;
    border-radius: 18px;
    background: #f8f8f9;
    border: 1px solid #eff2f5;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.spec-label {
    font-size: 0.85rem;
    color: #6c7a89;
}

.spec-label i {
    font-size: 18px;
    margin-right: 4px;
    text-align: center;
    color: #ac7747;
}

.section-block {
    border-top: 1px solid #eef1f5;
    padding-top: 1.5rem;
}

.section-block h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #1f2a37;
}

.description-infos-chambre {
    color: #4f5b66;
    line-height: 1.8;
    margin-bottom: 0;
}

.badge-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0.5rem 0.5rem 0;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: rgba(172, 119, 71, 0.12);
    color: #8d5c38;
    font-size: 0.95rem;
}

.booking-summary {
    border-radius: 20px;
    padding: 1rem 1.2rem;
    background: rgba(236, 170, 112, 0.08);
    margin-bottom: 1.5rem;
}

.booking-summary-title {
    font-size: 0.95rem;
    color: #5f6b74;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.booking-price-subtext {
    color: #6c7a89;
    font-size: 0.9rem;
}

.btn-booking-infos-chambre {
    width: 100%;
    background: linear-gradient(135deg, #c89a6a, #a97543);
    color: #fff;
    border: none;
    font-weight: 700;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    box-shadow: 0 18px 36px rgba(169, 117, 67, 0.2);
    transition: transform 0.25s ease, filter 0.25s ease;
}

.btn-booking-infos-chambre:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (min-width: 1280px) {
    .photos-grid-container .container {
        margin: 0 auto;
        width: 1250px;
    }
}

#room_count.is-invalid {
    border-color: #dc3545;
    background-color: #fff5f5;
    color: #dc3545;
    font-weight: 700;
}

#capacity-feedback .alert {
    border-radius: 12px;
    font-size: 0.85rem;
}

#capacity-feedback .alert-info {
    background: rgba(13, 202, 240, 0.1);
    border-color: rgba(13, 202, 240, 0.2);
    color: #055160;
}

#capacity-feedback .alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.2);
}

#capacity-feedback .alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
}

.input-stepper {
    display: flex;
    align-items: center;
    width: 100%;
}

.stepper-btn {
    width: 34px;
    height: 38px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #8d5c38;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.stepper-btn i {
    font-size: 12px;
}

.stepper-btn:hover {
    background: rgba(172, 119, 71, 0.12);
    color: #ac7747;
    border-color: #c89a6a;
}

.input-stepper:has(#room_count.is-invalid) .stepper-btn {
    border-color: #dc3545;
    background-color: #fff5f5;
    color: #dc3545;
}

.stepper-minus {
    border-radius: 10px 0 0 10px;
    border-right: none;
}

.stepper-plus {
    border-radius: 0 10px 10px 0;
    border-left: none;
}

.stepper-input {
    border-radius: 0 !important;
    text-align: center;
    height: 38px;
    border-left: none;
    border-right: none;
    -moz-appearance: textfield;
}

.stepper-input::-webkit-outer-spin-button,
.stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}