/* ============================================================
   Exceed Booking Engine - Modern Theme (Step 1)
   Loaded after custom.css; overrides the legacy layout-1 look.
   Brand color flows from the CSS variable --be-theme which is
   set inline from BookingEngineSetup.ThemeColor.
   ============================================================ */

:root {
    --be-theme: #528ff0;
    --be-ink: #1f2937;
    --be-ink-soft: #6b7280;
    --be-bg: #f5f7fb;
    --be-card: #ffffff;
    --be-border: #e8ecf3;
    --be-radius: 16px;
    --be-radius-sm: 10px;
    --be-shadow: 0 10px 30px -12px rgba(31, 41, 55, .18);
    --be-shadow-soft: 0 4px 16px -6px rgba(31, 41, 55, .12);
}

/* ---------- Base ---------- */
body.be-modern {
    background: var(--be-bg) !important;
    color: var(--be-ink);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

body.be-modern .main-content {
    background: var(--be-bg);
}

body.be-modern ::selection {
    background: var(--be-theme);
    color: #fff;
}

/* Brand helpers (used by JS-rendered markup) */
body.be-modern .brand-color {
    color: var(--be-theme) !important;
}

body.be-modern .brand-border-color {
    border-color: var(--be-theme) !important;
}

body.be-modern .brand-color-border-color {
    color: var(--be-theme) !important;
    border-color: var(--be-theme) !important;
}

body.be-modern .btn-primary,
body.be-modern .btn-primary:hover,
body.be-modern .btn-primary:focus,
body.be-modern .btn-primary:active,
body.be-modern .btn-primary:not(:disabled):not(.disabled):active {
    background-color: var(--be-theme) !important;
    border-color: var(--be-theme) !important;
    color: #fff !important;
    border-radius: var(--be-radius-sm);
    font-weight: 500;
    letter-spacing: .2px;
    box-shadow: none;
    transition: filter .15s ease, transform .1s ease;
}

body.be-modern .btn-primary:hover {
    filter: brightness(1.08);
}

body.be-modern .btn-primary:active {
    transform: scale(.98);
}

/* ---------- Header / Navigation ---------- */
/* legacy app.css keeps the wrapper position:fixed (navbar-fixed layout); just add depth */
body.be-modern .navigation-wrapper {
    box-shadow: var(--be-shadow-soft);
}

body.be-modern .navbar-top {
    background: #fff !important;
    border-bottom: 1px solid var(--be-border);
    padding-top: .35rem;
    padding-bottom: .35rem;
}

body.be-modern .navbar-top .nav-item-logo .nav-link {
    padding-top: .25rem;
    padding-bottom: .25rem;
}

body.be-modern .navbar-top .nav-item-logo .nav-link > span:first-child {
    font-size: 22px;
    font-weight: 600;
    color: var(--be-ink);
    letter-spacing: -.2px;
}

body.be-modern .navbar-top .hotel-star {
    margin-left: 10px;
    font-size: 13px;
}

body.be-modern .navbar-top .hotel-star .fas.fa-star {
    color: #f5a623;
}

body.be-modern .navbar-top .hotel-star .far.fa-star {
    color: #d3d9e2;
}

body.be-modern .navbar-top .nav-item-logo small {
    display: block;
    color: var(--be-ink-soft);
    font-size: 12.5px;
    margin-top: -2px;
}

/* the toolbar is position:absolute and overlays the navbar-top row (title left, menu right);
   it must stay transparent or it paints over the hotel name */
body.be-modern .navbar-toolbar {
    background: transparent !important;
    border-bottom: none;
    min-height: 46px;
}

body.be-modern .navbar-toolbar .navbar-menu-primary {
    align-items: center;
}

body.be-modern .navbar-toolbar .navbar-menu-primary .nav-item {
    display: flex;
    align-items: center;
}

body.be-modern .navbar-toolbar .nav-link,
body.be-modern .navbar-toolbar .nav-link-button {
    color: var(--be-ink) !important;
    font-size: 14px;
    font-weight: 500;
    padding: .65rem 1rem;
    border-radius: 8px;
    transition: color .15s ease, background .15s ease;
}

/* Contact Us / Our Hotels are buttons inside a .nav-link wrapper: the wrapper must be
   a size-less, hover-less shell (app.css gives it padding and the shared rule gives it
   a hover tint, which painted a second, bigger box behind the button) — the button
   itself carries the padding + hover so it behaves exactly like the plain links */
body.be-modern .navbar-toolbar div.nav-link,
body.be-modern .navbar-toolbar div.nav-link:hover,
body.be-modern .navbar-toolbar div.nav-link:focus {
    padding: 0 !important;
    background: transparent !important;
}

body.be-modern .navbar-toolbar .nav-link .nav-link-button {
    padding: .65rem 1rem;
    border-radius: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
}

body.be-modern .navbar-toolbar .nav-link .nav-link-button:hover {
    color: var(--be-theme) !important;
    background: rgba(0, 0, 0, .03);
}

body.be-modern .navbar-toolbar .nav-link:hover,
body.be-modern .navbar-toolbar .nav-link-button:hover {
    color: var(--be-theme) !important;
    background: rgba(0, 0, 0, .03);
}

body.be-modern .navbar-toolbar .dropdown-menu {
    border: 1px solid var(--be-border);
    border-radius: var(--be-radius-sm);
    box-shadow: var(--be-shadow);
    padding: 14px 18px;
    font-size: 13.5px;
    min-width: 280px;
}

body.be-modern .navbar-toolbar .dropdown-menu p {
    margin-bottom: 8px;
    color: var(--be-ink-soft);
}

body.be-modern .navbar-toolbar .dropdown-menu p strong {
    color: var(--be-ink);
}

/* ---------- Hero + Search ---------- */
body.be-modern .be-hero {
    position: relative;
    margin-bottom: 20px;
}

body.be-modern .be-hero-banner {
    position: relative;
    height: 380px;
    overflow: hidden;
}

body.be-modern .be-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.be-modern .be-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, .45) 100%);
}

body.be-modern .be-hero-no-banner {
    padding-top: 40px;
}

body.be-modern .be-search-wrap {
    position: relative;
    z-index: 5;
}

body.be-modern .be-hero-banner + .be-search-wrap {
    margin-top: -60px;
}

body.be-modern .be-search-card {
    background: var(--be-card);
    border-radius: var(--be-radius);
    box-shadow: var(--be-shadow);
    border: 1px solid var(--be-border);
    padding: 22px 26px;
    display: flex;
    align-items: flex-end;
    gap: 18px;
    flex-wrap: wrap;
}

body.be-modern .be-search-field {
    flex: 1 1 320px;
}

body.be-modern .be-search-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--be-ink-soft);
    margin-bottom: 8px;
}

body.be-modern .be-search-field label i {
    color: var(--be-theme);
}

body.be-modern .be-search-field .form-control {
    height: 52px;
    border: 1.5px solid var(--be-border);
    border-radius: var(--be-radius-sm);
    font-size: 15.5px;
    font-weight: 500;
    color: var(--be-ink);
    text-align: center;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}

body.be-modern .be-search-field .form-control:hover,
body.be-modern .be-search-field .form-control:focus {
    border-color: var(--be-theme);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--be-theme) 18%, transparent);
    outline: none;
}

/* ---------- Guest selector (adults / children) ---------- */
body.be-modern .be-search-field-guests {
    position: relative;
    flex: 0 1 250px;
}

body.be-modern .be-guest-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    user-select: none;
}

body.be-modern .be-guest-box i {
    font-size: 12px;
    color: var(--be-ink-soft);
}

body.be-modern .be-guest-pop {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    min-width: 280px;
    background: var(--be-card);
    border: 1px solid var(--be-border);
    border-radius: var(--be-radius-sm);
    box-shadow: var(--be-shadow);
    padding: 16px;
    z-index: 50;
}

body.be-modern .be-counter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

body.be-modern .be-counter-row + .be-counter-row {
    border-top: 1px solid var(--be-border);
}

body.be-modern .be-counter-label span {
    display: block;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--be-ink);
}

body.be-modern .be-counter-label small {
    display: block;
    font-size: 11.5px;
    color: var(--be-ink-soft);
}

body.be-modern .be-counter {
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1.5px solid var(--be-border);
    border-radius: 999px;
    padding: 2px;
}

body.be-modern .be-counter-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--be-theme);
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background .12s ease;
}

body.be-modern .be-counter-btn:hover {
    background: color-mix(in srgb, var(--be-theme) 12%, #fff);
}

body.be-modern .be-counter-value {
    min-width: 34px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--be-ink);
}

body.be-modern .be-guest-pop-foot {
    text-align: right;
    border-top: 1px solid var(--be-border);
    padding-top: 12px;
    margin-top: 4px;
}

body.be-modern .be-guest-apply {
    padding: 9px 30px;
    font-size: 14px;
}

body.be-modern .be-search-action {
    flex: 0 0 auto;
}

body.be-modern .be-search-action .btn-filter-search {
    height: 52px;
    padding: 0 34px;
    font-size: 15px;
    white-space: nowrap;
}

/* Search button loading state */
body.be-modern .btn-filter-search .be-btn-loading {
    display: none;
    align-items: center;
    gap: 8px;
}

body.be-modern .btn-filter-search.is-loading .be-btn-loading {
    display: inline-flex;
}

body.be-modern .btn-filter-search.is-loading .be-btn-label {
    display: none;
}

body.be-modern .btn-filter-search:disabled {
    opacity: .75;
    cursor: progress;
}

.be-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: be-spin .7s linear infinite;
}

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

/* ---------- Skeleton loader ---------- */
.be-skeleton {
    position: relative;
    overflow: hidden;
    background: #e9edf4;
    border-radius: 8px;
}

.be-skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent);
    animation: be-shimmer 1.4s infinite;
}

@keyframes be-shimmer {
    100% {
        transform: translateX(100%);
    }
}

.be-skeleton-card {
    background: var(--be-card);
    border: 1px solid var(--be-border);
    border-radius: var(--be-radius);
    box-shadow: var(--be-shadow-soft);
    padding: 20px;
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.be-skeleton-card-side {
    flex-direction: column;
}

.be-skeleton-img {
    width: 240px;
    height: 160px;
    flex: 0 0 auto;
}

.be-skeleton-lines {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 6px;
}

.be-skeleton-line {
    height: 14px;
}

.be-skeleton-line.w-75 {
    width: 75%;
}

.be-skeleton-line.w-50 {
    width: 50%;
}

.be-skeleton-line.w-25 {
    width: 25%;
}

.be-skeleton-price {
    width: 110px;
    height: 60px;
    flex: 0 0 auto;
    align-self: center;
}

/* ---------- Results layout ---------- */
body.be-modern .container-custom {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

body.be-modern .section-room-type {
    margin-top: 6px;
}

/* app.css sets overflow:hidden / overflow-y:auto on these wrappers, which turns them into
   scroll containers and disables position:sticky for the cart (the window is what scrolls).
   overflow-x:clip prevents horizontal overflow without creating a scroll container. */
body.be-modern .page-container {
    overflow: visible !important;
}

body.be-modern .main-content {
    overflow: visible !important;
    overflow-x: clip;
}

/* ---------- Room card (JS rendered) ---------- */
body.be-modern .be-room-card {
    background: var(--be-card);
    border: 1px solid var(--be-border);
    border-radius: var(--be-radius);
    box-shadow: var(--be-shadow-soft);
    margin-bottom: 22px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}

body.be-modern .be-room-card:hover {
    box-shadow: var(--be-shadow);
}

body.be-modern .be-room-top {
    display: flex;
    gap: 22px;
    padding: 20px;
    flex-wrap: wrap;
}

body.be-modern .be-room-media {
    flex: 0 0 280px;
    max-width: 280px;
    border-radius: var(--be-radius-sm);
    overflow: hidden;
    position: relative;
    background: #eef1f6;
}

body.be-modern .be-room-media .carousel,
body.be-modern .be-room-media .carousel-inner {
    height: 100%;
}

body.be-modern .be-room-media .carousel-item {
    height: 200px;
}

body.be-modern .be-room-media .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.be-modern .be-room-media .carousel-control-prev,
body.be-modern .be-room-media .carousel-control-next {
    width: 36px;
    opacity: 0;
    transition: opacity .2s ease;
}

body.be-modern .be-room-media:hover .carousel-control-prev,
body.be-modern .be-room-media:hover .carousel-control-next {
    opacity: 1;
}

body.be-modern .be-room-media .carousel-control-prev-icon,
body.be-modern .be-room-media .carousel-control-next-icon {
    background-color: rgba(15, 23, 42, .55);
    border-radius: 50%;
    background-size: 45%;
    width: 30px;
    height: 30px;
}

body.be-modern .be-room-info {
    flex: 1 1 300px;
    min-width: 0;
}

body.be-modern .be-room-info .room-name {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: var(--be-ink);
    letter-spacing: -.2px;
    margin-bottom: 6px;
}

body.be-modern .be-room-info .room-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--be-ink-soft);
    margin-bottom: 12px;
}

body.be-modern .be-room-meta {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

body.be-modern .be-meta-item small {
    display: block;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--be-ink-soft);
    margin-bottom: 2px;
}

body.be-modern .be-meta-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--be-ink);
}

body.be-modern .be-meta-item span i {
    color: var(--be-theme);
    margin-right: 6px;
}

body.be-modern .btn-room-detail {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--be-theme) !important;
    text-decoration: none;
}

body.be-modern .btn-room-detail:hover {
    text-decoration: underline;
}

body.be-modern .be-room-price {
    flex: 0 0 auto;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
    gap: 2px;
}

body.be-modern .be-room-price small {
    color: var(--be-ink-soft);
    font-size: 12px;
    line-height: 1.5;
}

body.be-modern .be-room-price .be-price {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.4px;
    line-height: 1.2;
}

body.be-modern .rate-slash {
    color: #9aa3b2;
    text-decoration: line-through;
    font-size: 13.5px;
}

/* Rate plan rows */
body.be-modern .be-rate-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px 20px;
    border-top: 1px dashed var(--be-border);
    transition: background .15s ease;
}

body.be-modern .be-rate-row:hover {
    background: #fafbfe;
}

body.be-modern .be-rate-name {
    flex: 1 1 220px;
    min-width: 0;
}

body.be-modern .be-rate-name .rate-plan-title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--be-ink);
}

body.be-modern .be-rate-price {
    flex: 1 1 200px;
    text-align: center;
}

body.be-modern .be-rate-price .be-price {
    font-size: 17px;
    font-weight: 700;
}

body.be-modern .be-rate-price small {
    display: block;
    font-size: 11.5px;
    color: var(--be-ink-soft);
    margin-top: 1px;
}

body.be-modern .be-rate-qty {
    flex: 0 0 auto;
}

body.be-modern .be-rate-qty select.input-room-type-room {
    height: 42px;
    min-width: 130px;
    border: 1.5px solid var(--be-border);
    border-radius: var(--be-radius-sm);
    font-size: 13.5px;
    padding: 0 10px;
    color: var(--be-ink);
    background: #fff;
}

body.be-modern .be-rate-qty select.input-room-type-room:focus {
    border-color: var(--be-theme);
    outline: none;
}

body.be-modern .be-rate-action {
    flex: 0 0 auto;
}

body.be-modern .be-rate-action .btn-add-room {
    padding: 10px 26px;
    font-size: 14px;
}

body.be-modern .be-rate-unavailable {
    flex: 2 1 auto;
    text-align: center;
}

body.be-modern .be-rate-unavailable span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #b45309;
}

body.be-modern .be-rate-unavailable small {
    display: block;
    font-size: 11.5px;
    color: var(--be-ink-soft);
    margin-top: 1px;
}

body.be-modern .be-not-bookable {
    font-size: 13px;
    font-weight: 600;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 6px 12px;
}

body.be-modern .be-no-rooms {
    background: var(--be-card);
    border: 1px dashed var(--be-border);
    border-radius: var(--be-radius);
    text-align: center;
    color: var(--be-ink-soft);
    padding: 60px 20px;
    font-size: 16px;
    width: 100%;
}

body.be-modern .be-no-rooms i {
    display: block;
    font-size: 34px;
    color: var(--be-theme);
    margin-bottom: 12px;
    opacity: .6;
}

/* ---------- Cart / Reservation summary ---------- */
body.be-modern .section-room-cart {
    position: sticky;
    top: 96px; /* clears the fixed header */
    align-self: flex-start;
}

body.be-modern .be-cart {
    background: var(--be-card);
    border: 1px solid var(--be-border);
    border-radius: var(--be-radius);
    box-shadow: var(--be-shadow-soft);
    overflow: hidden;
}

body.be-modern .be-cart-header {
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--be-theme);
}

body.be-modern .be-cart-dates {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--be-border);
}

body.be-modern .be-cart-dates .sec-date {
    flex: 1 1 0;
    text-align: center;
    padding: 14px 6px;
}

body.be-modern .be-cart-dates .sec-date small {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--be-ink-soft);
    margin-bottom: 2px;
}

body.be-modern .be-cart-dates .sec-date span {
    font-size: 15px;
    font-weight: 700;
    color: var(--be-ink);
}

body.be-modern .be-cart-dates .sec-night {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: color-mix(in srgb, var(--be-theme) 10%, #fff);
    border-left: 1px solid var(--be-border);
    border-right: 1px solid var(--be-border);
}

body.be-modern .be-cart-dates .sec-night span {
    font-size: 17px;
    font-weight: 700;
    color: var(--be-theme);
    line-height: 1.1;
}

body.be-modern .be-cart-dates .sec-night small {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--be-ink-soft);
}

body.be-modern .be-cart-guests-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--be-ink);
    border-bottom: 1px solid var(--be-border);
    background: #fafbfe;
}

body.be-modern .be-cart-guests-row i {
    color: var(--be-theme);
    font-size: 12px;
}

body.be-modern .be-cart-body {
    padding: 14px 16px;
}

body.be-modern .be-cart-empty {
    text-align: center;
    color: var(--be-ink-soft);
    font-size: 13.5px;
    padding: 26px 12px;
}

body.be-modern .be-cart-empty i {
    display: block;
    font-size: 26px;
    color: var(--be-theme);
    opacity: .5;
    margin-bottom: 8px;
}

body.be-modern .be-cart-item {
    position: relative;
    border: 1px solid var(--be-border);
    border-radius: var(--be-radius-sm);
    padding: 12px 14px;
    margin-bottom: 12px;
    background: #fafbfe;
}

body.be-modern .be-cart-item .title {
    font-size: 14px;
    font-weight: 600;
    color: var(--be-theme);
    padding-right: 52px;
    margin-bottom: 2px;
}

body.be-modern .be-cart-item .be-cart-sub {
    font-size: 12.5px;
    color: var(--be-ink-soft);
    margin-bottom: 8px;
}

body.be-modern .be-cart-item .be-cart-guests {
    display: flex;
    gap: 16px;
    font-size: 12.5px;
    color: var(--be-ink);
    border-bottom: 1px dashed var(--be-border);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

body.be-modern .be-cart-item .cart-amt {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 12.5px;
    padding: 1.5px 0;
}

body.be-modern .be-cart-item .cart-amt small {
    color: var(--be-ink-soft);
    font-size: 12px;
}

body.be-modern .be-cart-item .cart-amt span {
    font-weight: 500;
    color: var(--be-ink);
}

body.be-modern .be-cart-item .cart-amt.cart-amt-subt {
    border-top: 1px dashed var(--be-border);
    margin-top: 6px;
    padding-top: 7px;
}

body.be-modern .be-cart-item .cart-amt.cart-amt-subt small {
    font-weight: 600;
    color: var(--be-ink);
}

body.be-modern .be-cart-item .cart-amt.cart-amt-subt span {
    font-weight: 700;
    color: var(--be-theme);
}

body.be-modern .be-cart-item .room-edit,
body.be-modern .be-cart-item .room-delete {
    position: absolute;
    top: 12px;
    cursor: pointer;
    font-size: 13px;
    transition: transform .12s ease;
}

body.be-modern .be-cart-item .room-edit {
    right: 36px;
    color: var(--be-theme);
}

body.be-modern .be-cart-item .room-delete {
    right: 12px;
    color: #dc2626;
}

body.be-modern .be-cart-item .room-edit:hover,
body.be-modern .be-cart-item .room-delete:hover {
    transform: scale(1.15);
}

body.be-modern .be-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--be-ink);
    border-top: 2px solid var(--be-border);
    padding: 12px 2px 2px;
    margin-top: 4px;
}

body.be-modern .be-cart-total span {
    font-size: 18px;
    font-weight: 700;
    color: var(--be-theme);
}

body.be-modern .be-cart-continue {
    width: 100%;
    height: 48px;
    font-size: 15px;
    margin-top: 12px;
}

/* mobile sticky checkout bar (rendered by JS along with the cart; hidden on desktop) */
body.be-modern .be-cart-mobilebar {
    display: none;
}

@media (max-width: 991px) {
    body.be-modern .be-cart-mobilebar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        background: #fff;
        border-top: 1px solid var(--be-border);
        box-shadow: 0 -6px 20px -8px rgba(31, 41, 55, .25);
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    }

    body.be-modern .be-cart-mobilebar small {
        display: block;
        font-size: 11.5px;
        color: var(--be-ink-soft);
    }

    body.be-modern .be-cart-mobilebar .be-mobilebar-total {
        font-size: 18px;
        font-weight: 700;
        color: #000;
        line-height: 1.2;
    }

    body.be-modern .be-cart-mobilebar .btn {
        flex: 0 0 auto;
        height: 46px;
        padding: 0 26px;
        font-size: 14.5px;
    }

    /* keep page content clear of the fixed bar (main-content ignores padding-bottom in the
       legacy layout, so push the last element - the footer - up instead) */
    body.be-modern.has-cart-bar .copyright {
        margin-bottom: 82px !important;
    }
}

/* ---------- Property info ---------- */
body.be-modern .be-property-info {
    margin: 40px 0 50px;
}

body.be-modern .be-card {
    background: var(--be-card);
    border: 1px solid var(--be-border);
    border-radius: var(--be-radius);
    box-shadow: var(--be-shadow-soft);
    overflow: hidden;
}

body.be-modern .be-card-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--be-border);
}

body.be-modern .be-card-header h2 {
    font-size: 19px;
    font-weight: 600;
    color: var(--be-ink);
    margin: 0;
    letter-spacing: -.2px;
}

body.be-modern .be-card-body {
    padding: 24px;
}

body.be-modern .be-property-desc {
    font-size: 15px;
    line-height: 1.9;
    color: var(--be-ink-soft);
    text-align: justify;
    padding-right: 28px;
}

/* the description is raw HTML from the DB and may carry its own fonts/sizes — normalize it */
body.be-modern .be-property-desc,
body.be-modern .be-property-desc * {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 15px !important;
    color: var(--be-ink-soft) !important;
    line-height: 1.9 !important;
}

body.be-modern .be-property-gallery .carousel {
    border-radius: var(--be-radius-sm);
    overflow: hidden;
}

body.be-modern .be-property-gallery .carousel-item {
    height: 300px;
}

body.be-modern .be-property-gallery .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Footer ---------- */
body.be-modern .copyright {
    background: #111827;
    color: #d1d5db;
    margin: 0;
    padding: 44px 6vw 40px;
}

body.be-modern .copyright h3 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 16px;
}

body.be-modern .copyright ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.be-modern .copyright ul li {
    margin-bottom: 10px;
    font-size: 13.5px;
}

body.be-modern .copyright ul li span {
    color: var(--be-theme);
    margin-right: 8px;
}

body.be-modern .copyright a {
    color: #d1d5db;
    text-decoration: none;
    transition: color .15s ease;
}

body.be-modern .copyright a:hover {
    color: #fff;
}

body.be-modern .copyright .link-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    margin-right: 8px;
    padding: 0 !important;
    transition: background .15s ease;
}

body.be-modern .copyright .link-social:hover {
    background: var(--be-theme);
}

/* ---------- Modals ---------- */
body.be-modern .modal-content {
    border: none;
    border-radius: var(--be-radius);
    box-shadow: var(--be-shadow);
    overflow: hidden;
}

body.be-modern .modal-header {
    padding: 16px 22px;
    background: #fafbfe;
}

body.be-modern .modal-header .modal-title {
    font-size: 16.5px;
    font-weight: 600;
    color: var(--be-ink);
}

body.be-modern .modal-body {
    padding: 22px;
}

body.be-modern .modal .form-control {
    height: 44px;
    border: 1.5px solid var(--be-border);
    border-radius: var(--be-radius-sm);
    font-size: 14px;
}

body.be-modern .modal .form-control:focus {
    border-color: var(--be-theme);
    box-shadow: none;
}

body.be-modern #tableRoomDetail td {
    vertical-align: middle;
    font-size: 13.5px;
    border-color: var(--be-border);
}

body.be-modern #buttonReserveRoom {
    padding: 12px 40px;
    font-size: 15px;
}

/* ---------- Amounts / tariffs ---------- */
/* all money figures stay full black regardless of the hotel's theme color */
body.be-modern .be-price,
body.be-modern .be-price.brand-color,
body.be-modern .be-room-price .be-price,
body.be-modern .be-rate-price .be-price,
body.be-modern .be-cart-item .cart-amt span,
body.be-modern .be-cart-item .cart-amt.cart-amt-subt span,
body.be-modern .be-cart-total span {
    color: #000 !important;
}

/* ---------- Daterangepicker accent ---------- */
body.be-modern + .daterangepicker td.active,
.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: var(--be-theme) !important;
}

.daterangepicker td.in-range {
    background-color: color-mix(in srgb, var(--be-theme) 14%, #fff);
}

.daterangepicker {
    border-radius: var(--be-radius-sm);
    box-shadow: var(--be-shadow);
    border: 1px solid var(--be-border);
    font-family: 'Poppins', sans-serif;
}

/* ============================================================
   Step 2 - Checkout page
   ============================================================ */

body.be-modern .bg-primary {
    background-color: var(--be-theme) !important;
}

/* ============================================================
   Booking Result page
   ============================================================ */
body.be-modern .be-result-wrap {
    display: flex;
    justify-content: center;
    padding: 44px 0 70px;
}

body.be-modern .be-result-card {
    width: 100%;
    max-width: 540px;
    background: var(--be-card);
    border: 1px solid var(--be-border);
    border-radius: var(--be-radius);
    box-shadow: var(--be-shadow-soft);
    padding: 38px 36px 32px;
    text-align: center;
}

body.be-modern .be-result-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 38px;
}

body.be-modern .be-result-icon.success {
    background: #e5f7ef;
    color: #1d9e75;
}

body.be-modern .be-result-icon.failure {
    background: #fdeaea;
    color: #c0392b;
}

body.be-modern .be-result-card h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--be-ink);
    margin: 0 0 8px;
}

body.be-modern .be-result-sub {
    font-size: 14px;
    color: var(--be-ink-soft);
    margin: 0;
}

body.be-modern .be-result-sub strong {
    color: var(--be-ink);
}

body.be-modern .be-result-details {
    text-align: left;
    border: 1px solid var(--be-border);
    border-radius: var(--be-radius-sm);
    padding: 4px 18px;
    margin: 24px 0 20px;
}

body.be-modern .be-result-details .row-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--be-border);
    font-size: 13.5px;
}

body.be-modern .be-result-details .row-item:last-child {
    border-bottom: none;
}

body.be-modern .be-result-details .row-item .label {
    color: var(--be-ink-soft);
}

body.be-modern .be-result-details .row-item .value {
    font-weight: 600;
    color: var(--be-ink);
    text-align: right;
}

body.be-modern .be-result-note {
    font-size: 12.5px;
    color: var(--be-ink-soft);
    margin-bottom: 22px;
}

body.be-modern .be-result-note i {
    margin-right: 5px;
    color: var(--be-theme);
}

body.be-modern .be-result-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

body.be-modern .be-result-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    height: 46px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

body.be-modern .be-result-link {
    color: var(--be-theme);
    font-weight: 600;
    font-size: 13.5px;
}

body.be-modern .be-result-link:hover {
    text-decoration: underline;
    color: var(--be-theme);
}

/* ============================================================
   Cancel Booking page (OTP verified guest cancellation)
   ============================================================ */
body.be-modern .be-cancel-wrap {
    display: flex;
    justify-content: center;
    padding: 30px 0 60px;
}

body.be-modern .be-cancel-card {
    width: 100%;
    max-width: 440px;
    background: var(--be-card);
    border: 1px solid var(--be-border);
    border-radius: var(--be-radius);
    box-shadow: var(--be-shadow-soft);
    overflow: hidden;
}

body.be-modern .be-cancel-card-wide {
    max-width: 760px;
}

body.be-modern .be-cancel-head {
    padding: 22px 26px 0;
}

body.be-modern .be-cancel-head h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--be-ink);
    margin: 0 0 6px;
}

body.be-modern .be-cancel-head p {
    font-size: 13.5px;
    color: var(--be-ink-soft);
    margin: 0;
}

body.be-modern .be-cancel-body {
    padding: 18px 26px 26px;
}

body.be-modern .be-cancel-body label {
    font-size: 13px;
    font-weight: 500;
    color: var(--be-ink);
    margin-bottom: 6px;
    display: block;
}

body.be-modern .be-cancel-body .form-control {
    min-height: 44px;
    border: 1.5px solid var(--be-border);
    border-radius: var(--be-radius-sm);
    font-size: 14px;
    color: var(--be-ink);
    box-shadow: none;
    width: 100%;
}

body.be-modern .be-cancel-body .form-control:focus {
    border-color: var(--be-theme);
    outline: none;
}

body.be-modern .be-otp-input {
    letter-spacing: 10px;
    font-size: 20px !important;
    font-weight: 700;
    text-align: center;
}

body.be-modern .be-cancel-msg {
    font-size: 12.5px;
    margin-top: 8px;
    display: none;
}

body.be-modern .be-cancel-btn {
    width: 100%;
    height: 48px;
    margin-top: 16px;
    font-size: 14.5px;
    font-weight: 600;
}

body.be-modern .be-cancel-link-btn {
    background: transparent;
    border: none;
    color: var(--be-theme);
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px;
    padding: 4px 8px;
    box-shadow: none;
}

body.be-modern .be-cancel-link-btn:disabled {
    color: var(--be-ink-soft);
    opacity: .5;
}

/* booking rows */
body.be-modern .be-cancel-booking {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    border: 1px solid var(--be-border);
    border-radius: var(--be-radius-sm);
    padding: 14px 16px;
    margin-bottom: 12px;
}

body.be-modern .be-cancel-booking-ref {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

body.be-modern .be-cancel-booking-ref .ref-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--be-ink-soft);
}

body.be-modern .be-cancel-booking-ref .ref-value {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--be-ink);
}

body.be-modern .be-cancel-status {
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eef1f6;
    color: #5b6474;
}

body.be-modern .be-cancel-status.st-40 { background: #e5f7ef; color: #1d9e75; }   /* confirmed */
body.be-modern .be-cancel-status.st-50 { background: #fdf3e1; color: #b97a10; }   /* tentative */
body.be-modern .be-cancel-status.st-60 { background: #fdf3e1; color: #b97a10; }   /* partially arrived */
body.be-modern .be-cancel-status.st-20 { background: #fdeaea; color: #c0392b; }   /* cancelled */

body.be-modern .be-cancel-booking-dates {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--be-ink-soft);
}

body.be-modern .be-cancel-booking-dates i {
    margin-right: 4px;
}

body.be-modern .be-cancel-danger-btn {
    background: #fdeaea;
    color: #c0392b;
    border: 1px solid #f2c4c4;
    border-radius: var(--be-radius-sm);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    box-shadow: none;
    transition: background .15s ease, color .15s ease;
}

body.be-modern .be-cancel-danger-btn:hover {
    background: #c0392b;
    color: #fff;
    border-color: #c0392b;
}

body.be-modern .be-cancel-reason {
    font-size: 12px;
    color: var(--be-ink-soft);
    max-width: 220px;
    display: inline-block;
}

body.be-modern .be-cancel-empty {
    text-align: center;
    padding: 30px 0;
    color: var(--be-ink-soft);
}

body.be-modern .be-cancel-empty i {
    font-size: 34px;
    margin-bottom: 10px;
}

body.be-modern .be-cancel-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 6px;
    font-size: 13px;
    color: var(--be-ink-soft);
}

/* back to step 1 */
body.be-modern .be-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    padding: 9px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--be-theme);
    background: var(--be-card);
    border: 1px solid var(--be-border);
    border-radius: 999px;
    box-shadow: var(--be-shadow-soft);
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

body.be-modern .be-back-link:hover {
    color: #fff;
    background: var(--be-theme);
    border-color: var(--be-theme);
    text-decoration: none;
}

body.be-modern .be-back-link i {
    font-size: 12px;
}

body.be-modern .be-back-link + .be-stay-strip {
    margin-top: 14px;
}

/* stay dates strip */
body.be-modern .be-stay-strip {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: var(--be-card);
    border: 1px solid var(--be-border);
    border-radius: var(--be-radius);
    box-shadow: var(--be-shadow-soft);
    margin: 26px 0 6px;
    padding: 6px 0;
    max-width: 560px;
}

body.be-modern .be-stay-strip .col-date {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 10px;
}

body.be-modern .be-stay-strip .col-date .date-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--be-ink-soft);
    margin-bottom: 2px;
}

body.be-modern .be-stay-strip .col-date .date-value {
    font-size: 19px;
    font-weight: 700;
    color: var(--be-ink);
    line-height: 1.3;
}

body.be-modern .be-stay-strip .col-date .date-time {
    font-size: 11px;
    letter-spacing: .5px;
    color: var(--be-ink-soft);
    margin-top: 2px;
}

body.be-modern .be-stay-strip .col-night {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    border-left: 1px solid var(--be-border);
    border-right: 1px solid var(--be-border);
    background: color-mix(in srgb, var(--be-theme) 8%, #fff);
}

body.be-modern .be-stay-strip .col-night .night-count {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--be-theme);
    border: none;
    padding: 0;
    white-space: nowrap;
}

/* shared panel look (Booking Details / Confirm Booking) */
body.be-modern .panel.panel-light,
body.be-modern #sectionDataRoomDetails .panel {
    background: var(--be-card);
    border: 1px solid var(--be-border);
    border-radius: var(--be-radius);
    box-shadow: var(--be-shadow-soft);
    overflow: hidden;
}

body.be-modern .panel .panel-header {
    padding: 13px 18px;
    border: none;
}

body.be-modern .panel .panel-header .panel-title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .3px;
    margin: 0;
    text-transform: none;
}

body.be-modern .panel .panel-body {
    padding: 20px;
}

/* booking details cards (JS rendered) */
body.be-modern #sectionDataRoomDetails .cart-room .card {
    border: none;
}

body.be-modern #sectionDataRoomDetails .cart-room .card-body {
    border: 1px solid var(--be-border) !important;
    border-radius: var(--be-radius-sm);
    background: #fafbfe;
    padding: 14px 16px !important;
}

body.be-modern #sectionDataRoomDetails .cart-room .card-body .title {
    font-size: 15px;
    font-weight: 700;
    color: #000 !important;
    padding: 0;
    margin-bottom: 4px;
}

body.be-modern #sectionDataRoomDetails .cart-room .card-body .d-flex {
    border-bottom: 1px dashed var(--be-border) !important;
    font-size: 13px;
    color: var(--be-ink-soft);
    padding-bottom: 8px !important;
    margin-bottom: 8px !important;
}

body.be-modern #sectionDataRoomDetails .cart-room .card-body .d-flex > div {
    padding-left: 0;
}

body.be-modern #sectionDataRoomDetails .cart-room .card-body .cart-amt,
body.be-modern #sectionDataRoomDetails .cart-room .card-body .cart-amt-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 13px;
    font-weight: 500;
    padding: 2px 0;
    text-align: right;
}

body.be-modern #sectionDataRoomDetails .cart-room .card-body .cart-amt small,
body.be-modern #sectionDataRoomDetails .cart-room .card-body .cart-amt-total small {
    font-size: 12.5px;
    font-weight: 400;
    color: var(--be-ink-soft);
    margin-right: 0;
}

body.be-modern #sectionDataRoomDetails .cart-room .card-body .cart-amt span,
body.be-modern #sectionDataRoomDetails .cart-room .card-body .cart-amt-total span {
    width: auto;
    color: #000;
    font-weight: 600;
}

body.be-modern #sectionDataRoomDetails .cart-room .card-body .cart-amt-total:last-child {
    border-top: 1px dashed var(--be-border);
    margin-top: 6px;
    padding-top: 8px;
}

body.be-modern #sectionDataRoomDetails .cart-room .card-body .cart-amt-total:last-child small {
    font-weight: 600;
    color: var(--be-ink);
}

body.be-modern #sectionDataRoomDetails .cart-room .card-body .cart-amt-total:last-child span {
    font-size: 16px;
    font-weight: 700;
}

/* TOTAL BREAKUP title as a badge */
body.be-modern #sectionDataRoomDetails .cart-room .card-body .title.text-uppercase {
    display: inline-block;
    width: auto;
    background: color-mix(in srgb, var(--be-theme) 14%, #fff);
    color: var(--be-theme) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 10px;
}

/* Total Payable row filled light gray for emphasis */
body.be-modern #sectionDataRoomDetails .cart-room .card-body #sectionTotalAmount {
    background: #eef1f6;
    border-radius: var(--be-radius-sm);
    border-top: none;
    padding: 12px 14px;
    margin-top: 10px;
}

/* addons */
body.be-modern #sectionDataReserveAddon ul.list-group {
    border: 1px solid var(--be-border);
    border-radius: var(--be-radius);
    box-shadow: var(--be-shadow-soft);
    overflow: hidden;
}

body.be-modern #sectionDataReserveAddon ul li.list-group-item {
    border-left: none;
    border-right: none;
    border-color: var(--be-border);
    padding: 14px 18px;
}

body.be-modern #sectionDataReserveAddon ul li.data-addon-title {
    color: #fff;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: .3px !important;
    text-transform: none !important;
    border: none;
}

body.be-modern #sectionDataReserveAddon ul li.list-group-item .col-info span.title {
    font-size: 14.5px !important;
    color: var(--be-ink);
}

body.be-modern #sectionDataReserveAddon ul li.list-group-item .col-info span.description {
    font-size: 12px !important;
    color: var(--be-ink-soft) !important;
}

body.be-modern #sectionDataReserveAddon ul li.list-group-item .col-amount span.amount {
    color: #000;
    font-size: 17px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

body.be-modern #sectionDataReserveAddon .btn-add-remove .btn {
    border-radius: var(--be-radius-sm);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 22px;
}

/* confirm booking form */
body.be-modern #sectionConfirmBooking .separator.subtitle span {
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--be-ink-soft);
}

body.be-modern #sectionConfirmBooking .separator.subtitle i {
    color: var(--be-theme);
}

body.be-modern #sectionConfirmBooking label {
    font-size: 13px;
    font-weight: 500;
    color: var(--be-ink);
    margin-bottom: 6px;
}

body.be-modern #sectionConfirmBooking .form-control {
    min-height: 44px;
    border: 1.5px solid var(--be-border);
    border-radius: var(--be-radius-sm);
    font-size: 14px;
    color: var(--be-ink);
    box-shadow: none;
}

body.be-modern #sectionConfirmBooking .form-control:focus {
    border-color: var(--be-theme);
}

body.be-modern #sectionConfirmBooking .input-group .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

body.be-modern #sectionConfirmBooking .input-group-text {
    border: 1.5px solid var(--be-border);
    border-right: none;
    border-radius: var(--be-radius-sm) 0 0 var(--be-radius-sm);
    background: #fafbfe;
    font-size: 13.5px;
    color: var(--be-ink);
    height: 44px;
}

/* title / phone-code selects: replace the native arrow with a consistent centered caret */
body.be-modern #sectionConfirmBooking select.input-group-text {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-width: 74px;
    padding: 0 26px 0 14px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
}

body.be-modern #sectionConfirmBooking select.input-group-text:focus {
    border-color: var(--be-theme);
    outline: none;
}

body.be-modern #sectionConfirmBooking textarea.form-control {
    min-height: 80px;
}

body.be-modern #sectionConfirmBooking .mandate-icon {
    color: #dc2626;
    margin-left: 3px;
}

body.be-modern #sectionConfirmBooking .form-check-label {
    font-size: 13px;
    color: var(--be-ink-soft);
}

body.be-modern #sectionConfirmBooking .form-check-label a {
    color: var(--be-theme);
    font-weight: 500;
}

body.be-modern #buttonBookAndPay {
    height: 50px;
    font-size: 15.5px;
    font-weight: 600;
}

/* payment options (JS rendered radio cards) */
/* only the outer wrapper card, NOT the nested label.card-body of the selectable options */
body.be-modern #sectionPaymentOption .cart-room > .card > .card-body {
    border: none !important;
    padding: 0 !important;
}

body.be-modern #sectionPaymentOption .title {
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--be-ink-soft) !important;
    padding-left: 0;
}

body.be-modern #sectionPaymentOption .card-selectable-3 {
    border: none;
    background: transparent;
    margin-bottom: 10px !important;
    box-shadow: none;
}

body.be-modern #sectionPaymentOption .card-selectable-3 label.card-body {
    border: 1.5px solid #d3dae5 !important;
    border-radius: var(--be-radius-sm) !important;
    background: #fff;
    box-shadow: 0 1px 3px rgba(31, 41, 55, .06);
    padding: 14px 16px !important;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
    margin-bottom: 0;
}

body.be-modern #sectionPaymentOption .card-selectable-3 label.card-body:hover {
    border-color: var(--be-theme) !important;
}

body.be-modern #sectionPaymentOption .card-selectable-3 .col-input i {
    color: #cbd2dd;
    font-size: 17px;
    transition: color .15s ease;
}

/* legacy app.css draws the checked border from currentColor, so the label color must be the theme */
body.be-modern #sectionPaymentOption .card-selectable-3 input:checked ~ label {
    background-color: color-mix(in srgb, var(--be-theme) 10%, #fff) !important;
    border-color: var(--be-theme) !important;
    color: var(--be-theme) !important;
}

body.be-modern #sectionPaymentOption .card-selectable-3 input:checked ~ label .col-input i {
    color: var(--be-theme);
}

body.be-modern #sectionPaymentOption .card-selectable-3 small {
    font-size: 13.5px !important;
    font-weight: 500;
    color: var(--be-ink) !important;
}

body.be-modern #sectionPaymentOption .card-selectable-3 span {
    color: #000 !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
}

/* loader modal */
body.be-modern .bd-example-modal-lg .spinner-border {
    color: var(--be-theme) !important;
}

@media (max-width: 767px) {
    body.be-modern .be-stay-strip {
        max-width: 100%;
    }

    body.be-modern .be-stay-strip .col-date .date-value {
        font-size: 15.5px;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    body.be-modern .be-room-media {
        flex: 1 1 100%;
        max-width: 100%;
    }

    body.be-modern .be-room-media .carousel-item {
        height: 230px;
    }

    body.be-modern .be-room-price {
        align-items: flex-start;
        text-align: left;
        min-width: 0;
    }

    body.be-modern .section-room-cart {
        position: static;
        top: auto;
    }
}

@media (max-width: 767px) {
    /* legacy custom.css only swaps menus at 414px; modern phones are 390-430px wide,
       leaving the desktop toolbar floating transparently over content — swap at 767px */
    body.be-modern .desktop-menu {
        display: none !important;
    }

    body.be-modern .mobile-menu {
        display: block !important;
        background: #fff !important;
        border-bottom: 1px solid var(--be-border);
        padding: 10px 16px;
    }

    body.be-modern .mobile-menu .navbar-brand {
        margin-right: 40px;
        white-space: normal;
    }

    body.be-modern .mobile-menu .navbar-brand span {
        display: block;
        font-size: 17px;
        font-weight: 600;
        color: var(--be-ink);
        line-height: 1.3;
    }

    body.be-modern .mobile-menu .navbar-brand small {
        display: block;
        font-size: 11.5px;
        color: var(--be-ink-soft);
    }

    body.be-modern .mobile-menu .navbar-toggler {
        border: 1px solid var(--be-border);
        border-radius: 8px;
        top: 14px;
        right: 12px !important;
    }

    body.be-modern .mobile-menu .nav-link {
        color: var(--be-ink) !important;
        font-size: 14px;
        font-weight: 500;
        padding: .55rem 0;
    }

    body.be-modern .mobile-menu .dropdown-menu {
        border: 1px solid var(--be-border);
        border-radius: var(--be-radius-sm);
        box-shadow: var(--be-shadow-soft);
        font-size: 13px;
    }

    body.be-modern .be-hero-banner {
        height: 220px;
    }

    body.be-modern .be-hero-banner + .be-search-wrap {
        margin-top: -40px;
    }

    body.be-modern .be-hero {
        margin-bottom: 40px;
    }

    body.be-modern .be-search-card {
        padding: 16px;
    }

    body.be-modern .be-search-field-guests {
        flex: 1 1 100%;
    }

    body.be-modern .be-search-action {
        flex: 1 1 100%;
    }

    body.be-modern .be-search-action .btn-filter-search {
        width: 100%;
    }

    body.be-modern .be-rate-row {
        gap: 10px;
    }

    body.be-modern .be-rate-price {
        text-align: left;
    }

    body.be-modern .be-rate-qty,
    body.be-modern .be-rate-action {
        flex: 1 1 45%;
    }

    body.be-modern .be-rate-qty select.input-room-type-room,
    body.be-modern .be-rate-action .btn-add-room {
        width: 100%;
    }

    body.be-modern .be-property-desc {
        padding-right: 0;
        margin-bottom: 20px;
    }

    body.be-modern .be-skeleton-card {
        flex-direction: column;
    }

    body.be-modern .be-skeleton-img {
        width: 100%;
    }
}
