/* =========================================================
   RentalBooking.com — theme
   Deep navy + warm gold accent, Poppins, soft rounded cards
   ========================================================= */
:root {
  --rb-navy: #0f2a4a;
  --rb-navy-2: #183b66;
  --rb-gold: #f5a524;
  --rb-gold-2: #e08e0b;
  --rb-green: #12a150;
  --rb-red: #e5484d;
  --rb-bg: #f6f7fb;
  --rb-card: #ffffff;
  --rb-text: #1c2434;
  --rb-muted: #6b7385;
  --rb-border: #e6e8ef;
  --rb-radius: 16px;
  --rb-shadow: 0 6px 24px rgba(15, 42, 74, .08);
  --rb-shadow-lg: 0 18px 50px rgba(15, 42, 74, .16);
  --bs-primary: #0f2a4a;
  --bs-primary-rgb: 15, 42, 74;
  --bs-link-color: #183b66;
  --bs-link-hover-color: #e08e0b;
  --bs-body-font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html { font-size: 15px; scroll-behavior: smooth; }
body { background: var(--rb-bg); color: var(--rb-text); font-family: var(--bs-body-font-family); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, .fw-display { font-weight: 600; letter-spacing: -.01em; }
a { text-decoration: none; }
img { max-width: 100%; }
.text-muted { color: var(--rb-muted) !important; }
.text-gold { color: var(--rb-gold-2) !important; }
.bg-navy { background: var(--rb-navy) !important; color: #fff; }
.small-caps { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 600; color: var(--rb-muted); }

/* ---------- Buttons ---------- */
.btn { border-radius: 12px; font-weight: 500; padding: .6rem 1.15rem; }
.btn-sm { border-radius: 10px; padding: .35rem .75rem; }
.btn-lg { padding: .8rem 1.6rem; }
.btn-primary { background: var(--rb-navy); border-color: var(--rb-navy); }
.btn-primary:hover, .btn-primary:focus { background: var(--rb-navy-2); border-color: var(--rb-navy-2); }
.btn-gold { background: linear-gradient(135deg, #ffb83d, var(--rb-gold-2)); border: 0; color: #2b1a00; font-weight: 600; box-shadow: 0 8px 20px rgba(224, 142, 11, .3); }
.btn-gold:hover { color: #2b1a00; filter: brightness(1.05); transform: translateY(-1px); }
.btn-outline-primary { color: var(--rb-navy); border-color: var(--rb-navy); }
.btn-outline-primary:hover { background: var(--rb-navy); border-color: var(--rb-navy); }
.btn-soft { background: #eef1f7; color: var(--rb-navy); border: 0; }
.btn-soft:hover { background: #e2e7f1; color: var(--rb-navy); }
.btn-icon { width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }

/* ---------- Navbar ---------- */
.rb-nav { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--rb-border); }
.rb-nav.transparent { background: transparent; border-color: transparent; position: absolute; width: 100%; z-index: 20; }
.rb-nav.transparent .nav-link, .rb-nav.transparent .brand, .rb-nav.transparent .navbar-toggler { color: #fff !important; }
.rb-nav .nav-link { font-weight: 500; color: var(--rb-text); padding: .5rem .9rem !important; border-radius: 10px; }
.rb-nav .nav-link:hover { color: var(--rb-gold-2); }
.brand { font-weight: 700; font-size: 1.35rem; color: var(--rb-navy); display: inline-flex; align-items: center; gap: .45rem; }
.brand .logo { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, var(--rb-navy), #2f5b93); color: var(--rb-gold); display: grid; place-items: center; font-size: 1.1rem; }
.brand .dot { color: var(--rb-gold-2); }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: 92vh; min-height: 600px; max-height: 900px; }
.hero .carousel, .hero .carousel-inner, .hero .carousel-item { height: 100%; }
.hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease; }
.hero .carousel-item.active img { transform: scale(1); }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 38, .55) 0%, rgba(8, 20, 38, .25) 40%, rgba(8, 20, 38, .75) 100%); pointer-events: none; }
.hero .caption-tag { position: absolute; right: 2rem; bottom: 9.5rem; color: #fff; text-align: right; z-index: 3; opacity: .9; }
.hero .caption-tag .t { font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; color: var(--rb-gold); }
.hero-content { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; justify-content: center; color: #fff; pointer-events: none; }
.hero-content > * { pointer-events: auto; }
.hero-title { font-size: clamp(2.1rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.1; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero-sub { font-size: 1.15rem; opacity: .92; max-width: 640px; }
.hero .carousel-indicators { bottom: 1.2rem; z-index: 6; }
.hero .carousel-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 4px; }

/* ---------- Search box ---------- */
.search-box { background: #fff; border-radius: 20px; padding: .6rem; box-shadow: var(--rb-shadow-lg); color: var(--rb-text); }
.search-box .field { padding: .55rem 1rem; border-radius: 14px; }
.search-box .field:hover { background: #f4f6fa; }
.search-box label { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--rb-muted); margin-bottom: 0; }
.search-box .form-control, .search-box .form-select { border: 0; padding: 0; box-shadow: none !important; font-weight: 500; background-color: transparent; }
.search-box .divider { width: 1px; background: var(--rb-border); margin: .6rem 0; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: .35rem; }
.section-sub { color: var(--rb-muted); margin-bottom: 2rem; }

/* Type tiles */
.type-tile { position: relative; border-radius: var(--rb-radius); overflow: hidden; display: block; aspect-ratio: 4/5; color: #fff; box-shadow: var(--rb-shadow); }
.type-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.type-tile:hover img { transform: scale(1.08); }
.type-tile .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8, 20, 38, .85)); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.1rem; }
.type-tile .ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); display: grid; place-items: center; font-size: 1.2rem; margin-bottom: .5rem; }
.type-tile h5 { margin: 0; color: #fff; }

/* City tiles */
.city-tile { position: relative; display: block; border-radius: var(--rb-radius); overflow: hidden; height: 220px; color: #fff; }
.city-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.city-tile:hover img { transform: scale(1.07); }
.city-tile .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .7)); padding: 1rem 1.2rem; display: flex; flex-direction: column; justify-content: flex-end; }
.city-tile.tall { height: 100%; min-height: 220px; }

/* Showcase (bedrooms / lighting / washrooms) */
.showcase-tabs .nav-link { border-radius: 50px; color: var(--rb-navy); font-weight: 500; padding: .5rem 1.2rem; background: #fff; margin: 0 .25rem .5rem; border: 1px solid var(--rb-border); }
.showcase-tabs .nav-link.active { background: var(--rb-navy); color: #fff; border-color: var(--rb-navy); }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; }
.mosaic > div { border-radius: var(--rb-radius); overflow: hidden; position: relative; }
.mosaic > div:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mosaic > div:hover img { transform: scale(1.06); }
.mosaic .label { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .92); color: var(--rb-navy); padding: .3rem .75rem; border-radius: 30px; font-size: .8rem; font-weight: 600; }
@media (max-width: 767px) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; } .mosaic > div:first-child { grid-column: span 2; grid-row: auto; } }

/* ---------- Property card ---------- */
.prop-card { background: var(--rb-card); border-radius: var(--rb-radius); overflow: hidden; box-shadow: var(--rb-shadow); transition: transform .25s, box-shadow .25s; height: 100%; display: flex; flex-direction: column; }
.prop-card:hover { transform: translateY(-4px); box-shadow: var(--rb-shadow-lg); }
.prop-card .media { position: relative; aspect-ratio: 4/3; background: #dde3ec; }
.prop-card .media img { width: 100%; height: 100%; object-fit: cover; }
.prop-card .carousel, .prop-card .carousel-inner, .prop-card .carousel-item { height: 100%; }
.prop-card .carousel-control-prev, .prop-card .carousel-control-next { opacity: 0; width: 15%; transition: opacity .2s; }
.prop-card:hover .carousel-control-prev, .prop-card:hover .carousel-control-next { opacity: .9; }
.prop-card .badges { position: absolute; top: 10px; left: 10px; z-index: 3; display: flex; gap: 6px; flex-wrap: wrap; }
.prop-card .body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.prop-card .title { font-weight: 600; font-size: 1.05rem; color: var(--rb-text); margin-bottom: .1rem; }
.prop-card .loc { color: var(--rb-muted); font-size: .88rem; }
.prop-card .facts { display: flex; gap: .9rem; color: var(--rb-muted); font-size: .85rem; margin: .6rem 0; flex-wrap: wrap; }
.prop-card .price { font-size: 1.2rem; font-weight: 700; color: var(--rb-navy); }
.prop-card .price small { font-weight: 400; color: var(--rb-muted); font-size: .8rem; }
.pill { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: 30px; font-size: .74rem; font-weight: 600; background: rgba(255, 255, 255, .94); color: var(--rb-navy); }
.pill-gold { background: var(--rb-gold); color: #2b1a00; }
.pill-green { background: #e7f7ee; color: var(--rb-green); }
.pill-soft { background: #eef1f7; color: var(--rb-navy); }

/* ---------- Owner CTA ---------- */
.owner-cta { border-radius: 24px; overflow: hidden; background: linear-gradient(110deg, rgba(15, 42, 74, .96) 45%, rgba(15, 42, 74, .55)), url('/img/stock/owner-cta.jpg') center/cover; color: #fff; padding: 3.5rem; }
.feature-ico { width: 54px; height: 54px; border-radius: 16px; background: #fff4e0; color: var(--rb-gold-2); display: grid; place-items: center; font-size: 1.5rem; }

/* ---------- Footer ---------- */
.rb-footer { background: #0b1f38; color: #b9c3d3; padding: 3.5rem 0 1.5rem; }
.rb-footer a { color: #d5dce8; }
.rb-footer a:hover { color: var(--rb-gold); }
.rb-footer h6 { color: #fff; font-weight: 600; margin-bottom: 1rem; }

/* ---------- Forms ---------- */
.form-control, .form-select { border-radius: 12px; border-color: var(--rb-border); padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { border-color: #8aa4c8; box-shadow: 0 0 0 .2rem rgba(24, 59, 102, .12); }
.form-label { font-weight: 500; font-size: .9rem; margin-bottom: .35rem; }
.form-hint { font-size: .8rem; color: var(--rb-muted); }
.card-soft { background: #fff; border-radius: var(--rb-radius); box-shadow: var(--rb-shadow); border: 0; }
.card-soft > .card-header { background: transparent; border-bottom: 1px solid var(--rb-border); padding: 1rem 1.25rem; font-weight: 600; }
.card-soft > .card-body { padding: 1.25rem; }
.field-validation-error, .validation-summary-errors { color: var(--rb-red); font-size: .82rem; }
.validation-summary-errors ul { margin: 0; padding-left: 1rem; }
.input-validation-error { border-color: var(--rb-red) !important; }

/* Slider switch (active / inactive) */
.rb-switch { display: inline-flex; align-items: center; gap: .55rem; cursor: pointer; user-select: none; margin: 0; }
.rb-switch input { appearance: none; -webkit-appearance: none; width: 46px; height: 26px; border-radius: 30px; background: #cfd5df; position: relative; transition: background .2s; cursor: pointer; flex-shrink: 0; margin: 0; }
.rb-switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .2s; }
.rb-switch input:checked { background: var(--rb-green); }
.rb-switch input:checked::after { transform: translateX(20px); }
.rb-switch input:disabled { opacity: .6; cursor: wait; }
.rb-switch .state { font-size: .82rem; font-weight: 600; min-width: 58px; }
.rb-switch input:checked + .state { color: var(--rb-green); }
.rb-switch input:not(:checked) + .state { color: var(--rb-muted); }
.rb-switch.sm input { width: 38px; height: 22px; }
.rb-switch.sm input::after { width: 16px; height: 16px; }
.rb-switch.sm input:checked::after { transform: translateX(16px); }

/* Switch rows (rules etc.) */
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border: 1px solid var(--rb-border); border-radius: 14px; background: #fff; height: 100%; }
.switch-row .ttl { font-weight: 500; }
.switch-row .ttl i { color: var(--rb-navy-2); margin-right: .45rem; font-size: 1.05rem; }

/* Choice chips (radio / checkbox as buttons) */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 40px; border: 1.5px solid var(--rb-border); background: #fff; color: var(--rb-text); font-size: .88rem; font-weight: 500; cursor: pointer; transition: all .15s; user-select: none; margin: 0; }
.chip:hover { border-color: #9fb2cc; background: #f7f9fc; }
.chip i { color: var(--rb-navy-2); }
.btn-check:checked + .chip { background: var(--rb-navy); border-color: var(--rb-navy); color: #fff; box-shadow: 0 4px 12px rgba(15, 42, 74, .2); }
.btn-check:checked + .chip i { color: var(--rb-gold); }
.btn-check:checked + .chip::before { content: '\F26E'; font-family: 'bootstrap-icons'; margin-right: -.1rem; font-size: .95rem; }
.btn-check:focus-visible + .chip { outline: 2px solid var(--rb-gold); }

/* Big choice tiles (property type) */
.choice-tile { display: block; border: 2px solid var(--rb-border); border-radius: 18px; background: #fff; overflow: hidden; cursor: pointer; transition: all .2s; height: 100%; margin: 0; }
.choice-tile img { width: 100%; height: 110px; object-fit: cover; }
.choice-tile .lbl { padding: .7rem .9rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.choice-tile .lbl i { color: var(--rb-navy-2); font-size: 1.1rem; }
.choice-tile:hover { border-color: #9fb2cc; transform: translateY(-2px); }
.btn-check:checked + .choice-tile { border-color: var(--rb-gold-2); box-shadow: 0 0 0 4px rgba(245, 165, 36, .2); }
.btn-check:checked + .choice-tile .lbl::after { content: '\F26A'; font-family: 'bootstrap-icons'; margin-left: auto; color: var(--rb-gold-2); font-size: 1.2rem; }

/* Number stepper */
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--rb-border); border-radius: 40px; background: #fff; overflow: hidden; }
.stepper button { border: 0; background: transparent; width: 38px; height: 38px; font-size: 1.1rem; color: var(--rb-navy); }
.stepper button:hover { background: #f1f4f9; }
.stepper input { width: 56px; border: 0; text-align: center; font-weight: 600; outline: 0; background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Group headings for facilities */
.group-block { border: 1px solid var(--rb-border); border-radius: 16px; padding: 1rem 1.1rem; background: #fcfdff; margin-bottom: .9rem; }
.group-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .7rem; }
.group-head .gt { font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.group-head .gt .gi { width: 32px; height: 32px; border-radius: 10px; background: #eef2f9; color: var(--rb-navy-2); display: grid; place-items: center; }
.group-head .sel-all { font-size: .8rem; font-weight: 500; }

/* ---------- Panels (owner/admin) ---------- */
.panel-wrap { display: flex; min-height: 100vh; }
.panel-side { width: 260px; background: var(--rb-navy); color: #c8d3e3; flex-shrink: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 1.25rem .9rem; }
.panel-side .brand { color: #fff; margin: 0 .5rem 1.5rem; }
.panel-side .nav-link { color: #c8d3e3; border-radius: 12px; padding: .62rem .85rem; display: flex; align-items: center; gap: .7rem; font-weight: 500; margin-bottom: 2px; }
.panel-side .nav-link i { font-size: 1.1rem; }
.panel-side .nav-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.panel-side .nav-link.active { background: rgba(245, 165, 36, .15); color: var(--rb-gold); }
.panel-side .sect { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: #7f93b2; margin: 1.1rem .85rem .4rem; }
.panel-main { flex: 1; min-width: 0; }
.panel-top { background: #fff; border-bottom: 1px solid var(--rb-border); padding: .75rem 1.5rem; display: flex; align-items: center; gap: 1rem; position: sticky; top: 0; z-index: 30; }
.panel-body { padding: 1.5rem; max-width: 1400px; }
@media (max-width: 991px) {
  .panel-side { position: fixed; left: -280px; z-index: 1050; transition: left .25s; }
  .panel-side.open { left: 0; box-shadow: var(--rb-shadow-lg); }
  .panel-body { padding: 1rem; }
}
.kpi { background: #fff; border-radius: var(--rb-radius); padding: 1.15rem 1.25rem; box-shadow: var(--rb-shadow); display: flex; align-items: center; gap: 1rem; height: 100%; }
.kpi .ki { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 1.35rem; }
.kpi .kv { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.kpi .kl { color: var(--rb-muted); font-size: .85rem; }
.ki-navy { background: #e8eef7; color: var(--rb-navy-2); }
.ki-gold { background: #fff4e0; color: var(--rb-gold-2); }
.ki-green { background: #e7f7ee; color: var(--rb-green); }
.ki-red { background: #fdecec; color: var(--rb-red); }

.table-rb { background: #fff; border-radius: var(--rb-radius); overflow: hidden; box-shadow: var(--rb-shadow); margin: 0; }
.table-rb thead th { background: #f4f6fa; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--rb-muted); font-weight: 600; border: 0; padding: .85rem 1rem; white-space: nowrap; }
.table-rb td { padding: .8rem 1rem; vertical-align: middle; border-color: var(--rb-border); }
.table-rb tr.row-off td { opacity: .55; }
.thumb { width: 64px; height: 48px; border-radius: 10px; object-fit: cover; background: #e5e9f0; }

.status { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border-radius: 30px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-live { background: #e7f7ee; color: var(--rb-green); }
.status-pending { background: #fff4e0; color: #b86e00; }
.status-rejected { background: #fdecec; color: var(--rb-red); }
.status-suspended { background: #f3e8ff; color: #7c3aed; }
.status-draft { background: #eef1f7; color: #5b6578; }

/* Owner property cards */
.my-prop { background: #fff; border-radius: var(--rb-radius); box-shadow: var(--rb-shadow); overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.my-prop .media { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, #e3e8f0, #f3f5f9); display: grid; place-items: center; color: #9aa6b8; }
.my-prop .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.my-prop .media .status { position: absolute; top: 10px; left: 10px; }
.my-prop .media .code { position: absolute; top: 10px; right: 10px; background: rgba(15, 42, 74, .85); color: #fff; padding: .2rem .6rem; border-radius: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; }
.my-prop .body { padding: 1rem 1.1rem; flex: 1; }
.my-prop .foot { padding: .75rem 1.1rem; border-top: 1px solid var(--rb-border); display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.my-prop.off .media img { filter: grayscale(.85); opacity: .7; }
.add-tile { border: 2px dashed #c4cedd; border-radius: var(--rb-radius); display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 320px; color: var(--rb-navy-2); background: #fbfcfe; transition: all .2s; height: 100%; }
.add-tile:hover { border-color: var(--rb-gold-2); background: #fffaf0; color: var(--rb-gold-2); }
.add-tile i { font-size: 2.6rem; }

/* Wizard */
.wizard { display: grid; grid-template-columns: 270px 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 991px) { .wizard { grid-template-columns: 1fr; } }
.wizard-nav { background: #fff; border-radius: var(--rb-radius); box-shadow: var(--rb-shadow); padding: 1rem; position: sticky; top: 80px; }
.wizard-nav .head { padding: .25rem .5rem 1rem; border-bottom: 1px solid var(--rb-border); margin-bottom: .6rem; }
.wizard-nav .code { font-size: .75rem; font-weight: 700; color: var(--rb-gold-2); letter-spacing: .06em; }
.wizard-step { display: flex; align-items: center; gap: .75rem; padding: .62rem .6rem; border-radius: 12px; color: var(--rb-text); font-weight: 500; font-size: .92rem; }
.wizard-step:hover { background: #f4f6fa; color: var(--rb-text); }
.wizard-step .n { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--rb-border); display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: var(--rb-muted); flex-shrink: 0; }
.wizard-step.done .n { background: var(--rb-green); border-color: var(--rb-green); color: #fff; }
.wizard-step.current { background: #fff6e6; }
.wizard-step.current .n { border-color: var(--rb-gold-2); color: var(--rb-gold-2); }
.wizard-step.disabled { opacity: .45; pointer-events: none; }
.progress-thin { height: 8px; border-radius: 8px; background: #edf0f5; }
.progress-thin .progress-bar { background: linear-gradient(90deg, var(--rb-gold), var(--rb-green)); border-radius: 8px; }
.wizard-actions { position: sticky; bottom: 0; background: rgba(246, 247, 251, .94); backdrop-filter: blur(8px); padding: .9rem 0; margin-top: 1.25rem; display: flex; gap: .6rem; justify-content: flex-end; border-top: 1px solid var(--rb-border); z-index: 10; }
.step-title { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.25rem; }
.step-title .si { width: 48px; height: 48px; border-radius: 14px; background: var(--rb-navy); color: var(--rb-gold); display: grid; place-items: center; font-size: 1.3rem; }
.code-chip { display: inline-flex; align-items: center; gap: .4rem; background: #fff4e0; color: #8a5300; border-radius: 10px; padding: .35rem .75rem; font-weight: 600; font-size: .85rem; }

/* Rooms builder */
.quick-count { display: flex; gap: .45rem; flex-wrap: wrap; }
.quick-count button { width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid var(--rb-border); background: #fff; font-weight: 600; color: var(--rb-navy); }
.quick-count button.active { background: var(--rb-navy); color: #fff; border-color: var(--rb-navy); }
.room-card { background: #fff; border-radius: 18px; box-shadow: var(--rb-shadow); margin-bottom: 1rem; border-left: 5px solid var(--rb-navy-2); }
.room-card.bath { border-left-color: #2bb3c0; }
.room-card .rc-head { display: flex; align-items: center; gap: .75rem; padding: .9rem 1.1rem; cursor: pointer; }
.room-card .rc-num { width: 40px; height: 40px; border-radius: 12px; background: #eef2f9; color: var(--rb-navy); display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.room-card.bath .rc-num { background: #e3f7f9; color: #138a95; }
.room-card .rc-name { border: 0; font-weight: 600; font-size: 1.02rem; padding: .2rem .4rem; border-radius: 8px; min-width: 0; max-width: 260px; }
.room-card .rc-name:hover, .room-card .rc-name:focus { background: #f4f6fa; outline: 0; }
.room-card .rc-sum { color: var(--rb-muted); font-size: .82rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.room-card .rc-body { padding: 0 1.1rem 1.1rem; border-top: 1px solid var(--rb-border); }
.room-card.collapsed .rc-body { display: none; }
.room-card .rc-chev { transition: transform .2s; }
.room-card.collapsed .rc-chev { transform: rotate(-90deg); }
.sub-label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--rb-muted); margin: 1.1rem 0 .55rem; }
.bed-row { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; flex-wrap: wrap; }
.bed-row select { max-width: 220px; }
.attached-bath { background: #f3fbfc; border: 1px solid #cdeef1; border-radius: 16px; padding: 1rem; margin-top: 1rem; }

/* Photos */
.drop-zone { border: 2px dashed #b9c6d8; border-radius: 18px; padding: 2.2rem 1rem; text-align: center; background: #fbfcfe; cursor: pointer; transition: all .2s; }
.drop-zone.drag, .drop-zone:hover { border-color: var(--rb-gold-2); background: #fffaf0; }
.drop-zone i { font-size: 2.5rem; color: var(--rb-navy-2); }
.preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
.preview-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.photo-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--rb-shadow); }
.photo-card .ph { position: relative; aspect-ratio: 4/3; }
.photo-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.photo-card .ph .acts { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; }
.photo-card .ph .cover-badge { position: absolute; top: 8px; left: 8px; }
.photo-card .pb { padding: .7rem; }

/* ---------- Property details page ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 10px; border-radius: 22px; overflow: hidden; position: relative; }
.gallery a { position: relative; overflow: hidden; display: block; }
.gallery a:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.gallery a:hover img { transform: scale(1.04); filter: brightness(.92); }
.gallery .all-btn { position: absolute; right: 14px; bottom: 14px; z-index: 3; }
@media (max-width: 767px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; } .gallery a:first-child { grid-column: span 2; grid-row: auto; } .gallery a:nth-child(n+4) { display: none; } }
.fact-strip { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1rem 0; border-top: 1px solid var(--rb-border); border-bottom: 1px solid var(--rb-border); }
.fact-strip .f { display: flex; align-items: center; gap: .55rem; font-weight: 500; }
.fact-strip .f i { font-size: 1.3rem; color: var(--rb-navy-2); }
.room-tile { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--rb-shadow); height: 100%; }
.room-tile .rimg { height: 160px; background: #e5e9f0; }
.room-tile .rimg img { width: 100%; height: 100%; object-fit: cover; }
.room-tile .rb { padding: 1rem; }
.mini-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.mini-tags span { background: #f1f4f9; color: #3b4659; border-radius: 30px; padding: .2rem .6rem; font-size: .76rem; display: inline-flex; align-items: center; gap: .3rem; }
.amen-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem 1.2rem; }
.amen-list .a { display: flex; align-items: center; gap: .6rem; }
.amen-list .a i { font-size: 1.15rem; color: var(--rb-navy-2); width: 22px; }
.book-box { background: #fff; border-radius: 20px; box-shadow: var(--rb-shadow-lg); padding: 1.4rem; position: sticky; top: 90px; }
.book-box .big { font-size: 1.8rem; font-weight: 700; color: var(--rb-navy); }
.rule { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; }
.rule .yes { color: var(--rb-green); } .rule .no { color: var(--rb-red); }

/* Search page */
.filter-card { background: #fff; border-radius: var(--rb-radius); box-shadow: var(--rb-shadow); padding: 1.2rem; position: sticky; top: 90px; }
.filter-card h6 { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--rb-muted); margin: 1.1rem 0 .6rem; }
.filter-card .chip { padding: .35rem .75rem; font-size: .8rem; }
.page-hero { background: linear-gradient(120deg, rgba(15, 42, 74, .92), rgba(15, 42, 74, .6)), var(--hero-img, url('/img/stock/resort-1.jpg')) center/cover; color: #fff; padding: 7rem 0 3rem; }

/* Auth */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-art { position: relative; background: center/cover; }
.auth-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 42, 74, .2), rgba(15, 42, 74, .85)); }
.auth-art .txt { position: absolute; left: 3rem; right: 3rem; bottom: 3rem; color: #fff; z-index: 2; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 2rem; background: #fff; }
.auth-form .inner { width: 100%; max-width: 440px; }
@media (max-width: 991px) { .auth-wrap { grid-template-columns: 1fr; } .auth-art { display: none; } }

/* Toasts */
.rb-toast-wrap { position: fixed; top: 1rem; right: 1rem; z-index: 2000; display: flex; flex-direction: column; gap: .5rem; }
.rb-toast { background: #fff; border-radius: 14px; box-shadow: var(--rb-shadow-lg); padding: .85rem 1.1rem; display: flex; align-items: center; gap: .7rem; min-width: 280px; max-width: 420px; border-left: 4px solid var(--rb-green); animation: slideIn .25s ease; }
.rb-toast.err { border-left-color: var(--rb-red); }
.rb-toast i { font-size: 1.2rem; }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }

.empty { text-align: center; padding: 3rem 1rem; color: var(--rb-muted); }
.empty i { font-size: 3rem; color: #c3ccda; }
.fade-up { animation: fadeUp .6s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Owner location step: flash fields filled from the map */
.is-autofilled { transition: background-color .3s, box-shadow .3s; background-color: #eafaf0 !important; box-shadow: 0 0 0 .2rem rgba(25,135,84,.18) !important; }
gmp-place-autocomplete { width: 100%; }
#pickedAddr[hidden], #placeMissing[hidden] { display: none !important; }

/* Booking box: entire property / room type options */
.bk-opt { display: flex; align-items: center; gap: .6rem; border: 1px solid #e3e7ef; border-radius: 12px; padding: .55rem .7rem; cursor: pointer; transition: border-color .15s, background .15s; }
.bk-opt:has(input:checked) { border-color: #f0a500; background: #fff8e6; }
.bk-opt.sold { opacity: .55; cursor: not-allowed; }
.bk-opt input { accent-color: #f0a500; }

/* Price step: "How can guests book?" tiles */
#unitPick .tile { border: 1.5px solid #e3e7ef; border-radius: 14px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
#unitPick .btn-check:checked + .tile { border-color: #f0a500; background: #fff8e6; box-shadow: 0 0 0 .15rem rgba(240,165,0,.18); }
#unitPick .btn-check:disabled + .tile { opacity: .5; cursor: not-allowed; }

/* The hidden attribute always wins over Bootstrap display utilities (d-flex etc.) */
[hidden] { display: none !important; }

/* Owner price calendar */
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-head div { text-align: center; font-size: .72rem; color: #8a93a6; }
.cal-day { border: 1px solid #e7eaf1; background: #fff; border-radius: 10px; padding: 4px 2px; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.cal-day .dn { font-weight: 600; font-size: .85rem; }
.cal-day .dp { font-size: .68rem; color: #6b7385; }
.cal-day.past { opacity: .35; }
.cal-day.special { background: #fff4d6; border-color: #f0c35a; }
.cal-day.special .dp { color: #9a6a00; font-weight: 600; }
.cal-day.booked { box-shadow: inset 0 -3px 0 #3b82f6; }
.cal-day.full { background: #eef2ff; box-shadow: inset 0 -3px 0 #1d4ed8; }
.cal-day.closed { background: #fdecec; border-color: #f3b4b4; }
.cal-day.closed .dp { color: #c0392b; font-weight: 600; }
.cal-day.sel { outline: 2px solid #f0a500; outline-offset: 1px; background: #fff8e6; }
.cal-key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; border: 1px solid #ddd; }
.cal-key.cal-special { background: #fff4d6; border-color: #f0c35a; }
.cal-key.cal-booked { background: #fff; box-shadow: inset 0 -3px 0 #3b82f6; }
.cal-key.cal-full { background: #eef2ff; box-shadow: inset 0 -3px 0 #1d4ed8; }

/* Guest date picker: price under each date */
.flatpickr-calendar .flatpickr-day { height: 44px; line-height: 1.15; padding-top: 6px; display: inline-flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.flatpickr-calendar .flatpickr-day .fp-price { display: block; font-size: .6rem; color: #6b7385; font-weight: 500; }
.flatpickr-day.selected .fp-price, .flatpickr-day.startRange .fp-price, .flatpickr-day.endRange .fp-price { color: #fff; }
.flatpickr-calendar .dayContainer { row-gap: 2px; }

.pill-red { background: #fdecec; color: #c0392b; }

/* "What is missing" — dashboard chips, property cards, wizard menu */
.todo-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border: 1px solid #f3d38a; background: #fff9ec; color: #6b4e00; border-radius: 999px; font-size: .8rem; text-decoration: none; }
.todo-chip:hover { background: #ffefc7; color: #4d3800; }
.todo-chip span { color: #8a6d1d; }
.todo-box { background: #fff9ec; border: 1px solid #f3d38a; border-radius: 12px; padding: .55rem .7rem; }
.todo-box.ready { background: #e9f8ef; border-color: #a9e2c1; color: #157a43; text-decoration: none; }
.todo-box.ready a { color: #157a43; text-decoration: none; }
.todo-line { display: flex; gap: .45rem; align-items: baseline; font-size: .78rem; color: #6b4e00; text-decoration: none; padding: .12rem 0; }
.todo-line:hover { color: #3d2c00; text-decoration: underline; }
.todo-line .bi-circle { font-size: .6rem; color: #e0a400; }
.wizard-step.todo .n { background: #fff1d1; color: #c47f00; border-color: #f0c35a; }

/* Print: only the invoice */
@media print {
  .no-print, .panel-side, .panel-top, nav, header, footer, .toast-container { display: none !important; }
  .panel-main, main, .container, .container-fluid { margin: 0 !important; padding: 0 !important; max-width: 100% !important; }
  .col-xl-8 { width: 100% !important; flex: 0 0 100% !important; max-width: 100% !important; }
  .invoice-doc { box-shadow: none !important; border: 0 !important; }
  body { background: #fff !important; }
}
