/* Hidden by default - Blazor's own JS only flips this to block/visible when a circuit error
   actually happens. Without this rule the banner shows permanently regardless of real errors. */
#blazor-error-ui {
  display: none;
  position: fixed; left: 0; bottom: 0; width: 100%; z-index: 1000;
  background: #fff3b0; color: #4a3b00; padding: 12px 20px;
  box-shadow: 0 -2px 8px rgba(0,0,0,.15); font-size: 14px;
}
#blazor-error-ui .reload { color: var(--navy); font-weight: 600; margin-left: 8px; }
#blazor-error-ui .dismiss { cursor: pointer; float: right; }

/* ============ THEME TOKENS ============ */
:root {
  --navy: #13357B;
  --navy-dark: #0D2559;
  --yellow: #FEDC00;
  --yellow-dark: #E0C200;
  --indigo: #4F46E5;
  --indigo-dark: #4338CA;
  --ink: #1A2233;
  --muted: #5C6478;
  --muted-2: #8890A0;
  --border: #E7E9F0;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FC;
  --success-bg: #E8F5E1;
  --success: #3E8E3E;
  --danger: #D64545;
  --radius: 12px;
  --shadow: 0 8px 24px -8px rgba(19, 53, 123, .18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Jost', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 40px; }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 600; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); }
.btn-yellow { background: var(--yellow); color: var(--navy-dark); }
.btn-yellow:hover { background: var(--yellow-dark); }
.btn-white { background: #fff; color: var(--navy); }
.btn-outline-yellow { background: transparent; border-color: var(--yellow); color: var(--yellow); }
.btn-outline-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* ============ HEADER ============ */
header.site-header { background: var(--navy); position: sticky; top: 0; z-index: 100; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; }
/* Real logo mark (wwwroot/uploads/logo.svg) - yellow/white artwork, only reads correctly on the
   navy header/footer background it was drawn for. Intrinsic 226x35 (~6.46:1); height-constrained
   so it drops in at roughly the old text-logo's size without distorting its aspect ratio. */
.brand-logo { height: 26px; width: auto; display: block; }
nav.main-nav { display: flex; align-items: center; gap: 28px; margin-left: 44px; flex: 1; }
nav.main-nav a { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; font-size: 15px; opacity: .92; transition: opacity .15s; }
nav.main-nav a:hover, nav.main-nav a.active { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.mobile-menu-btn { display: none; background: transparent; border: none; color: #fff; padding: 6px; }

/* Mobile nav - plain CSS/JS (body.mobile-nav-open), matching the header's own static-render
   constraint. Panel slides down from under the header; backdrop closes it on outside click. */
.mobile-nav-panel { display: none; flex-direction: column; gap: 4px; background: var(--navy-dark); padding: 8px 20px 20px; }
.mobile-nav-panel a { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; font-size: 15px; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.mobile-nav-actions .btn-outline-navy { border-color: #fff; color: #fff; }
.mobile-nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(13,37,89,.4); z-index: 99; }
body.mobile-nav-open .mobile-nav-panel { display: flex; }
body.mobile-nav-open .mobile-nav-backdrop { display: block; }

/* ============ HERO ============ */
/* overflow was hidden here, which clipped the location-autocomplete/date-picker dropdowns since
   they open near the bottom edge of this section and extend past it - nothing else needs the
   clip (the carousel already clips itself locally via div[data-carousel]'s own overflow:hidden). */
.hero { background: var(--navy); padding: 64px 0 44px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; margin-bottom: 24px; }
.hero-grid > * { min-width: 0; }
/* Text column is much wider than its own content, leaving a dead gap before the banner - nudge
   the text rightward with left padding instead of widening it, so it reads closer to centered
   within its column rather than glued to the far-left edge. */
.hero-text-col { padding-left: 6%; }
.hero-eyebrow { color: var(--yellow); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: 46px; line-height: 1.15; color: #fff; margin-bottom: 14px; }
.hero h1 .accent { color: var(--yellow); }
.hero p.sub { color: rgba(255,255,255,.75); font-size: 16px; max-width: 480px; }
/* Fixed aspect-ratio + absolute-stacked slides + opacity crossfade - a slide needs a real,
   non-zero box to render into (display:none/block toggling collapses to nothing).
   1:1 matches the actual uploaded banners exactly (checked: both are 800x800/1254x1254 square
   PNGs) - with the box the same shape as the image, object-fit:contain shows the full banner with
   neither cropping nor white letterboxing. Capped max-width so a banner can't stretch the whole
   hero section past the fold. */
.hero-ad { width: 100%; max-width: 400px; margin-left: auto; align-self: start; margin-top: -32px; }
.hero-ad > div[data-carousel] {
  position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); background: #fff;
}
.hero-ad .carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.hero-ad .carousel-slide.active { opacity: 1; }
.hero-ad .carousel-slide a { display: block; width: 100%; height: 100%; }
.hero-ad .carousel-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.side-dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
.side-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.side-dot:hover { background: rgba(255,255,255,.6); }
.side-dot-active { background: var(--yellow); transform: scale(1.3); }

/* Full-width row below BOTH the text and the banner (not nested inside either column) - matches
   the reference exactly: tabs+search sit under the whole 2-column row, not tucked under the
   subtitle alone. Slim/flat styling (no heavy shadow) since a heavy card here read as "mota mota"
   (bulky) next to the reference's plainer one. */
.hero-search-block { }
/* Plain-text tab bar (no icons, no pill background on inactive tabs) - matches reference:
   only the active tab gets a white rounded box, the rest are just text sitting on the navy hero.
   Compact sizing - this row reads as a slim strip in the reference, not an oversized bar. */
.search-tabs { display: flex; gap: 4px; margin-bottom: 10px; flex-wrap: wrap; }
.search-tab { padding: 8px 16px; border-radius: 6px; font-weight: 700; font-size: 13.5px; color: rgba(255,255,255,.8); border: none; background: transparent; }
.search-tab:hover:not(.active) { color: #fff; }
.search-tab.active { background: #fff; color: var(--navy); }

/* Toned-down radius - not a big rounded pill everywhere, just a small corner softening. */
.search-widget { background: #fff; border-radius: 8px; box-shadow: 0 12px 24px -12px rgba(0,0,0,.25); }
/* Field count varies per tab (Hotel = 2 fields, Tour/Car = 3 fields, Visa = 2 fields), so the
   column template is picked by a modifier class instead of being hardcoded.
   Symmetric left/right padding (was 22px left / 6px right) so the first field and the button
   both get real breathing room from the box edge instead of the button sitting glued to the
   right corner. */
.search-fields { display: grid; gap: 0; align-items: stretch; padding: 8px 20px; }
.search-fields.fields-2 { grid-template-columns: 1fr 1fr auto; }
.search-fields.fields-3 { grid-template-columns: 1fr 1fr 1fr auto; }
/* Left padding on every field but the first (which already sits right after the container's own
   left padding) - without it, a field's label/input starts flush against the divider line, which
   read as "chipak rha hai" (glued/touching) next to the previous field's text. */
.search-field { padding: 9px 20px; border-right: 1px solid var(--border); }
.search-field:first-of-type { padding-left: 0; }
.search-field:last-of-type { border-right: none; padding-right: 20px; }
/* Bold navy sentence-case labels, not small gray uppercase caps - the reference's fields read
   "From" / "To" / "Start Between" as proper labels, not muted micro-copy - but kept a compact
   13px, not blown up, since the whole row must stay a slim strip. */
.search-field label { display: block; font-size: 13px; font-weight: 700; text-transform: none; letter-spacing: normal; color: var(--navy); margin-bottom: 3px; }
.search-field input { border: none; outline: none; font-size: 14px; width: 100%; font-family: inherit; color: var(--muted); }
.search-field input::placeholder { color: var(--muted); }
/* Rounded indigo button, deliberately a different hue from the navy hero/header so it pops
   against both the widget and the background. Small radius (not a big pill) and real margin off
   the box's own right edge so it doesn't look glued to the corner. */
.search-submit { background: var(--indigo); color: #fff; border: none; border-radius: 6px; padding: 0 26px; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.search-submit:hover { background: var(--indigo-dark); }

/* ============ SECTIONS ============ */
section.page-section { padding: 88px 0; }
section.page-section.tight { padding: 56px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-eyebrow { color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-size: 32px; margin-bottom: 10px; }
.section-sub { color: var(--muted); font-size: 15.5px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; gap: 20px; }
.section-head-row .section-title { margin-bottom: 6px; }
.section-head-row .section-sub { max-width: 520px; }

/* Destination grid */
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dest-card { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dest-card:hover img { transform: scale(1.06); }
.dest-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,37,89,.85), rgba(13,37,89,0) 55%); }
.dest-card .label { position: absolute; left: 20px; bottom: 18px; color: #fff; font-size: 19px; font-weight: 600; }

/* Listing cards (hotels / tours) */
.listing-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.listing-card { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: box-shadow .2s, transform .2s; background: #fff; }
.listing-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.listing-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.listing-img img { width: 100%; height: 100%; object-fit: cover; }
.badge-seller { position: absolute; top: 12px; left: 12px; background: var(--yellow); color: var(--navy-dark); font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; letter-spacing: .04em; }
.listing-body { padding: 18px 20px 20px; }
.listing-body h3 { font-size: 17px; margin-bottom: 4px; }
.listing-loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; margin-bottom: 10px; }
.listing-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); }
.listing-rating { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.rating-pill { background: var(--navy); color: #fff; font-weight: 700; font-size: 12px; padding: 3px 8px; border-radius: 6px; }
.listing-price .from { font-size: 11px; color: var(--muted-2); }
.listing-price .amount { font-size: 17px; font-weight: 700; color: var(--navy); }
.listing-price .amount .unit { font-size: 11px; font-weight: 400; color: var(--muted-2); }

/* Testimonials */
.testimonial-band { background: var(--navy); color: #fff; padding: 72px 0; }
.testimonial-stats { display: flex; align-items: center; gap: 56px; }
.stat-block .num { font-size: 40px; font-weight: 700; color: var(--yellow); }
.stat-block .lbl { font-size: 13.5px; color: rgba(255,255,255,.7); margin-top: 2px; }
.testimonial-stack { position: relative; max-width: 460px; }
.testimonial-card-ghost { position: absolute; inset: 0; background: rgba(255,255,255,.5); border-radius: 16px; }
.testimonial-card-ghost.layer-1 { transform: translate(10px, 10px); background: rgba(255,255,255,.35); }
.testimonial-card-ghost.layer-2 { transform: translate(20px, 20px); background: rgba(255,255,255,.2); }
.testimonial-card { position: relative; background: #fff; color: var(--ink); border-radius: 16px; padding: 28px 30px; max-width: 460px; box-shadow: var(--shadow); }
.testimonial-tag { display: inline-block; background: #E9EEFB; color: var(--navy); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.testimonial-card .quote { font-size: 15px; line-height: 1.6; color: var(--muted); margin-bottom: 18px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.testimonial-name { font-weight: 600; font-size: 14.5px; }
.testimonial-role { font-size: 12.5px; color: var(--muted-2); }
.testimonial-nav { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; }
.testimonial-arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; display: flex; align-items: center; justify-content: center; }
.testimonial-arrow:hover { background: rgba(255,255,255,.12); }
.testimonial-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); }
.testimonial-dot.active { background: var(--yellow); width: 20px; border-radius: 4px; }

/* Blog rail */
.blog-rail { display: grid; grid-template-columns: 2fr 2fr 1.4fr; gap: 22px; }
.blog-card { border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.blog-card img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,37,89,.9), rgba(13,37,89,0) 60%); }
.blog-card .info { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #fff; }
.blog-card .info .date { font-size: 12px; opacity: .75; margin-bottom: 4px; }
.blog-card .info h4 { font-size: 16px; line-height: 1.3; }
.blog-side-list { display: flex; flex-direction: column; gap: 16px; }
.blog-side-item { display: flex; gap: 12px; align-items: center; }
.blog-side-item img { width: 76px; height: 66px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.blog-side-item h5 { font-size: 14px; line-height: 1.35; margin-bottom: 4px; }
.blog-side-item .date { font-size: 12px; color: var(--muted-2); }

/* CTA banner */
.cta-banner { background: #EAF3D3; border-radius: 20px; padding: 36px 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-banner h2 { font-size: 24px; margin-bottom: 6px; }
.cta-banner p { color: var(--muted); font-size: 14.5px; }
.cta-banner .actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ============ FOOTER ============ */
.footer-links-farm { background: var(--bg-soft); padding: 56px 0 40px; }
.farm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.farm-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin-bottom: 14px; }
.farm-col .links { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 13px; color: var(--muted); line-height: 2; }
.farm-col .links a { color: var(--muted); }
.farm-col .links a:hover { color: var(--navy); }
.farm-col .links a:not(:last-child)::after { content: " •"; margin: 0 4px 0 0; color: var(--border); }

footer.site-footer { background: var(--navy); color: rgba(255,255,255,.85); padding-top: 56px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.6; max-width: 260px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; transition: background .15s; }
.footer-social a:hover { background: var(--yellow); color: var(--navy-dark); }
.footer-col h5 { color: #fff; font-size: 14.5px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; color: rgba(255,255,255,.7); }
.footer-col ul li a:hover { color: var(--yellow); }
.footer-col .contact-line { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; font-size: 13px; color: rgba(255,255,255,.6); flex-wrap: wrap; gap: 12px; }
.footer-bottom .policy-links { display: flex; gap: 18px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .wrap { padding: 0 24px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text-col { height: auto; padding-left: 0; }
  .hero-search-block { margin-top: 24px; }
  .hero-ad { max-width: 360px; margin-top: 24px; }
  .dest-grid, .listing-rail { grid-template-columns: repeat(2, 1fr); }
  .blog-rail { grid-template-columns: 1fr 1fr; }
  .farm-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  nav.main-nav, .header-actions { display: none; }
  .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .testimonial-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
}
@media (max-width: 680px) {
  .site-header-inner { height: 68px; }
  .hero { padding: 32px 0 40px; }
  .hero-ad { max-width: 100%; margin: 24px auto 0; }
  .search-fields.fields-2, .search-fields.fields-3 { grid-template-columns: 1fr; gap: 14px; }
  .search-field { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
  .search-submit { margin-left: 0; height: 48px; }
  .dest-grid, .listing-rail, .blog-rail { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .testimonial-stats { flex-wrap: wrap; gap: 24px; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}

/* ============ Blazor scaffold defaults (kept) ============ */
h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

/* ============ AUTH ============ */
.auth-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); padding: 40px 20px; }
.auth-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 40px 44px; width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 24px; margin-bottom: 6px; }
.auth-sub { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.auth-sub a { color: var(--navy); font-weight: 600; }
.form-field { margin-bottom: 16px; }
.form-control { width: 100%; height: 46px; padding: 0 16px; border: 1px solid var(--border); border-radius: 10px; font-size: 15px; font-family: inherit; outline: none; transition: border-color .15s; }
.form-control:focus { border-color: var(--navy); }
.validation-message { display: block; font-size: 12.5px; margin-top: 4px; }
.alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 18px; }
.alert-danger { background: #FBEAEA; color: var(--danger); }
.auth-demo-box { margin-top: 24px; padding: 14px 16px; background: var(--bg-soft); border-radius: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.auth-demo-box strong { display: block; color: var(--ink); margin-bottom: 4px; }

/* ============ ADMIN PANEL (its own visual language - light/blue, distinct from the
   public navy/yellow brand, matching admin.yatraseller.com's own theme) ============ */
:root {
  --admin-accent: #3554D1;
  --admin-accent-soft: #F2F4FD;
  --admin-accent-soft-2: #E9EEFB;
}
.admin-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg-soft); }
.admin-topbar { height: 68px; background: #fff; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; flex-shrink: 0; position: sticky; top: 0; z-index: 60; }
.admin-logo { font-size: 22px; font-weight: 700; color: var(--ink); }
.admin-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.admin-menu-btn { display: none; background: transparent; border: none; color: var(--ink); padding: 4px; }
.admin-nav-backdrop { display: none; position: fixed; inset: 0; background: rgba(13,37,89,.4); z-index: 49; }
.admin-body { flex: 1; display: flex; min-height: 0; }
.admin-sidebar { width: 220px; flex-shrink: 0; background: #fff; border-right: 1px solid var(--border); padding: 20px 14px; display: flex; flex-direction: column; }
.admin-nav-group-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); padding: 16px 12px 6px; }
.admin-nav-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: 14.5px; font-weight: 500; margin-bottom: 2px; }
.admin-nav-link:hover { background: var(--bg-soft); }
.admin-nav-link.active { background: var(--admin-accent-soft); color: var(--admin-accent); font-weight: 600; }
.admin-nav-logout-form { margin-top: auto; }
.admin-nav-logout { width: 100%; border: none; background: transparent; cursor: pointer; color: var(--danger); font-family: inherit; }
.admin-nav-logout:hover { background: #FBEAEA; }
.admin-content { flex: 1; padding: 32px 36px; overflow-x: hidden; min-width: 0; }
.admin-footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted-2); }

.admin-title { font-size: 30px; font-weight: 700; margin-bottom: 24px; }
.admin-breadcrumb { font-size: 13.5px; color: var(--muted-2); margin-bottom: 8px; }
.admin-breadcrumb a { color: var(--admin-accent); }

/* Stat cards (Dashboard) */
.admin-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.admin-stat-card { background: #fff; border-radius: 16px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 2px 10px -4px rgba(19,53,123,.08); }
.admin-stat-card .lbl { font-size: 14.5px; color: var(--muted); margin-bottom: 6px; }
.admin-stat-card .num { font-size: 30px; font-weight: 700; color: var(--ink); }
.admin-stat-card .sub { font-size: 12.5px; color: var(--muted-2); margin-top: 4px; }
.admin-stat-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--admin-accent-soft); color: var(--admin-accent); }

/* Panels / tables */
.admin-panel-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.admin-panel { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 2px 10px -4px rgba(19,53,123,.08); }
.admin-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.admin-panel-head h3 { font-size: 17px; }
.admin-panel-head a { font-size: 13.5px; color: var(--admin-accent); font-weight: 600; }

.admin-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--border); }
table.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.admin-table thead th { background: var(--admin-accent); color: #fff; text-align: left; padding: 14px 18px; font-weight: 600; white-space: nowrap; }
table.admin-table tbody td { padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.admin-table tbody tr:last-child td { border-bottom: none; }
table.admin-table a { color: var(--admin-accent); font-weight: 600; }

.admin-pill { display: inline-flex; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.admin-pill-confirmed { background: #E9EEFB; color: var(--admin-accent); }
.admin-pill-pending { background: #FEF3D8; color: #92640B; }
.admin-pill-rejected { background: #FBEAEA; color: var(--danger); }

.admin-actions-icon { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; color: #fff; margin-right: 6px; }
.admin-actions-icon.view { background: #F2B01E; }
.admin-actions-icon.edit { background: var(--admin-accent); }
.admin-actions-icon.delete { background: var(--danger); }

.admin-search { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--muted-2); width: 260px; }
.admin-search input { border: none; outline: none; font-size: 14px; width: 100%; font-family: inherit; }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* ============ ADMIN FORMS ============ */
.settings-section { background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 2px 10px -4px rgba(19,53,123,.08); margin-bottom: 20px; }
.settings-section-head { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.settings-section-head h3 { font-size: 18px; }
.settings-section-head p { color: var(--muted-2); font-size: 13.5px; margin-top: 4px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-select, .form-textarea { width: 100%; padding: 11px 16px; border: 1px solid var(--border); border-radius: 10px; font-size: 14.5px; font-family: inherit; outline: none; background: #fff; color: var(--ink); }
.form-select:focus, .form-textarea:focus { border-color: var(--admin-accent); }
.form-textarea { resize: vertical; min-height: 90px; }
.toggle-switch { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; user-select: none; }
.toggle-switch input { display: none; }
.toggle-track { width: 40px; height: 22px; border-radius: 999px; background: var(--border); position: relative; transition: background .15s; flex-shrink: 0; }
.toggle-track::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; top: 2px; left: 2px; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.toggle-switch input:checked + .toggle-track { background: var(--admin-accent); }
.toggle-switch input:checked + .toggle-track::after { transform: translateX(18px); }
.form-error-text { color: var(--danger); font-size: 12.5px; margin-top: -10px; margin-bottom: 14px; }
.admin-back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted-2); margin-bottom: 14px; }
.admin-back-link:hover { color: var(--admin-accent); }
@media (max-width: 900px) {
  .form-grid-2 { grid-template-columns: 1fr; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-panel-grid { grid-template-columns: 1fr; }

  /* Sidebar becomes an off-canvas drawer instead of vanishing outright - toggled via the
     hamburger button in AdminShell.razor (body.admin-nav-open), same plain-CSS/JS approach as
     the public header's mobile nav. */
  .admin-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .admin-sidebar {
    position: fixed; top: 68px; left: 0; bottom: 0; z-index: 50; overflow-y: auto;
    transform: translateX(-100%); transition: transform .2s ease; box-shadow: 8px 0 24px -8px rgba(0,0,0,.2);
  }
  body.admin-nav-open .admin-sidebar { transform: translateX(0); }
  body.admin-nav-open .admin-nav-backdrop { display: block; }
  .admin-content { padding: 24px 20px; }
}

/* ============ IMAGE UPLOAD FIELD ============ */
.image-upload-field { margin-bottom: 18px; }
.image-upload-field .field-label { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.image-upload-status { font-size: 12.5px; color: var(--admin-accent); margin-top: 6px; font-weight: 600; }
.image-dropzone {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 160px; border: 1.5px dashed var(--border); border-radius: 12px;
  background: var(--bg-soft); cursor: pointer; overflow: hidden; transition: border-color .15s, background .15s;
}
.image-dropzone:hover { border-color: var(--admin-accent); background: var(--admin-accent-soft); }
.image-dropzone-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.image-dropzone-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted-2); pointer-events: none; }
.image-dropzone-cta { font-size: 14px; font-weight: 600; color: var(--ink); }
.image-dropzone-hint { font-size: 12px; color: var(--muted-2); }
.image-dropzone-filled { border-style: solid; padding: 0; background: var(--navy); }
.image-dropzone-img { width: 100%; height: 100%; max-height: 260px; object-fit: contain; display: block; }
.image-dropzone-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(0,0,0,.55); color: #fff; font-size: 13px; font-weight: 600; opacity: 0;
  transition: opacity .15s; pointer-events: none;
}

/* ============ ADMIN LOCATIONS (Country -> Region -> City drill-down board) ============ */
.location-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.location-column { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.location-column-title { font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.location-column-count { font-size: 12px; color: var(--muted-2); margin: 0 0 12px; }
.location-search { margin-bottom: 10px; }
.location-search input { width: 100%; height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-family: inherit; outline: none; }
.location-search input:focus { border-color: var(--admin-accent); }
.location-hint { color: var(--muted-2); font-size: 13px; }
.location-list { list-style: none; margin: 0 0 16px; padding: 0; max-height: 360px; overflow-y: auto; border: 1px solid var(--border); border-radius: 10px; }
.location-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid var(--border); font-size: 13.5px; gap: 8px; }
.location-item:last-child { border-bottom: none; }
.location-item button:first-child { background: none; border: none; text-align: left; flex: 1; cursor: pointer; padding: 0; font-size: 13.5px; color: var(--ink); display: flex; align-items: baseline; gap: 6px; }
.location-item-type { font-size: 11px; color: var(--muted-2); font-weight: 500; }
.location-item.active { background: var(--admin-accent-soft); }
.location-item.active button:first-child { color: var(--admin-accent); font-weight: 600; }
.location-delete { background: none; border: none; color: var(--danger); cursor: pointer; padding: 4px; display: flex; flex-shrink: 0; }
.location-add-form { display: flex; flex-direction: column; gap: 8px; }
.location-add-form .form-control { height: 38px; }
@media (max-width: 1100px) {
  .location-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .location-columns { grid-template-columns: 1fr; }
}
.image-dropzone:hover .image-dropzone-overlay { opacity: 1; }

/* ============ SEARCH WIDGET: location autocomplete + date range picker ============ */
/* Inside .search-field these read as plain text fields (no leading icon, no border) - matching
   the search bar's existing bare-input look; the icon/bordered-input styling below is what these
   same components would use if reused somewhere OUTSIDE a .search-field context later. */
.input-loc, .input-date { position: relative; }
.input-loc input, .daterange-trigger {
  border: none; outline: none; font-size: 14px; width: 100%; font-family: inherit; color: var(--ink);
  background: transparent; padding: 0; height: auto; text-align: left; cursor: text;
}
.daterange-trigger { cursor: pointer; }
.daterange-trigger .placeholder { color: var(--muted); }
.input-loc > svg, .input-date > svg { display: none; }
/* z-index above .autocomplete-backdrop (40) - otherwise the backdrop's click-outside-to-close
   overlay sits on top of this button while the dropdown is open and swallows the click instead. */
.input-clear { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--muted-2); cursor: pointer; padding: 2px; display: flex; z-index: 42; }
.input-clear:hover { color: var(--ink); }

.autocomplete-wrap, .daterange-wrap { position: relative; }
.autocomplete-backdrop { position: fixed; inset: 0; z-index: 40; background: transparent; border: none; padding: 0; cursor: default; }
.autocomplete-dropdown {
  position: absolute; top: calc(100% + 10px); left: -20px; right: -20px; z-index: 41;
  background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.2);
  max-height: 320px; overflow-y: auto; padding: 6px;
}
.autocomplete-item { display: flex; align-items: center; gap: 10px; width: 100%; border: none; background: transparent; padding: 10px 10px; border-radius: 8px; cursor: pointer; text-align: left; }
.autocomplete-item:hover { background: var(--bg-soft); }
.autocomplete-item svg { color: var(--admin-accent); flex-shrink: 0; }
.ac-city { font-size: 14px; font-weight: 600; color: var(--ink); }
.ac-sub { font-size: 12px; color: var(--muted-2); }

.daterange-dropdown {
  position: absolute; top: calc(100% + 10px); right: -20px; z-index: 41;
  display: flex; gap: 24px; background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 20px 48px -16px rgba(0,0,0,.25); padding: 18px 20px; width: 620px; max-width: 92vw;
}
.daterange-month { flex: 1; min-width: 0; }
.daterange-month-head { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.daterange-nav { background: none; border: none; color: var(--muted); cursor: pointer; padding: 4px; display: flex; border-radius: 6px; }
.daterange-nav:hover { background: var(--bg-soft); color: var(--ink); }
.daterange-nav-spacer { width: 24px; }
.daterange-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.daterange-dow { text-align: center; font-size: 11px; font-weight: 700; color: var(--muted-2); padding-bottom: 6px; }
.daterange-blank { display: block; }
.daterange-day { background: none; border: none; height: 34px; border-radius: 8px; font-size: 13px; color: var(--ink); cursor: pointer; }
.daterange-day:hover:not(:disabled) { background: var(--admin-accent-soft); }
.daterange-day.is-past { color: var(--muted-2); cursor: not-allowed; opacity: .45; }
.daterange-day.is-selected { background: var(--indigo); color: #fff; font-weight: 700; }
.daterange-day.is-in-range { background: var(--admin-accent-soft); border-radius: 0; }
@media (max-width: 680px) {
  .daterange-dropdown { flex-direction: column; width: 300px; right: 0; }
  .autocomplete-dropdown { left: 0; right: 0; }
}

/* ============ PAGE LOADER ============ */
/* Ported 1:1 from yatraseller.com's own preloader CSS (checked live via devtools): full-screen
   white overlay above everything (z-index 5000, well above the header's own 100), fades out via
   opacity + pointer-events rather than an abrupt display:none swap. */
.preloader {
  position: fixed; inset: 0; z-index: 5000; display: flex; justify-content: center;
  align-items: center; flex-direction: column; background-color: #fff;
  transition: opacity .6s cubic-bezier(.165, .84, .44, 1);
}
.preloader.-is-hidden { opacity: 0; pointer-events: none; }
.preloader__icon img { display: block; }
@media (max-width: 480px) {
  .preloader__icon img { width: 220px; height: auto; }
}

/* ============ ADMIN CHECKBOX GRID (Property Type / Amenities / Locality pickers) ============ */
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 16px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.checkbox-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--admin-accent); flex-shrink: 0; cursor: pointer; }

/* ============ MULTI IMAGE UPLOAD ============ */
.multi-image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-bottom: 12px; }
.multi-image-item { position: relative; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-soft); }
.multi-image-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.multi-image-remove {
  position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(0,0,0,.6); color: #fff; border: none; cursor: pointer; display: flex;
  align-items: center; justify-content: center; transition: background .15s;
}
.multi-image-remove:hover { background: var(--danger); }
.multi-image-dropzone { min-height: 110px; }

/* ============ CATEGORY BROWSE/SEARCH PAGES (Hotel etc.) ============ */
/* Light-blue hero, distinct from Home's navy one - matches the reference exactly (its own Home
   and category pages deliberately use different hero treatments). */
.cat-hero { background: linear-gradient(180deg, #E7F1FC 0%, #EDF5FE 100%); padding: 56px 0 40px; text-align: center; }
.cat-hero h1 { font-size: 34px; color: var(--navy); margin-bottom: 10px; line-height: 1.2; }
.cat-hero .sub { color: var(--muted); font-size: 15.5px; margin-bottom: 28px; }
.cat-search-widget { max-width: 900px; margin: 0 auto; }
.cat-search-widget .search-widget { text-align: left; }

.listing-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; padding: 32px 0 64px; }
.filter-sidebar { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px; position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; }
.filter-group { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.filter-checkbox-list { display: flex; flex-direction: column; gap: 9px; max-height: 220px; overflow-y: auto; }
.filter-checkbox-list label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.filter-checkbox-list input[type="checkbox"], .filter-checkbox-list input[type="radio"] { width: 15px; height: 15px; accent-color: var(--admin-accent); flex-shrink: 0; cursor: pointer; }
.price-range-row { display: flex; align-items: center; gap: 8px; }
.price-range-row input { width: 100%; padding: 7px 8px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; font-family: inherit; }

.results-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.results-head h2 { font-size: 20px; }
.location-chip { background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 8px; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; border: none; cursor: pointer; }

.hotel-listing-card { display: flex; gap: 20px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; margin-bottom: 18px; color: inherit; text-decoration: none; }
.hotel-listing-card:hover { box-shadow: var(--shadow); }
.hotel-listing-card .lc-img { width: 220px; height: 160px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--bg-soft); }
.hotel-listing-card .lc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hotel-listing-card .lc-body { flex: 1; min-width: 0; }
.hotel-listing-card .lc-name-row { display: flex; align-items: center; gap: 8px; }
.hotel-listing-card .lc-name-row h3 { font-size: 18px; color: var(--ink); }
.hotel-listing-card .lc-loc { color: var(--muted); font-size: 13.5px; margin: 4px 0 10px; display: flex; align-items: center; gap: 5px; }
.hotel-listing-card .lc-rooms { font-size: 13px; color: var(--muted-2); margin-bottom: 8px; }
.hotel-listing-card .lc-amenity-row { display: flex; gap: 16px; margin-top: 10px; flex-wrap: wrap; }
.hotel-listing-card .lc-amenity-row span { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.hotel-listing-card .lc-price-box { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 8px; }
.hotel-rating-badge { background: var(--admin-accent); color: #fff; border-radius: 8px; padding: 4px 10px; font-weight: 700; font-size: 13px; display: inline-flex; }
.lc-price-amount { font-size: 20px; font-weight: 700; color: var(--ink); }
.lc-price-amount .unit { font-size: 12px; font-weight: 400; color: var(--muted-2); }
.no-results { text-align: center; padding: 60px 20px; color: var(--muted-2); }
@media (max-width: 900px) {
  .listing-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; max-height: none; }
  .hotel-listing-card { flex-direction: column; }
  .hotel-listing-card .lc-img { width: 100%; height: 200px; }
  .hotel-listing-card .lc-price-box { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
}

/* ============ HOTEL DETAIL PAGE ============ */
.hotel-detail-header h1 { font-size: 30px; display: flex; align-items: center; gap: 10px; }
.hotel-detail-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-top: 6px; }
.hotel-detail-meta .stars { color: var(--yellow-dark); }
.hotel-detail-price { text-align: right; }
.hotel-detail-price .amount { font-size: 24px; font-weight: 700; color: var(--ink); }

.hotel-gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; border-radius: 14px; overflow: hidden; margin: 20px 0; height: 380px; }
.hotel-gallery .gal-main { height: 100%; }
.hotel-gallery .gal-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hotel-gallery .gal-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: 100%; }
.hotel-gallery .gal-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 680px) {
  .hotel-gallery { grid-template-columns: 1fr; height: auto; }
  .hotel-gallery .gal-thumbs { display: none; }
  .hotel-gallery .gal-main { height: 240px; }
}

.hotel-highlights { display: flex; gap: 32px; padding: 20px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.hotel-highlights .item { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); text-align: center; max-width: 90px; }
.hotel-highlights .item svg { color: var(--admin-accent); }

.hotel-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; padding: 24px 0 60px; }
.hotel-detail-main .block { margin-bottom: 36px; }
.hotel-detail-main h2 { font-size: 20px; margin-bottom: 14px; }
.hotel-detail-main .overview-text { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.vendor-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px; position: sticky; top: 84px; }
.vendor-card .v-name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.vendor-card .v-rating { color: var(--yellow-dark); font-size: 13.5px; margin-bottom: 10px; }
.vendor-card .v-gst { font-size: 12.5px; color: var(--muted-2); display: flex; align-items: center; gap: 5px; }
@media (max-width: 900px) {
  .hotel-detail-grid { grid-template-columns: 1fr; }
  .vendor-card { position: static; }
}

.room-card { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 18px; overflow: hidden; }
.room-card-head { padding: 16px 18px; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.room-card-head h3 { font-size: 16px; }
.room-card-head .sub { font-size: 13px; color: var(--muted-2); margin-top: 2px; }
.room-table-head { display: none; }
.room-row { display: grid; grid-template-columns: 110px 1.4fr .6fr .8fr .9fr; gap: 14px; padding: 16px 18px; align-items: center; }
.room-row .r-img { width: 100%; aspect-ratio: 1/1; border-radius: 8px; overflow: hidden; background: var(--bg-soft); }
.room-row .r-img img { width: 100%; height: 100%; object-fit: cover; }
.room-row .r-benefits { font-size: 13px; color: var(--muted); }
.room-row .r-benefits div { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.room-row .r-benefits svg { color: var(--admin-accent); flex-shrink: 0; }
.room-row .r-sleeps { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; }
.room-row .r-price .amount { font-size: 16px; font-weight: 700; }
.room-row .r-price .strike { text-decoration: line-through; color: var(--muted-2); font-size: 12.5px; margin-right: 6px; }
.room-row .r-price .note { font-size: 11.5px; color: var(--muted-2); }
.room-row .r-cta { text-align: right; }
.room-row .r-cta .btn { width: 100%; }
.room-row .r-cta .cta-note { font-size: 11px; color: var(--muted-2); margin-top: 6px; }
.room-features-row { display: flex; gap: 20px; flex-wrap: wrap; padding: 0 18px 16px; font-size: 12.5px; color: var(--muted); }
.room-features-row span { display: flex; align-items: center; gap: 6px; }
@media (max-width: 700px) {
  .room-row { grid-template-columns: 1fr; }
  .room-row .r-img { max-width: 140px; }
}

.facilities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.facilities-grid .item { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--ink); }
.facilities-grid .item svg { color: #16A34A; flex-shrink: 0; }

.surroundings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.poi-list div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.poi-list div:last-child { border-bottom: none; }
.poi-list .km { color: var(--muted-2); }
@media (max-width: 680px) { .surroundings-grid { grid-template-columns: 1fr; } }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-weight: 600; background: none; border: none; text-align: left; cursor: pointer; font-size: 14.5px; color: var(--ink); }
.faq-item .faq-answer { padding: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.faq-item svg { transition: transform .2s; flex-shrink: 0; }
.faq-item.open svg { transform: rotate(180deg); }

.review-summary { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.review-score-box { background: var(--admin-accent-soft); border-radius: 14px; padding: 24px 32px; text-align: center; min-width: 140px; }
.review-score-box .num { font-size: 36px; font-weight: 800; color: var(--admin-accent); }
.review-score-box .label { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.review-subscores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 32px; flex: 1; }
.review-subscore .lbl { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.review-subscore .bar { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.review-subscore .bar > div { height: 100%; background: var(--admin-accent); }
.review-item { padding: 18px 0; border-bottom: 1px solid var(--border); }
.review-item:last-child { border-bottom: none; }
.review-item .rv-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.review-item .rv-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--admin-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.review-item .rv-name { font-weight: 600; font-size: 14px; }
.review-item .rv-date { font-size: 12px; color: var(--muted-2); }
.review-item .rv-stars { color: var(--yellow-dark); font-size: 13px; margin-bottom: 6px; }
.review-item .rv-body { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
