/* ==========================================================================
   Tripwells — sağlamlıq turizmi platforması
   Design tokens
   Palette: deep petrol teal (trust, brand) + warm sand (contrast)
   + vivid coral/orange accent (CTA) + dark grey-green ink (text)
   Type: Fraunces (display, warm serif) + IBM Plex Sans (body/UI)
   Signature motif: the "route line" — a dotted itinerary path that
   connects Agentlik → Platforma → Sanatoriya, echoed throughout the UI
   ========================================================================== */

:root{
  --teal-950:#0f4c4c;
  --teal-900:#0d5c63;
  --teal-800:#146670;
  --teal-700:#1c7a87;
  --teal-600:#2c93a0;
  --teal-500:#56aab3;
  --teal-100:#dceeee;
  --teal-50:#f1f8f8;

  --sand-50:#faf6ec;
  --sand-100:#f2e9d9;
  --sand-200:#e8dcc8;
  --stone-500:#647375;
  --stone-700:#3e4f51;
  --ink-900:#1c2b2d;

  --gold-600:#c85f29;
  --gold-500:#e8763c;
  --gold-100:#fbe3d0;

  --coral-600:#c65b40;
  --coral-100:#f6e2da;

  --red-600:#c62839;
  --red-500:#e63946;

  --ok-600:#2f8f6f;
  --ok-100:#e0f2ec;

  --white:#faf8f5;

  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:22px;
  --radius-pill:999px;

  --shadow-sm: 0 1px 2px rgba(13,92,99,0.07), 0 1px 1px rgba(13,92,99,0.04);
  --shadow-md: 0 8px 24px rgba(13,92,99,0.11);
  --shadow-lg: 0 20px 50px rgba(15,76,76,0.16);

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;

  --container: 1180px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  line-height:1.55;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
input,select,textarea{ font-family:inherit; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight:600;
  line-height:1.12;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
  color: var(--teal-950);
}
h1{ font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight:560; }
h2{ font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
h3{ font-size: 1.25rem; }
p{ margin:0 0 1em; color: var(--stone-700); }

.eyebrow{
  display:inline-flex; align-items:center; gap:.5em;
  font-size:.72rem; letter-spacing:.14em; text-transform:uppercase;
  color: var(--teal-700); font-weight:600;
}
.eyebrow::before{
  content:""; width:16px; height:1px; background: var(--gold-600);
}

.container{ max-width: var(--container); margin:0 auto; padding:0 28px; }

:focus-visible{ outline:2px solid var(--gold-600); outline-offset:3px; border-radius:4px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- motion ---------- */
@keyframes fadeUp{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:translateY(0); } }
@keyframes fadeScale{ from{ opacity:0; transform:scale(.96); } to{ opacity:1; transform:scale(1); } }

.reveal{ opacity:0; transform:translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
.grid-3 > .reveal:nth-child(1),.role-split > .reveal:nth-child(1),.kpi-row > .reveal:nth-child(1){ transition-delay:.04s; }
.grid-3 > .reveal:nth-child(2),.role-split > .reveal:nth-child(2),.kpi-row > .reveal:nth-child(2){ transition-delay:.13s; }
.grid-3 > .reveal:nth-child(3),.kpi-row > .reveal:nth-child(3){ transition-delay:.22s; }
.kpi-row > .reveal:nth-child(4){ transition-delay:.31s; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55em;
  padding: .85em 1.5em;
  border-radius: var(--radius-pill);
  font-weight:600; font-size:.94rem;
  border:1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space:nowrap;
}
.btn-gold{
  background: linear-gradient(180deg, var(--gold-500), var(--gold-600));
  color: var(--teal-950);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover{ transform: translateY(-1px) scale(1.02); box-shadow: var(--shadow-md); }
.btn-red{
  background: linear-gradient(180deg, var(--red-500), var(--red-600));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-red:hover{ transform: translateY(-1px) scale(1.02); box-shadow: var(--shadow-md); }
.btn-subtle{ background: var(--sand-100); color: var(--ink-900); }
.btn-subtle:hover{ background: var(--sand-200); }
.btn-outline{
  background: transparent; color: var(--sand-50); border-color: rgba(255,255,255,.4);
}
.btn-outline:hover{ border-color:var(--white); background: rgba(255,255,255,.08); }
.btn-ghost-dark{
  background: transparent; color: var(--teal-900); border-color: var(--teal-900);
}
.btn-ghost-dark:hover{ background: var(--teal-900); color:var(--white); }
.btn-sm{ padding:.55em 1.1em; font-size:.82rem; }
.btn-lg{ padding:1.05em 2.1em; font-size:1rem; }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.5; cursor:not-allowed; }

/* ---------- top marketing nav ---------- */
.site-header{
  position:sticky; top:0; z-index:40;
  background: rgba(13,92,99,.92);
  backdrop-filter: blur(10px);
  color:var(--white);
}
.site-header .row{
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 28px;
}
.brand{ display:flex; align-items:center; font-family:var(--font-display); font-size:1.25rem; font-weight:600; color:var(--white); transition: opacity .15s ease; }
.brand:hover{ opacity:.85; }
.brand img{ display:block; height:30px; width:auto; }
.site-nav{ display:flex; align-items:center; gap:2.1em; }
.site-nav a{ font-size:.92rem; color: rgba(255,255,255,.78); transition: color .15s ease; }
.site-nav a:hover{ color:var(--white); }
.header-actions{ display:flex; align-items:center; gap:.9em; }
.nav-toggle{ display:none; background:none; border:0; color:var(--white); }

/* ---------- hero / route motif ---------- */
.hero{
  position:relative;
  background: linear-gradient(160deg, var(--teal-900) 0%, var(--teal-950) 100%);
  color:var(--white);
  overflow:hidden;
  padding: 84px 0 60px;
}
.hero .container{ position:relative; z-index:2; display:grid; grid-template-columns: 1.05fr .95fr; gap:56px; align-items:center; }
.hero p.lead{ color: rgba(255,255,255,.82); font-size:1.08rem; max-width:46ch; }
.hero h1{ color:var(--white); }
.hero .cta-row{ display:flex; gap:14px; margin-top:1.8em; flex-wrap:wrap; }
.hero .note{ margin-top:1.4em; font-size:.82rem; color: rgba(255,255,255,.55); }

.hero .container > div:first-child > *{ animation: fadeUp .7s ease both; }
.hero .container > div:first-child > *:nth-child(1){ animation-delay:.05s; }
.hero .container > div:first-child > *:nth-child(2){ animation-delay:.15s; }
.hero .container > div:first-child > *:nth-child(3){ animation-delay:.25s; }
.hero .container > div:first-child > *:nth-child(4){ animation-delay:.35s; }
.hero .photo-panel{ animation: fadeScale .8s ease .25s both; }

.route-card{
  position:relative;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  backdrop-filter: blur(6px);
}

/* photo panel used instead of text step-lists (hero / auth visuals) */
.photo-panel{
  position:relative;
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.photo-panel img{ width:100%; height:100%; object-fit:cover; display:block; }
.photo-panel .caption{
  position:absolute; left:0; right:0; bottom:0; padding:22px 24px;
  background: linear-gradient(0deg, rgba(15,76,76,.88) 0%, rgba(15,76,76,0) 100%);
  color:var(--white);
}
.photo-panel .caption b{ display:block; font-family:var(--font-display); font-size:1.15rem; font-weight:600; }
.photo-panel .caption span{ font-size:.82rem; color: rgba(255,255,255,.75); }
.photo-panel.small{ aspect-ratio: 16/10; }

.img-card{ border-radius: var(--radius-md); overflow:hidden; margin-bottom:1.1em; aspect-ratio: 16/10; }
.img-card img{ width:100%; height:100%; object-fit:cover; display:block; transition: transform .4s ease; }
.card:hover .img-card img{ transform: scale(1.045); }
.route-card h4{ color:var(--white); font-family:var(--font-body); font-weight:600; font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; color: rgba(255,255,255,.6); margin-bottom:1.4em; }
.route{ position:relative; padding-left:6px; }
.route::before{
  content:""; position:absolute; left:15px; top:8px; bottom:8px; width:0;
  border-left:2px dotted rgba(232,118,60,.55);
}
.route-step{ position:relative; display:flex; gap:16px; padding:0 0 26px 0; }
.route-step:last-child{ padding-bottom:0; }
.route-step .node{
  flex:0 0 auto; width:32px; height:32px; border-radius:50%;
  background: var(--teal-950); border:2px solid var(--gold-500);
  display:flex; align-items:center; justify-content:center;
  font-size:.78rem; font-weight:700; color: var(--gold-500);
  z-index:1;
}
.route-step.is-live .node{ background: var(--gold-500); color: var(--teal-950); }
.route-step strong{ display:block; font-size:.95rem; color:var(--white); }
.route-step span{ font-size:.82rem; color: rgba(255,255,255,.6); }

/* quick-search card floated in the hero, and the destination marquee below it */
.hero-search{
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px 26px 24px; box-shadow: var(--shadow-lg);
}
.hero-search h3{ font-size:1.1rem; margin-bottom:.9em; }
.hero-search .field{ margin-bottom:14px; }
.hero-search__note{ font-size:.78rem; color: var(--stone-500); margin:1em 0 0; }

.ribbon{ overflow:hidden; margin-top:54px; padding-top:18px; border-top:1px solid rgba(255,255,255,.12); }
.ribbon__track{ display:flex; gap:48px; width:max-content; animation: ribbonScroll 26s linear infinite; }
.ribbon__track span{ font-family: var(--font-display); font-size:1rem; color: rgba(255,255,255,.42); white-space:nowrap; }
@keyframes ribbonScroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------- sections ---------- */
.section{ padding: 84px 0; }
.section-head{ max-width: 640px; margin: 0 auto 3em; text-align:center; }
.section-head.left{ margin:0 0 3em; text-align:left; }
.bg-sand{ background: var(--sand-100); }
.bg-teal{ background: var(--teal-950); color:var(--white); }
.bg-teal h2, .bg-teal h3{ color:var(--white); }
.bg-teal p{ color: rgba(255,255,255,.72); }

.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }

.card{
  background:var(--white); border:1px solid var(--sand-200); border-radius: var(--radius-md);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .num{
  display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:50%;
  background: var(--teal-50); color: var(--teal-700); font-family:var(--font-display); font-weight:600;
  margin-bottom:.9em;
}

.stat-row{ display:flex; gap:44px; flex-wrap:wrap; margin-top:2.2em; }
.stat b{ display:block; font-family:var(--font-display); font-size:2rem; color: var(--teal-900); }
.stat span{ font-size:.82rem; color: var(--stone-500); }
.hero .stat b{ color:var(--white); }
.hero .stat span{ color: rgba(255,255,255,.55); }

.logo-strip{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:22px; opacity:.6; margin-top:2.4em; }
.logo-strip span{ font-family:var(--font-display); font-size:1.05rem; color: var(--stone-500); }

.role-split{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.role-card{
  border-radius: var(--radius-lg); padding:34px; position:relative; overflow:hidden;
}
.role-card.partner{ background: var(--teal-900); color:var(--white); }
.role-card.provider{ background:var(--white); border:1px solid var(--sand-200); }
.role-card h3{ color:inherit; }
.role-card.partner p{ color: rgba(255,255,255,.75); }
.role-card ul{ margin: 1.2em 0 1.6em; display:flex; flex-direction:column; gap:.6em; }
.role-card li{ display:flex; gap:.6em; font-size:.92rem; }
.role-card li::before{ content:"—"; color: var(--gold-500); flex:none; }

/* ---------- "how it works" flow ---------- */
.flow{ display:flex; align-items:stretch; gap:14px; flex-wrap:wrap; justify-content:center; }
.flow-step{
  flex:1 1 190px; min-width:170px; background:var(--white); border:1px solid var(--sand-200);
  border-radius: var(--radius-md); padding:22px 20px; box-shadow: var(--shadow-sm);
}
.flow-step b{ display:block; font-family:var(--font-display); color:var(--teal-950); font-size:1rem; margin-bottom:.4em; }
.flow-step p{ font-size:.84rem; margin:0; }
.flow-arrow{ display:flex; align-items:center; justify-content:center; flex:0 0 auto; color: var(--gold-500); font-size:1.3rem; font-weight:700; }

/* ---------- destination cards ---------- */
a.card{ display:block; }
.dest-meta{ font-size:.78rem; color: var(--stone-500); margin-top:-.5em; }

/* ---------- cta band ---------- */
.cta-band{ display:flex; align-items:center; justify-content:space-between; gap:26px; flex-wrap:wrap; }

/* ---------- footer ---------- */
.site-footer{ background: var(--teal-950); color: rgba(255,255,255,.7); padding: 32px 0 18px; }
.site-footer .brand img{ height:22px; }
.site-footer .row{ display:flex; justify-content:space-between; align-items:flex-start; gap:30px; flex-wrap:wrap; padding-bottom:18px; border-bottom:1px solid rgba(255,255,255,.1); }
.site-footer h4{ color:var(--white); font-family:var(--font-body); font-size:.85rem; letter-spacing:.06em; text-transform:uppercase; margin-bottom:.7em; }
.site-footer p{ margin-top:.7em; }
.site-footer .cols{ display:flex; gap:60px; flex-wrap:wrap; }
.site-footer a{ color: rgba(255,255,255,.65); font-size:.9rem; display:block; margin-bottom:.5em; }
.site-footer a:hover{ color:var(--white); }
.footer-bottom{ display:flex; justify-content:space-between; padding-top:14px; font-size:.8rem; flex-wrap:wrap; gap:10px; }

/* ==========================================================================
   Auth pages (login / apply)
   ========================================================================== */
.auth-shell{
  height:100vh; height:100dvh; overflow:hidden; display:grid; grid-template-columns: .85fr 1.15fr;
  background: #0A1112;
}
.auth-visual{
  position:relative; overflow:hidden; color:var(--white);
  margin:14px 0 14px 14px; border-radius:30px; padding: 104px 48px 40px; min-height:0;
  display:flex; flex-direction:column; justify-content:center; gap:22px;
  background:
    radial-gradient(700px 500px at 85% 12%, rgba(232,118,60,.28), transparent 60%),
    radial-gradient(640px 520px at 10% 95%, rgba(63,167,158,.3), transparent 60%),
    linear-gradient(150deg, #0D5C63 0%, #083F44 100%);
}
.auth-visual > *:not(.auth-deco){ position:relative; z-index:2; }
.auth-visual > .brand{ position:absolute; top:44px; left:52px; z-index:3; }
.auth-visual .photo-panel{ box-shadow: 0 24px 50px rgba(3,20,22,.45); border-radius:22px; overflow:hidden; animation: authFloat 7s ease-in-out infinite; }
.auth-visual .photo-panel{ flex:1 1 auto; min-height:0; max-height:46vh; }
.auth-visual .photo-panel img{ display:block; width:100%; height:100%; object-fit:cover; }
.auth-visual h2{ margin-bottom:.3em; font-size:clamp(1.8rem,2.2vw + .5rem,2.6rem); line-height:1.08; letter-spacing:-.01em; }
.auth-visual .quote{ font-family: var(--font-display); font-size:1.5rem; line-height:1.4; max-width:34ch; }
.auth-visual .quote small{ display:block; font-family:var(--font-body); font-size:.8rem; color: rgba(255,255,255,.55); margin-top:1em; font-weight:400;}

/* decorative layer: rotating dotted rings, drifting glows, route line */
.auth-deco{ position:absolute; inset:0; pointer-events:none; z-index:1; }
.auth-deco .rings{ position:absolute; right:-160px; top:-120px; width:620px; height:620px; animation: authSpin 120s linear infinite; }
.auth-deco .rings circle{ fill:none; stroke:rgba(250,248,245,.12); stroke-width:1.2; stroke-dasharray:3 9; }
.auth-deco .glow{ position:absolute; border-radius:50%; filter:blur(60px); opacity:.5; animation: authDrift 14s ease-in-out infinite alternate; }
.auth-deco .glow--a{ width:300px; height:300px; left:-80px; bottom:60px; background:rgba(63,167,158,.55); }
.auth-deco .glow--b{ width:240px; height:240px; right:40px; bottom:-60px; background:rgba(232,118,60,.45); animation-delay:-6s; }
.auth-deco .route{ position:absolute; left:52px; right:52px; bottom:46px; height:60px; width:calc(100% - 104px); overflow:visible; }
.auth-deco .route path{ fill:none; stroke:rgba(250,248,245,.35); stroke-width:1.6; stroke-dasharray:2 8; stroke-linecap:round; animation: authDash 2.4s linear infinite; }
.auth-deco .route circle{ fill:var(--gold-500); }
.auth-deco .route circle.pulse{ fill:none; stroke:var(--gold-500); stroke-width:1.5; transform-box:fill-box; transform-origin:center; animation: authPulse 2.4s ease-out infinite; }

.auth-chips{ display:flex; flex-wrap:wrap; gap:10px; }
.auth-chip{
  display:inline-flex; align-items:center; gap:.5em; padding:.55em 1em; border-radius:var(--radius-pill);
  background:rgba(250,248,245,.1); border:1px solid rgba(250,248,245,.2); backdrop-filter: blur(6px);
  font-size:.82rem; color:var(--white); animation: authFloat 6s ease-in-out infinite;
}
.auth-chip:nth-child(2){ animation-delay:-2s; }
.auth-chip:nth-child(3){ animation-delay:-4s; }
.auth-chip i{ width:7px; height:7px; border-radius:50%; background:var(--gold-500); box-shadow:0 0 0 4px rgba(232,118,60,.25); }

.auth-form-wrap{ display:flex; padding: 20px 40px; position:relative; overflow-y:auto; min-height:0; }
.auth-form-wrap > .auth-box{ margin:auto; }
.auth-form-wrap::before{
  content:""; position:absolute; width:380px; height:380px; right:-120px; top:-100px; border-radius:50%;
  background:radial-gradient(circle, rgba(232,118,60,.18), transparent 70%); pointer-events:none;
}
.auth-box{
  width:100%; max-width: 560px !important; position:relative;
  background:#111B1C; color:#FAF8F5; border-radius:26px; padding:34px 44px 28px;
  border:1px solid rgba(246,243,213,.09);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.03) inset;
  animation: authFade .35s ease both;
}
.auth-box h2{ color:#FAF8F5; }
.auth-box p, .auth-box .divider-note, .auth-box .check-row{ color:#9FB0AB; }
.auth-box a{ color:#56aab3; }
.auth-box a:hover{ color:#E8763C; }
.auth-box .eyebrow{ color:#9FB0AB; }
.auth-box .field label{ color:#9FB0AB; }
.auth-box .password-toggle{ color:#9FB0AB; }
.auth-box .password-toggle:hover{ background:rgba(255,255,255,.06); color:#FAF8F5; }
.auth-box .btn-block{ color:#fff; }
.auth-box .brand{ margin-bottom: 1em; display:inline-block; }
.auth-box .brand img{ height:40px; width:auto; }
.auth-box h2{ margin:.3em 0 .9em; font-size:1.9rem; }
.auth-box .field label{ font-size:.88rem; }
.auth-box .field input, .auth-box .field select{ font-size:1rem; }
.auth-box .field select{ background:#0A1112; color:#FAF8F5; border-color:rgba(246,243,213,.14); padding:.8em 1em; border-radius:12px; }
.auth-box .btn-block{ font-size:1.02rem; }
.auth-box .field{ margin-bottom:14px; }
.auth-box .field input{ padding:.9em 1.05em; }
.auth-box .form-foot{ margin-bottom:14px; }
.auth-box .divider-note{ margin:14px 0 0; }
.auth-box .field input{ background:#0A1112; color:#FAF8F5; border-color:rgba(246,243,213,.14); padding:.95em 1.05em; border-radius:12px; }
.auth-box .field input:hover{ border-color: var(--teal-500); }
.auth-box .field input:focus{ background:#0A1112; border-color:#E8763C; box-shadow:0 0 0 3px rgba(232,118,60,.2); }
.auth-box .field input:-webkit-autofill{ -webkit-box-shadow:0 0 0 40px #0A1112 inset; -webkit-text-fill-color:#FAF8F5; caret-color:#FAF8F5; }
.auth-box .field input::placeholder{ color:#5f716c; }
.auth-box .field:focus-within label{ color:#E8763C; }
.auth-box .btn-block{ padding:1em; border-radius:12px; box-shadow:0 14px 26px -12px rgba(232,118,60,.9); position:relative; overflow:hidden; }
.auth-box .btn-block::after{
  content:""; position:absolute; top:0; left:-60%; width:40%; height:100%;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform:skewX(-20deg);
  animation: authShine 3.8s ease-in-out infinite;
}
.auth-box .btn-block:active{ transform:scale(.98); }

/* compact variant: long forms (apply) fit a single screen without scrolling */
.auth-box--compact{ padding:22px 40px 18px; }
.auth-box--compact .brand{ margin-bottom:.5em; }
.auth-box--compact .brand img{ height:34px; }
.auth-box--compact h2{ font-size:1.6rem; margin:.1em 0 .6em; }
.auth-box--compact .field{ margin-bottom:10px; }
.auth-box--compact .field label{ margin-bottom:.35em; font-size:.82rem; }
.auth-box--compact .field input, .auth-box--compact .field select{ padding:.65em .95em; font-size:.95rem; }
.auth-box--compact .field select{ padding-right:44px; }
.auth-box--compact .check{ border-color:rgba(246,243,213,.14) !important; padding:.6em .9em !important; color:#FAF8F5; }
.auth-box--compact .btn-block{ padding:.85em; margin-top:2px; }
.auth-box--compact .divider-note{ margin:10px 0 0; }
.auth-box .eyebrow + h2{ margin-top:.3em; }

/* custom select arrow with proper inset */
.auth-box .field select{
  -webkit-appearance:none; appearance:none; cursor:pointer; padding-right:44px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239FB0AB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 16px center; background-size:14px;
}
.auth-box .field select:focus{ border-color:#E8763C; box-shadow:0 0 0 3px rgba(232,118,60,.2); outline:none; }
.auth-box .field select option{ background:#111B1C; color:#FAF8F5; }

@keyframes authSpin{ to{ transform:rotate(360deg); } }
@keyframes authDrift{ from{ transform:translate3d(0,0,0) scale(1); } to{ transform:translate3d(40px,-30px,0) scale(1.15); } }
@keyframes authFloat{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-8px); } }
@keyframes authDash{ to{ stroke-dashoffset:-20; } }
@keyframes authPulse{ 0%{ transform:scale(1); opacity:.9; } 100%{ transform:scale(3.2); opacity:0; } }
@keyframes authFade{ from{ opacity:0; } to{ opacity:1; } }
@keyframes authCard{ from{ opacity:0; transform:translateY(24px) scale(.97); } to{ opacity:1; transform:none; } }
@keyframes authShine{ 0%,55%{ left:-60%; } 100%{ left:130%; } }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:.82rem; font-weight:600; color: var(--teal-900); margin-bottom:.5em; }

/* small "i" info icon + hover/focus tooltip, used next to field labels */
.info-tip{ position:relative; display:inline-flex; vertical-align:middle; margin-left:6px; }
.info-tip__icon{
  width:16px; height:16px; border-radius:50%; background: var(--sand-200); color: var(--teal-800);
  font-size:.68rem; font-weight:700; font-style:italic; font-family: Georgia, serif;
  display:flex; align-items:center; justify-content:center; line-height:1; cursor:help;
}
.info-tip__bubble{
  position:absolute; left:50%; bottom:calc(100% + 8px); transform:translateX(-50%) translateY(4px);
  width:250px; background: var(--teal-950); color: var(--white); font-size:.76rem; font-weight:400;
  line-height:1.5; padding:10px 12px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  opacity:0; visibility:hidden; pointer-events:none; transition: opacity .15s ease, transform .15s ease; z-index:20;
}
.info-tip__bubble::after{
  content:""; position:absolute; top:100%; left:50%; transform:translateX(-50%);
  border:6px solid transparent; border-top-color: var(--teal-950);
}
.info-tip:hover .info-tip__bubble, .info-tip:focus .info-tip__bubble, .info-tip:focus-within .info-tip__bubble{
  opacity:1; visibility:visible; transform:translateX(-50%) translateY(0);
}
@media (max-width:480px){
  .info-tip__bubble{ left:auto; right:-10px; transform:translateX(0) translateY(4px); }
  .info-tip__bubble::after{ left:auto; right:14px; transform:none; }
  .info-tip:hover .info-tip__bubble, .info-tip:focus .info-tip__bubble, .info-tip:focus-within .info-tip__bubble{ transform:translateX(0) translateY(0); }
}
.field input, .field select, .field textarea{
  width:100%; padding: .85em 1em; border-radius: var(--radius-sm);
  border:1px solid var(--sand-200); background:var(--white); font-size:.95rem; color: var(--ink-900);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--teal-600); box-shadow: 0 0 0 3px var(--teal-100); outline:none;
}
.field .hint{ font-size:.78rem; color: var(--stone-500); margin-top:.4em; }

.password-field{ position:relative; }
.password-field input{ padding-right:44px; }
.password-toggle{
  position:absolute; top:50%; right:6px; transform:translateY(-50%);
  border:none; background:transparent; cursor:pointer; font-size:1.05rem; line-height:1;
  padding:6px 8px; border-radius: var(--radius-sm); color: var(--stone-500);
}
.password-toggle:hover{ color: var(--teal-800); background: var(--sand-50); }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.field-row--title{ grid-template-columns:auto 1fr 1fr; align-items:start; }
.field-row--contact{ grid-template-columns:.7fr 1fr 1.3fr; }
@media (max-width:640px){ .field-row--contact{ grid-template-columns:1fr; } }

.title-toggle{ display:flex; gap:.5em; }
.title-toggle__option{ cursor:pointer; }
.title-toggle__option input{ position:absolute; opacity:0; width:1px; height:1px; }
.title-toggle__option span{
  display:flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:50%;
  border:1px solid var(--sand-200); background:var(--white);
  font-size:.76rem; font-weight:600; color: var(--stone-700);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.title-toggle__option input:checked + span{
  background: var(--teal-900); border-color: var(--teal-900); color: var(--white);
}
.title-toggle__option input:focus-visible + span{
  border-color: var(--teal-600); box-shadow: 0 0 0 3px var(--teal-100);
}

.guest-card{ background: var(--sand-50); border:1px solid var(--sand-200); border-radius: var(--radius-md); padding:18px 20px; margin-bottom:14px; }
.guest-card .field:last-child, .guest-card .field-row:last-child{ margin-bottom:0; }
.guest-card__head{ display:flex; align-items:center; gap:.5em; font-size:.92rem; color: var(--teal-950); margin-bottom:14px; }

/* booking-create.blade.php — consolidated reservation detail chips */
.hero-room-meta{ margin-top:14px; padding-top:14px; border-top:1px solid var(--sand-100); }
.detail-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.detail-chip{
  display:flex; gap:12px; align-items:flex-start; background: var(--white);
  border:1px solid var(--sand-200); border-left:4px solid var(--teal-600);
  border-radius: var(--radius-md); padding:14px 16px; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.detail-chip:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }
.detail-chip__icon{
  flex:none; width:34px; height:34px; border-radius:50%; background: var(--teal-50);
  font-size:1rem; line-height:1; display:flex; align-items:center; justify-content:center;
}
.detail-chip__body{ display:flex; flex-direction:column; gap:.3em; min-width:0; }
.detail-chip__label{ font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color: var(--stone-500); }
.detail-chip__value{ font-size:.88rem; font-weight:600; color: var(--teal-950); line-height:1.4; }
.detail-chip--accent{ border-left-color: var(--gold-500); }
.detail-chip--accent .detail-chip__icon{ background: var(--gold-100); }
.detail-chip--free{ border-left-color: var(--ok-600); }
.detail-chip--free .detail-chip__icon{ background: var(--ok-100); }
.detail-chip--free .detail-chip__value{ color: var(--ok-600); }
.detail-chip--warn{ border-left-color: var(--coral-600); }
.detail-chip--warn .detail-chip__icon{ background: var(--coral-100); }
.detail-chip--warn .detail-chip__value{ color: var(--coral-600); }
@media (max-width:640px){ .detail-grid{ grid-template-columns:1fr; } }

/* booking-create.blade.php — compact guest rows instead of stacked boxed cards */
.guest-list{ display:flex; flex-direction:column; }
.guest-row{ display:flex; gap:16px; align-items:flex-start; padding:16px 0; border-bottom:1px solid var(--sand-100); }
.guest-row:first-child{ padding-top:0; }
.guest-row:last-child{ border-bottom:0; padding-bottom:6px; }
.guest-row__num{
  flex:none; width:32px; height:32px; margin-top:2px; border-radius:50%;
  background: linear-gradient(160deg, var(--teal-800), var(--teal-950)); color: var(--white);
  font-weight:700; font-size:.82rem; display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-sm);
}
.guest-row__fields{ flex:1; min-width:0; }
.guest-row__fields .field-row{ margin-bottom:0; }
.guest-row__fields .field{ margin-bottom:0; }
.guest-row__tag{
  display:inline-block; font-size:.7rem; font-weight:700; text-transform:uppercase;
  letter-spacing:.05em; color: var(--gold-600); margin-bottom:.7em;
}

/* booking-create.blade.php — contact-info block (kept visually distinct from guest rows) */
.contact-block{
  background: var(--white); border:1px solid var(--sand-200); border-top:3px solid var(--gold-500);
  border-radius: var(--radius-md); padding:20px 22px; margin-top:18px; box-shadow: var(--shadow-sm);
}
.contact-block .field:last-child, .contact-block .field-row:last-child{ margin-bottom:0; }
.contact-block__head{ display:flex; align-items:center; gap:.6em; font-size:.92rem; color: var(--teal-950); margin-bottom:16px; font-weight:600; }
.contact-block__icon{
  display:flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:50%;
  background: var(--gold-100); color: var(--gold-600); font-size:.92rem; flex:none;
}
.form-foot{ display:flex; justify-content:space-between; align-items:center; margin:1.4em 0 1.8em; font-size:.86rem; }
.form-foot a{ color: var(--teal-700); font-weight:600; }
.check-row{ display:flex; align-items:center; gap:.6em; font-size:.86rem; color: var(--stone-700); }
.divider-note{ text-align:center; margin-top:1.8em; font-size:.86rem; color: var(--stone-500); }
.divider-note a{ color: var(--teal-700); font-weight:600; }
.banner-free{
  display:flex; gap:.7em; align-items:flex-start; background: var(--gold-100); border:1px solid var(--gold-500);
  color: var(--teal-950); padding: 12px 14px; border-radius: var(--radius-sm); font-size:.82rem; margin-top:1.6em;
}
/* ==========================================================================
   Internal app shell (post-login) — CRM module nav (Hotel / Sanatorium /
   Quotes / Bookings), generous cards, soft color, rounded surfaces.
   ========================================================================== */
.app-header{
  background:var(--white); border-bottom:1px solid var(--sand-200);
  position:sticky; top:0; z-index:30;
}
.app-header .row{ display:flex; align-items:center; justify-content:space-between; padding:14px 28px; gap:18px; }
.app-header .brand{ color: var(--teal-950); gap:.6em; }
.app-header .brand-tag{
  font-family: var(--font-body); font-size:.62rem; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color: var(--teal-800); background: var(--teal-100);
  padding:.32em .62em; border-radius: var(--radius-pill); line-height:1;
}
.app-nav{ display:flex; gap:6px; }
.app-nav a{
  display:inline-flex; align-items:center;
  padding:.6em 1.1em; border-radius: var(--radius-pill); font-size:.88rem; font-weight:600;
  color: var(--stone-700); transition: all .15s ease;
}
.app-nav a:hover{ background: var(--sand-100); color: var(--teal-900); }
.app-nav a.active{ background: var(--teal-900); color:var(--white); }
.app-nav .nav-ico{ margin-right:.5em; font-size:.95em; line-height:1; }
.nav-toggle-input{ display:none; }
.nav-toggle-btn{ display:none; width:38px; height:38px; align-items:center; justify-content:center; cursor:pointer; color: var(--teal-950); font-size:20px; border-radius:50%; }
.nav-toggle-btn:hover{ background: var(--sand-100); }
.app-user{ display:flex; align-items:center; gap:10px; }
.app-user .support-link{
  display:flex; align-items:center; gap:.4em; padding:.55em .95em; border-radius: var(--radius-pill);
  border:1px solid var(--sand-200); color: var(--stone-700); font-size:.84rem; font-weight:600;
  transition: background .15s ease, border-color .15s ease;
}
.app-user .support-link:hover{ background: var(--sand-100); border-color: var(--sand-100); }
.lang-select{
  display:flex; align-items:center; gap:.35em; padding:.5em .8em; border-radius: var(--radius-pill);
  border:1px solid var(--sand-200); font-size:.84rem;
}
.lang-select__ico{ font-size:.95em; }
.lang-select select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  border:none; background:transparent; font-weight:700; font-size:.82rem; color: var(--stone-700);
  padding:0; letter-spacing:.02em;
}
.lang-select__caret{ font-size:.65em; color: var(--stone-500); }

/* Header hover dropdowns — Axtarış (Sanatorium/Hotel) and account menu */
.nav-dropdown{ position:relative; display:flex; padding-bottom:10px; margin-bottom:-10px; }
.nav-dropdown__trigger{
  display:inline-flex; align-items:center; font-family:inherit; background:none; border:none; cursor:pointer;
  padding:.6em 1.1em; border-radius: var(--radius-pill); font-size:.88rem; font-weight:600;
  color: var(--stone-700); transition: all .15s ease;
}
.nav-dropdown__label{ display:inline-flex; align-items:center; }
.nav-dropdown__trigger:hover{ background: var(--sand-100); color: var(--teal-900); }
.nav-dropdown__trigger.active{ background: var(--teal-900); color:var(--white); }
.nav-dropdown__caret{ margin-left:.45em; font-size:.65em; transition: transform .15s ease; }
.nav-dropdown__menu{
  display:none; position:absolute; top:100%; left:0; min-width:190px;
  background: var(--white); border:1px solid var(--sand-200); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding:6px; z-index:50;
}
.nav-dropdown__menu a, .nav-dropdown__menu button{
  display:flex; align-items:center; width:100%; padding:.65em .85em; border-radius: var(--radius-sm);
  font-size:.88rem; font-weight:600; color: var(--stone-700); transition: all .15s ease;
  border:none; background:none; font-family:inherit; text-align:left; cursor:pointer;
}
.nav-dropdown__menu a .nav-ico, .nav-dropdown__menu button .nav-ico{ margin-right:.6em; }
.nav-dropdown__menu a:hover, .nav-dropdown__menu button:hover{ background: var(--sand-100); color: var(--teal-900); }
.nav-dropdown__menu a.active{ background: var(--teal-950); color: var(--white); }
.nav-dropdown__menu--right{ left:auto; right:0; }
.nav-dropdown__menu .nav-dropdown__menu-logout{ color: var(--coral-600); }
.nav-dropdown__menu .nav-dropdown__menu-logout:hover{ background: var(--coral-100); color: var(--coral-600); }
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu{ display:block; }
.nav-dropdown:hover .nav-dropdown__caret,
.nav-dropdown:focus-within .nav-dropdown__caret,
.nav-dropdown.is-open .nav-dropdown__caret{ transform: rotate(180deg); }
.app-user .account{
  display:flex; align-items:center; gap:12px; color:inherit; text-decoration:none;
  padding:.3em .6em .3em 1em; border-radius: var(--radius-pill); border:1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.app-user .account:hover{ background: var(--sand-100); border-color: var(--sand-200); }
.avatar{
  width:38px; height:38px; border-radius:50%; background: var(--teal-100); color: var(--teal-800);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.85rem;
  flex-shrink:0;
}
.app-user .who{ font-size:.82rem; line-height:1.3; text-align:right; }
.app-user .who b{ display:block; color: var(--teal-950); font-size:.88rem; }
.icon-btn{ width:38px; height:38px; border-radius:50%; border:1px solid var(--sand-200); background:var(--white); display:flex; align-items:center; justify-content:center; color: var(--stone-700); flex-shrink:0; }
.icon-btn:hover{ background: var(--sand-100); }

.notif-dropdown{ padding-bottom:0; margin-bottom:0; }
.notif-trigger{ position:relative; padding:0; }
.notif-badge{
  position:absolute; top:-4px; right:-4px; min-width:18px; height:18px; padding:0 4px;
  border-radius: var(--radius-pill); background: var(--coral-600); color: var(--white);
  font-size:.68rem; font-weight:700; display:flex; align-items:center; justify-content:center;
  border:2px solid var(--white);
}
.notif-menu{ width:340px; padding:0; }
.notif-menu__head{ display:flex; align-items:center; justify-content:space-between; padding:.9em 1em; border-bottom:1px solid var(--sand-200); }
.notif-menu__head b{ color: var(--teal-950); font-size:.92rem; }
.notif-menu__head-actions{ display:flex; align-items:center; gap:4px; }
/* Specificity note: `.nav-dropdown__menu button` (0,1,1) would otherwise beat single-class
   rules below and force display:flex/width:100%/padding on every button in this dropdown —
   every notif-* button rule here is deliberately double-scoped (0,2,0+) to win over it. */
.notif-menu .notif-menu__mark-all, .notif-menu .notif-menu__clear-all{
  display:inline; width:auto; border:none; background:none; font-size:.78rem; font-weight:600;
  cursor:pointer; padding:.3em .5em; text-align:left;
}
.notif-menu .notif-menu__mark-all{ color: var(--teal-700); }
.notif-menu .notif-menu__mark-all:hover{ text-decoration:underline; }
.notif-menu .notif-menu__clear-all{ color: var(--coral-600); }
.notif-menu .notif-menu__clear-all:hover{ text-decoration:underline; }
.notif-menu__list{ max-height:360px; overflow-y:auto; padding:6px; }
.notif-menu__empty{ padding:1.6em 1em; text-align:center; color: var(--stone-500); font-size:.85rem; }
.notif-menu .notif-item{
  display:flex; align-items:flex-start; gap:.3em; border-radius: var(--radius-sm); transition: background .15s ease;
}
.notif-menu .notif-item:hover{ background: var(--sand-100); }
.notif-menu .notif-item.is-unread{ background: var(--teal-50); }
.notif-menu .notif-item.is-unread:hover{ background: var(--teal-100); }
.notif-menu .notif-item .notif-item__main{
  display:block; width:auto; flex:1; min-width:0; text-align:left; border:none; background:none; font-family:inherit;
  padding:.75em .85em; border-radius: var(--radius-sm); cursor:pointer; color:inherit; font-size:inherit; font-weight:400;
}
.notif-menu .notif-item__title{ font-size:.85rem; font-weight:700; color: var(--teal-950); display:flex; align-items:center; gap:.5em; }
.notif-menu .notif-item__title .dot{ width:7px; height:7px; border-radius:50%; background: var(--coral-600); flex-shrink:0; }
.notif-menu .notif-item__body{ font-size:.8rem; color: var(--stone-700); margin-top:.2em; }
.notif-menu .notif-item__time{ font-size:.72rem; color: var(--stone-500); margin-top:.3em; }
.notif-menu .notif-item .notif-item__close{
  flex-shrink:0; width:22px; height:22px; margin-top:.6em; margin-right:.4em; border-radius:50%;
  border:none; background:none; color: var(--stone-500); font-size:.75rem; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center; padding:0;
}
.notif-menu .notif-item__close:hover{ background: var(--coral-100); color: var(--coral-600); }

.app-main{ padding: 36px 0 80px; }

.recent-searches{ margin-top:36px; }
.recent-searches h3{ margin-bottom:16px; color: var(--white); }
.recent-searches__row{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.recent-card{
  position:relative;
  background:var(--white); border:1px solid var(--sand-200); border-radius: var(--radius-md);
  padding:16px 34px 16px 18px; transition: border-color .15s ease, box-shadow .15s ease;
}
.recent-card:hover{ border-color: var(--teal-500); box-shadow: var(--shadow-sm); }
.recent-card b{ display:block; font-size:.92rem; color: var(--teal-950); margin-bottom:.3em; }
.recent-card span{ font-size:.8rem; color: var(--stone-500); }
.recent-card__x{
  position:absolute; top:10px; right:10px; width:22px; height:22px; border-radius:50%;
  border:none; background:none; color: var(--stone-500); cursor:pointer; font-size:.78rem;
  display:flex; align-items:center; justify-content:center;
}
.recent-card__x:hover{ background: var(--sand-100); color: var(--coral-600); }

.packages{ margin-top:36px; }
.packages h3{ margin-bottom:16px; }
.packages__row{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.package-card{
  display:flex; flex-direction:column;
  background:var(--white); border:1px solid var(--sand-200); border-radius: var(--radius-lg);
  overflow:hidden; transition: border-color .15s ease, box-shadow .15s ease;
}
.package-card:hover{ border-color: var(--teal-500); box-shadow: var(--shadow-sm); }
.package-card__media{
  position:relative; min-height:140px; display:flex; align-items:center; justify-content:center;
  font-size:2.4rem; background: linear-gradient(155deg, var(--teal-700), var(--teal-950));
}
.package-card__ribbon{
  position:absolute; top:14px; left:14px; background: var(--gold-500); color: var(--teal-950);
  font-weight:700; font-size:.82rem; padding:.4em .8em; border-radius: var(--radius-pill);
}
.package-card__stars{
  position:absolute; top:14px; right:14px; background: var(--white); color: var(--gold-500);
  font-size:.8rem; letter-spacing:.05em; padding:.35em .7em; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.package-card__price{
  position:absolute; bottom:14px; right:14px; background: var(--white); color: var(--teal-950);
  font-weight:700; font-size:1.05rem; padding:.3em .7em; border-radius: var(--radius-sm); line-height:1.2;
  box-shadow: var(--shadow-sm);
}
.package-card__price span{ display:block; font-size:.6rem; font-weight:600; text-transform:uppercase; color: var(--stone-500); }
.package-card__body{ padding:16px 18px 4px; flex:1; }
.package-card__body b{ display:block; font-size:.96rem; color: var(--teal-950); margin-bottom:.2em; }
.package-card__dates{ font-size:.8rem; color: var(--stone-500); }
.package-card__list{ list-style:none; margin:.8em 0 0; padding:0; display:flex; flex-direction:column; gap:.35em; }
.package-card__list li{ font-size:.83rem; color: var(--stone-700); }
.package-card .btn{ margin:16px 18px 18px; }
.page-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:28px; flex-wrap:wrap; }
.page-head h1{ font-size: clamp(1.6rem,2.4vw,2.1rem); margin-bottom:.15em; }
.page-head p{ margin:0; }
.breadcrumb{ font-size:.78rem; color: var(--stone-500); margin-bottom:.6em; display:flex; gap:.5em; align-items:center; }
.breadcrumb .dot{ width:3px; height:3px; border-radius:50%; background: var(--stone-500); }

.kpi-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-bottom:32px; }
.kpi{
  background:var(--white); border:1px solid var(--sand-200); border-radius: var(--radius-md);
  padding:22px 22px; position:relative; overflow:hidden;
}
.kpi .tag{ font-size:.72rem; letter-spacing:.07em; text-transform:uppercase; color: var(--stone-500); font-weight:600; }
.kpi b{ display:block; font-family: var(--font-display); font-size:1.9rem; margin-top:.35em; color: var(--teal-950); }
.kpi .delta{ font-size:.78rem; margin-top:.4em; display:inline-flex; align-items:center; gap:.3em; }
.kpi .delta.up{ color: var(--ok-600); }
.kpi .delta.warn{ color: var(--coral-600); }
.kpi::after{
  content:""; position:absolute; right:-18px; bottom:-18px; width:70px; height:70px; border-radius:50%;
  background: var(--teal-50);
}
.kpi__icon{
  position:relative; width:38px; height:38px; border-radius:50%; display:flex; align-items:center;
  justify-content:center; font-size:1.05rem; margin-bottom:14px; background: var(--teal-50);
}
.kpi--ok .kpi__icon{ background: var(--ok-100); }
.kpi--coral .kpi__icon{ background: var(--coral-100); }
.kpi--gold .kpi__icon{ background: var(--gold-100); }
.kpi--ok::after{ background: var(--ok-100); }
.kpi--coral::after{ background: var(--coral-100); }
.kpi--gold::after{ background: var(--gold-100); }

/* payment-status report cards (crm.profile "Hesabatlar" tab) */
.pay-stats{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.pay-stat{
  display:flex; align-items:center; gap:14px; background: var(--white); border:1px solid var(--sand-200);
  border-left:4px solid var(--stone-500); border-radius: var(--radius-md); padding:14px 16px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pay-stat:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pay-stat__body{ flex:1; min-width:0; }
.pay-stat__head{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.pay-stat__count{ font-family: var(--font-display); font-size:1.3rem; font-weight:700; color: var(--teal-950); }
.pay-stat__bar{ height:4px; border-radius:2px; background: var(--sand-100); margin-top:10px; overflow:hidden; }
.pay-stat__bar span{ display:block; height:100%; border-radius:2px; background: var(--stone-500); }
.pay-stat.unpaid, .pay-stat.failed{ border-left-color: var(--coral-600); }
.pay-stat.unpaid .pay-stat__bar span, .pay-stat.failed .pay-stat__bar span{ background: var(--coral-600); }
.pay-stat.paid{ border-left-color: var(--ok-600); }
.pay-stat.paid .pay-stat__bar span{ background: var(--ok-600); }
.pay-stat.partially_paid, .pay-stat.refund_pending{ border-left-color: var(--gold-500); }
.pay-stat.partially_paid .pay-stat__bar span, .pay-stat.refund_pending .pay-stat__bar span{ background: var(--gold-500); }
.pay-stat.partially_refunded{ border-left-color: var(--teal-600); }
.pay-stat.partially_refunded .pay-stat__bar span{ background: var(--teal-600); }
.pay-stat.refunded{ border-left-color:#999; }
.pay-stat.refunded .pay-stat__bar span{ background:#999; }
@media (max-width: 720px){ .pay-stats{ grid-template-columns:1fr; } }

.panel{
  background:var(--white); border:1px solid var(--sand-200); border-radius: var(--radius-lg);
  padding: 26px; margin-bottom:24px;
}
.panel-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:1.2em; }
.panel-head h3{ margin:0; }
.panel-head .btn{ }

/* status badges */
.badge{ display:inline-flex; align-items:center; gap:.4em; padding:.32em .8em; border-radius: var(--radius-pill); font-size:.76rem; font-weight:600; }
.badge::before{ content:""; width:6px; height:6px; border-radius:50%; }
.badge.draft{ background:#eee; color:#666; } .badge.draft::before{ background:#999; }
.badge.sent{ background: var(--teal-50); color: var(--teal-700); } .badge.sent::before{ background: var(--teal-600); }
.badge.waiting{ background: var(--gold-100); color: var(--gold-600); } .badge.waiting::before{ background: var(--gold-500); }
.badge.confirmed{ background: var(--ok-100); color: var(--ok-600); } .badge.confirmed::before{ background: var(--ok-600); }
.badge.rejected{ background: var(--coral-100); color: var(--coral-600); } .badge.rejected::before{ background: var(--coral-600); }
.badge.cancelled{ background: var(--coral-100); color: var(--coral-600); } .badge.cancelled::before{ background: var(--coral-600); }
.badge.completed{ background: var(--teal-50); color: var(--teal-700); } .badge.completed::before{ background: var(--teal-600); }
.badge.unpaid{ background: var(--coral-100); color: var(--coral-600); } .badge.unpaid::before{ background: var(--coral-600); }
.badge.paid{ background: var(--ok-100); color: var(--ok-600); } .badge.paid::before{ background: var(--ok-600); }
.badge.partially_paid{ background: var(--gold-100); color: var(--gold-600); } .badge.partially_paid::before{ background: var(--gold-500); }
.badge.refund_pending{ background: var(--gold-100); color: var(--gold-600); } .badge.refund_pending::before{ background: var(--gold-500); }
.badge.partially_refunded{ background: var(--teal-50); color: var(--teal-700); } .badge.partially_refunded::before{ background: var(--teal-600); }
.badge.refunded{ background:#eee; color:#666; } .badge.refunded::before{ background:#999; }
.badge.failed{ background: var(--coral-100); color: var(--coral-600); } .badge.failed::before{ background: var(--coral-600); }

/* record list — travel-style cards instead of dense admin tables */
.record{
  display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr .9fr; gap:16px; align-items:center;
  padding:16px 14px; border-radius: var(--radius-md); transition: background .15s ease;
}
.record:hover{ background: var(--sand-50); }
.record-wrap + .record-wrap{ border-top:1px solid var(--sand-100); }
.record-responses{ padding:0 14px 14px 60px; display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.record-responses__label{ font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; color: var(--stone-500); font-weight:600; }
.record-response{ display:flex; align-items:center; gap:.6em; flex-wrap:wrap; font-size:.82rem; }
.record-response__comment{ color: var(--stone-700); font-style:italic; }
.record-response__time{ color: var(--stone-500); font-size:.76rem; }
.payment-countdown{ font-weight:700; color: var(--red-500); font-variant-numeric:tabular-nums; }

.booking-price{ display:flex; align-items:center; gap:6px; margin-top:6px; }
.booking-price__amount{ font-weight:600; font-size:.86rem; color: var(--teal-950); }
.booking-info-btn{
  display:inline-flex; align-items:center; justify-content:center;
  width:22px; height:22px; padding:0; border-radius:50%; border:1px solid var(--sand-200);
  background: var(--sand-50); font-size:.72rem; line-height:1; cursor:pointer;
  transition: background .15s ease, border-color .15s ease;
}
.booking-info-btn:hover{ background: var(--teal-50); border-color: var(--teal-600); }

.detail-kv{ display:grid; grid-template-columns:1fr auto; gap:8px 14px; font-size:.88rem; margin:0 0 1.4em; }
.detail-kv dt{ color: var(--stone-500); }
.detail-kv dd{ margin:0; text-align:right; font-weight:600; color: var(--teal-950); }
.detail-kv dd.detail-kv__total{ color: var(--gold-600); }

/* booking-lərim card layout — compact: a partner may have thousands of these,
   paginated 20/page (see BookingController@index), so each row must scan fast. */
.booking-card{
  background: linear-gradient(180deg, var(--white), var(--sand-50));
  border:1px solid var(--sand-200); border-left:5px solid var(--sand-200); border-radius: var(--radius-md);
  padding:14px 20px; margin-bottom:10px; box-shadow: var(--shadow-sm);
  transition: box-shadow .15s ease;
}
.booking-card:hover{ box-shadow: var(--shadow-md); }
.booking-card--waiting{ border-left-color: var(--gold-500); }
.booking-card--confirmed{ border-left-color: var(--ok-600); }
.booking-card--rejected, .booking-card--cancelled{ border-left-color: var(--coral-600); }
.booking-card--completed{ border-left-color: var(--teal-600); }

.booking-card__top{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.booking-card__who{ display:flex; align-items:center; gap:10px; }
.booking-card__who .avatar{
  width:36px; height:36px; border-radius:50%; background: var(--teal-950); color: var(--white);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.76rem; flex:none;
}
.booking-card__who b{ font-family: var(--font-display); font-size:1rem; color: var(--teal-950); display:block; line-height:1.3; }
.booking-card__who span{ font-size:.78rem; color: var(--stone-500); }
.booking-card__status{ display:flex; flex-direction:column; align-items:flex-end; gap:6px; }
.booking-card__item-label{ font-size:.68rem; text-transform:uppercase; letter-spacing:.06em; color: var(--teal-700); font-weight:700; }
.booking-card__subline{ margin:8px 0 0; font-size:.85rem; color: var(--stone-700); }
.booking-card__payment-row, .booking-card__provider-row{
  display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;
  margin-top:8px; padding-top:8px; border-top:1px dashed var(--sand-200);
}
.booking-card__payment-row-left{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.booking-card__payment-row-right{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-left:auto; }
.booking-card__payment-amount{ font-weight:600; font-size:.85rem; color: var(--teal-950); }
.booking-card__payment-refunded{ font-weight:600; font-size:.82rem; color: var(--coral-600); }
.booking-card__payment-discount{ font-weight:600; font-size:.82rem; color: var(--coral-600); }
.booking-card__section{
  margin-top:8px; padding-top:8px; border-top:1px dashed var(--sand-200);
  display:flex; flex-direction:column; align-items:flex-start; gap:6px;
}
.booking-card__section-label{ font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; color: var(--teal-700); font-weight:700; }
.booking-card{ cursor:pointer; }
.booking-card button, .booking-card a, .booking-card form{ cursor:auto; }
.booking-card__attempts{ display:flex; flex-wrap:wrap; gap:8px; }
.booking-card__attempt{
  display:flex; align-items:center; gap:8px; background: var(--sand-50); border:1px solid var(--sand-200);
  border-radius: var(--radius-pill); padding:5px 14px 5px 6px; font-size:.8rem; color: var(--stone-700);
}
.record .who{ display:flex; align-items:center; gap:12px; }
.record .who .avatar{ width:34px; height:34px; font-size:.75rem; }
.record .who .meta b{ display:block; font-size:.92rem; color: var(--teal-950); }
.record .who .meta span{ font-size:.78rem; color: var(--stone-500); }
.record .col-label{ font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; color: var(--stone-500); display:none; margin-right:.4em; }
.record .val{ font-size:.88rem; color: var(--stone-700); }
.record .val b{ color: var(--teal-950); }
.list-headings{ display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr .9fr; gap:16px; padding: 0 14px 10px; font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; color: var(--stone-500); font-weight:600; }

.timeline-note{ display:flex; gap:12px; padding:14px 0; }
.timeline-note .dot2{ width:8px; height:8px; border-radius:50%; background: var(--teal-600); margin-top:.5em; flex:none; }
.timeline-note b{ font-size:.86rem; color: var(--teal-950); display:block; }
.timeline-note span{ font-size:.78rem; color: var(--stone-500); }

/* dashboard hero — quick search band above the KPI/panels area */
.dash-hero{
  background: linear-gradient(135deg, var(--teal-950), var(--teal-800));
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 32px;
  color: var(--white);
}
.dash-hero__head{ margin-bottom: 22px; }
.dash-hero__head .eyebrow{ font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; font-weight:700; color: var(--gold-500); }
.dash-hero__head h1{ color: var(--white); margin:.3em 0 .3em; font-size: clamp(1.4rem,2.4vw,1.9rem); }
.dash-hero__head p{ color: rgba(255,255,255,.75); margin:0; max-width:56ch; }
.dash-hero .search-bar{ margin:0; }
.dash-hero--solo{
  width:100vw; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw);
  margin-top:-36px; margin-bottom:32px; border-radius:0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:64px 24px;
  background:
    radial-gradient(900px 480px at 85% -12%, rgba(232,118,60,.22), transparent 60%),
    radial-gradient(760px 460px at -10% 108%, rgba(86,170,179,.24), transparent 55%),
    repeating-linear-gradient(115deg, rgba(250,248,245,.05) 0 2px, transparent 2px 46px),
    linear-gradient(165deg, var(--teal-950) 0%, var(--teal-900) 55%, var(--teal-800) 100%);
}
.dash-hero--solo .dash-hero__head{ text-align:center; margin:0 auto 34px; }
.dash-hero--solo .dash-hero__head h1{ font-size: clamp(2rem,4vw,3.2rem); }
.dash-hero--solo .dash-hero__head p{ margin-left:auto; margin-right:auto; font-size:1.05rem; }
.dash-hero--solo .search-bar{ max-width:960px; margin:0 auto; width:100%; }

.dash-hero--band{
  width:100vw; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw);
  margin-top:-36px; margin-bottom:32px; border-radius:0;
  padding:38px 24px 34px;
  background:
    radial-gradient(760px 380px at 88% -20%, rgba(232,118,60,.2), transparent 60%),
    radial-gradient(620px 340px at -10% 120%, rgba(86,170,179,.22), transparent 55%),
    repeating-linear-gradient(115deg, rgba(250,248,245,.05) 0 2px, transparent 2px 46px),
    linear-gradient(135deg, var(--teal-950), var(--teal-800));
}
.dash-hero--band .page-head{ margin-bottom:24px; }
.dash-hero--band .page-head h1{ color: var(--white); }
.dash-hero--band .page-head p{ color: rgba(255,255,255,.75); }
.dash-hero--band .breadcrumb{ color: rgba(255,255,255,.6); }
.dash-hero--band .breadcrumb a{ color: rgba(255,255,255,.85); text-decoration:underline; }
.dash-hero--band .breadcrumb .dot{ background: rgba(255,255,255,.4); }
.dash-hero--band .search-bar{ margin:0; }
.search-bar.search-bar--compact{ grid-template-columns: 1.7fr .75fr .75fr 1.1fr auto; }

/* guest / room configurator popup */
.field--guests{ position:relative; }
.guests-trigger{
  display:block; width:100%; text-align:left; border:none; background:transparent;
  padding:.2em 0; font-size:.92rem; font-family:inherit; color: var(--ink-900); cursor:pointer;
}
.guests-panel{
  display:none; position:absolute; top:calc(100% + 12px); left:0; z-index:60;
  width:300px; background:var(--white); border:1px solid var(--sand-200); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding:16px;
}
.guests-panel.is-open{ display:block; }
.guests-room + .guests-room{ margin-top:14px; padding-top:14px; border-top:1px solid var(--sand-100); }
.guests-room__head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.guests-room__head b{ font-size:.86rem; color: var(--teal-950); }
.guests-room__remove{ border:none; background:none; color: var(--stone-500); font-size:.8rem; cursor:pointer; padding:2px; }
.guests-room__remove:hover{ color: var(--coral-600); }
.guests-room:only-child .guests-room__remove{ display:none; }
.guests-row{ display:flex; align-items:center; justify-content:space-between; padding:.5em 0; }
.guests-row__label b{ display:block; font-size:.86rem; color: var(--ink-900); font-weight:600; }
.guests-row__label span{ font-size:.74rem; color: var(--stone-500); }
.stepper{ display:flex; align-items:center; gap:10px; }
.stepper__btn{
  width:28px; height:28px; border-radius:50%; border:1px solid var(--sand-200); background:var(--white);
  color: var(--teal-800); font-size:1rem; line-height:1; display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition: all .15s ease;
}
.stepper__btn:hover:not(:disabled){ border-color: var(--teal-700); background: var(--teal-50); }
.stepper__btn:disabled{ opacity:.35; cursor:not-allowed; }
.stepper__count{ min-width:18px; text-align:center; font-weight:600; font-size:.9rem; color: var(--ink-900); }
.guests-add-room{
  display:block; width:100%; text-align:left; background:none; border:none; color: var(--teal-700);
  font-size:.86rem; font-weight:600; padding:.8em 0 .2em; cursor:pointer;
}
.guests-add-room:hover{ text-decoration:underline; }
.guests-done{ margin-top:12px; }

/* destination search combobox (typeahead + select) */
.field--destination{ position:relative; }
.destination-input{ width:100%; }
.destination-suggest{
  display:none; position:absolute; top:calc(100% + 8px); left:0; z-index:60;
  width:min(360px, 90vw); max-height:320px; overflow-y:auto;
  background:var(--white); border:1px solid var(--sand-200); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding:6px;
}
.destination-suggest.is-open{ display:block; }
.destination-suggest__item{
  display:flex; align-items:baseline; gap:8px; width:100%; text-align:left;
  border:none; background:none; padding:.6em .7em; border-radius: var(--radius-sm, 6px);
  cursor:pointer; font-family:inherit; font-size:.88rem; color: var(--ink-900);
}
.destination-suggest__item:hover, .destination-suggest__item.is-active{ background: var(--teal-50); }
.destination-suggest__icon{ flex:none; }
.destination-suggest__label{ font-weight:600; color: var(--teal-950); }
.destination-suggest__sub{ color: var(--stone-500); font-size:.78rem; }
.destination-suggest__empty{ padding:.7em; font-size:.84rem; color: var(--stone-500); }

/* search / package builder — pill filter bar like a travel search engine */
.search-bar{
  background:var(--white); border:1px solid var(--sand-200); border-radius: var(--radius-lg);
  padding: 18px; box-shadow: var(--shadow-sm);
  display:grid; grid-template-columns: repeat(6,1fr) auto; gap:0;
  align-items:stretch;
}
.search-bar .field{ margin:0; padding:6px 16px; border-right:1px solid var(--sand-100); }
.search-bar .field:last-of-type{ border-right:none; }
.search-bar label{ font-size:.7rem; text-transform:uppercase; letter-spacing:.06em; color: var(--stone-500); margin-bottom:.35em; }
.search-bar input, .search-bar select{ border:none; padding:.2em 0; font-size:.92rem; background:transparent; }
.search-bar input[type="date"]{ font-size:.82rem; }
.search-bar input:focus, .search-bar select:focus{ box-shadow:none; }
.search-bar .go{ display:flex; align-items:center; padding-left:14px; }

/* search results — filter sidebar + sanatorium result cards */
.results-layout{ display:grid; grid-template-columns: 240px 1fr; gap:26px; align-items:start; }
.results-filters{
  background:var(--white); border:1px solid var(--sand-200); border-radius: var(--radius-lg);
  padding:22px; position:sticky; top:96px;
}
.filter-group{ margin-bottom:22px; }
.filter-group:last-child{ margin-bottom:0; }
.filter-group h4{ font-size:.74rem; text-transform:uppercase; letter-spacing:.06em; color: var(--stone-500); margin:0 0 .8em; font-weight:700; }
.chip-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:6px; }
.chip{
  border:1px solid var(--sand-200); background:var(--white); border-radius: var(--radius-pill);
  padding:.5em 0; font-size:.82rem; font-weight:600; color: var(--stone-700); transition: all .15s ease;
  text-align:center;
}
.chip:hover, .chip.active{ border-color: var(--teal-700); color: var(--teal-800); background: var(--teal-50); }
.check{ display:flex; align-items:center; gap:.6em; font-size:.86rem; color: var(--stone-700); padding:.35em 0; }
.check input{ accent-color: var(--teal-700); width:16px; height:16px; }

.results-list__head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; flex-wrap:wrap; gap:10px; }
.results-list__head .count{ font-size:.86rem; color: var(--stone-500); }
.results-list__controls{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.sort{ display:flex; align-items:center; gap:.6em; font-size:.86rem; color: var(--stone-700); }
.sort select{ border:1px solid var(--sand-200); border-radius: var(--radius-sm); padding:.5em .8em; background:var(--white); font-size:.86rem; }

.result-card{
  display:grid; grid-template-columns:200px 1fr 190px; gap:22px;
  background:var(--white); border:1px solid var(--sand-200); border-radius: var(--radius-lg);
  padding:18px; margin-bottom:18px; align-items:stretch; transition: box-shadow .15s ease, border-color .15s ease;
}
.result-card:hover{ border-color: var(--teal-500); box-shadow: var(--shadow-sm); }
.result-card__img{
  position:relative; overflow:hidden; border-radius: var(--radius-md); background: linear-gradient(155deg, var(--teal-700), var(--teal-950));
  display:flex; align-items:center; justify-content:center; font-size:2.2rem; min-height:140px;
  border:1px solid var(--sand-200); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.result-card__img img{ width:100%; height:100%; object-fit:cover; display:block; }
.result-card__body h3{ margin:0 0 .3em; font-size:1.05rem; display:flex; align-items:center; justify-content:space-between; gap:.5em; }
.result-card__body .stars{ color: var(--gold-500); font-size:.8rem; letter-spacing:.05em; }
.result-card__body .loc, .room-row__body .loc{ font-size:.84rem; color: var(--stone-500); margin:0 0 .8em; }
.result-card__body .loc a{ color: var(--teal-700); text-decoration:underline; }
.result-card .tag-row{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:.8em; }
.result-card .tag-row .tag{
  font-size:.76rem; font-weight:600; color: var(--ok-600); background: var(--ok-100);
  padding:.35em .7em; border-radius: var(--radius-pill); display:inline-flex; align-items:center; gap:.35em;
}
.result-card .pkg{
  font-size:.84rem; color: var(--stone-700); margin:.7em 0 0; padding-top:.7em;
  border-top:1px dashed var(--sand-200); display:flex; align-items:center; gap:.45em;
}
.result-card .pkg b{ color: var(--teal-950); font-weight:600; }
.result-card .pkg__sep{ color: var(--stone-500); }
.room-row__includes{
  list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.4em;
}
.room-row__includes li{ font-size:.82rem; color: var(--stone-700); line-height:1.4; }
.room-row__includes li b{ color: var(--teal-950); }
.room-row__includes li.free b{ color: var(--ok-600); }
.room-row__includes li.non-refundable b{ color: var(--coral-600); }
.room-row__meal-picker,
.room-row__service-picker{ display:flex; align-items:center; gap:.5em; flex-wrap:wrap; }
.room-row__meal-select,
.room-row__treatment-select,
.room-row__service-select{
  border:1px solid var(--sand-200); border-radius: var(--radius-sm); padding:.3em .6em;
  background: var(--white); font-size:.78rem; color: var(--stone-700); font-family:inherit; max-width:100%;
}
.room-row__treatment-picker{ display:flex; align-items:center; gap:.5em; flex-wrap:wrap; }
.result-card__price{
  display:flex; flex-direction:column; align-items:flex-end; justify-content:center; gap:.5em;
  text-align:right; border-left:1px solid var(--sand-100); padding-left:20px;
}
.result-card__price .net{ font-family: var(--font-display); font-size:1.6rem; color: var(--teal-950); font-weight:600; }
.result-card__price .note{ font-size:.72rem; color: var(--stone-500); }

.builder-grid{ display:grid; grid-template-columns: 1.4fr 1fr; gap:24px; margin-top:26px; align-items:start; }
.option-list{ display:flex; flex-direction:column; gap:10px; }
.option{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  border:1px solid var(--sand-200); border-radius: var(--radius-md); padding:16px 18px; cursor:pointer;
  transition: border-color .15s ease, background .15s ease;
}
.option:hover{ border-color: var(--teal-500); }
.option.selected{ border-color: var(--teal-700); background: var(--teal-50); }
.option .oname{ font-weight:600; color: var(--teal-950); font-size:.94rem; }
.option .odesc{ font-size:.78rem; color: var(--stone-500); }
.option .oprice{ font-family: var(--font-display); font-weight:600; color: var(--teal-900); }

/* package hero — gallery, meta bar, medical sidebar */
.package-hero{ margin-bottom:24px; position:relative; z-index:2; }
.package-hero__top{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:.6em; }
.package-hero__top h1{ display:flex; align-items:center; gap:12px; margin:0 0 .3em; }
.package-hero__loc{ font-size:.86rem; color: var(--stone-500); margin:0; }
.package-hero__loc a{ color: var(--teal-700); text-decoration:underline; }
.package-hero__body{ display:grid; grid-template-columns: 1.6fr 1fr; gap:24px; align-items:start; margin-top:18px; }

.gallery{
  position:relative; min-height:340px; border-radius: var(--radius-md); overflow:hidden;
  background: linear-gradient(155deg, var(--teal-700), var(--teal-950));
}
.gallery__slide{
  position:absolute; inset:0; width:100%; height:100%; border:none; padding:0; margin:0; cursor:pointer;
  opacity:0; pointer-events:none; transition: opacity .3s ease;
}
.gallery__slide.is-active{ opacity:1; pointer-events:auto; }
.gallery__slide img{ width:100%; height:100%; object-fit:cover; display:block; }
.gallery__nav{
  position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:50%;
  border:none; background:rgba(15,43,45,.45); color:var(--white); font-size:1.3rem; cursor:pointer;
  display:flex; align-items:center; justify-content:center; z-index:2;
}
.gallery__nav:hover{ background:rgba(15,43,45,.72); }
.gallery__nav--prev{ left:14px; }
.gallery__nav--next{ right:14px; }
.gallery__counter{
  position:absolute; right:14px; bottom:14px; background:rgba(15,43,45,.55); color:var(--white);
  font-size:.78rem; font-weight:600; padding:.3em .8em; border-radius: var(--radius-pill); z-index:2;
}

.meta-bar{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:14px;
}
.meta-bar__item{
  display:flex; flex-direction:column; gap:.2em; justify-content:center;
  border:1px solid var(--sand-200); border-radius: var(--radius-md); padding:10px 16px;
}
.meta-bar__item span{ font-size:.7rem; text-transform:uppercase; letter-spacing:.06em; color: var(--stone-500); font-weight:600; }
.meta-bar__item b{ font-size:.92rem; color: var(--teal-950); }
.meta-bar__change{ margin-left:auto; }
.meta-bar__input{
  border:none; background:transparent; padding:0; font-family:inherit;
  font-size:.92rem; color: var(--teal-950); width:100%;
}
.meta-bar__actions{ display:flex; align-items:center; gap:10px; }
.meta-bar--edit{ display:none; }
.meta-bar-wrap.is-editing .meta-bar:not(.meta-bar--edit){ display:none; }
.meta-bar-wrap.is-editing .meta-bar--edit{ display:flex; }
.meta-bar--edit{ align-items:flex-start; }
.meta-bar--edit .meta-bar__item{ flex:1 1 0; min-width:140px; height:64px; box-sizing:border-box; }
.meta-bar--edit .meta-bar__actions{ flex-basis:100%; }
.meta-bar--edit .field--guests{ position:relative; }
.meta-bar--edit .guests-trigger{ padding:0; font-size:.92rem; color: var(--teal-950); }


.medical-box{
  border:1px solid var(--sand-200); border-radius: var(--radius-lg); padding:22px 24px; background: var(--teal-50);
  align-self:stretch;
}
.medical-box h3{ font-size:1rem; margin:0 0 .8em; color: var(--teal-950); }
.medical-box ul{ margin:0; padding-left:1.1em; display:flex; flex-direction:column; gap:.5em; }
.medical-box li{ font-size:.86rem; color: var(--teal-800); font-weight:600; }

.filter-by{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:18px;
  background: var(--teal-50); border:1px solid var(--teal-100); border-radius: var(--radius-md); padding:12px 16px;
}
.filter-by__label{ font-size:.82rem; font-weight:700; color: var(--teal-800); display:flex; align-items:center; gap:.4em; }
.filter-select{
  border:1px solid var(--sand-200); border-radius: var(--radius-pill); padding:.5em 1.1em;
  background: var(--white); font-size:.84rem; color: var(--stone-700); font-weight:600;
}

/* room rows — styled like the search results' sanatorium cards (.result-card) */
.room-row{
  display:grid; grid-template-columns:200px 1fr 190px; gap:22px; padding:18px; border-radius: var(--radius-lg);
}
.room-row__img{
  position:relative; border-radius: var(--radius-md); overflow:hidden; min-height:140px;
  background: linear-gradient(155deg, var(--teal-700), var(--teal-950));
}
.room-row__slide{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block;
  opacity:0; transition: opacity .2s ease;
}
.room-row__slide.is-active{ opacity:1; }
.room-row__nav{
  position:absolute; top:50%; transform:translateY(-50%); width:28px; height:28px; border-radius:50%;
  border:none; background:rgba(15,43,45,.55); color:var(--white); font-size:.9rem; line-height:1;
  cursor:pointer; display:flex; align-items:center; justify-content:center; z-index:2;
}
.room-row__nav--prev{ left:8px; }
.room-row__nav--next{ right:8px; }
.room-row__nav:hover{ background:rgba(15,43,45,.8); }
.room-row__body h3{ margin:0 0 .3em; font-size:1.05rem; color: var(--teal-950); }
.room-row__price{
  display:flex; flex-direction:column; align-items:flex-end; justify-content:center; gap:.5em;
  text-align:right; border-left:1px solid var(--sand-100); padding-left:20px;
}
.room-row__price .net{ font-family: var(--font-display); font-size:1.6rem; color: var(--teal-950); font-weight:600; }
.room-row__price .currency-unit{ font-size:.9rem; color: var(--teal-950); font-weight:600; }
.room-row__price .note{ font-size:.72rem; color: var(--stone-500); }
.room-row__book{ margin-top:.3em; border-radius: var(--radius-pill); }

/* details modal */
.modal{
  position:fixed; inset:0; background:rgba(28,43,45,.14); backdrop-filter: blur(2px);
  display:none; align-items:center; justify-content:center; padding:24px; z-index:100;
}
.modal.is-open{ display:flex; }
.modal__dialog{
  background:var(--white); border-radius: var(--radius-lg); max-width:760px; width:100%;
  max-height:min(84vh, 800px); display:flex; flex-direction:column; box-shadow: var(--shadow-lg);
  border:1px solid var(--sand-100);
}
.modal__head{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:24px 28px; border-bottom:1px solid var(--sand-100); }
.modal__head h3{ margin:0 0 .25em; }
.modal__stars{ color: var(--gold-500); font-size:.85rem; letter-spacing:.1em; margin-bottom:.3em; }
.modal__subloc{ font-size:.84rem; color: var(--stone-500); margin:0; }
.modal__subloc a{ color: var(--teal-700); text-decoration:underline; }
.modal__close{
  border:none; background:var(--sand-100); color: var(--stone-700); width:32px; height:32px; min-width:32px; border-radius:50%;
  cursor:pointer; font-size:.9rem; display:flex; align-items:center; justify-content:center;
}
.modal__close:hover{ background: var(--sand-200); }
.modal__body{ padding:8px 28px 28px; overflow-y:auto; }
.modal__body h4{
  font-size:.72rem; text-transform:uppercase; letter-spacing:.07em; color: var(--teal-800); font-weight:700;
  margin:1.6em 0 .7em; padding-top:1.3em; border-top:1px solid var(--sand-100);
}
.modal__body h4:first-child{ margin-top:1.2em; padding-top:0; border-top:none; }
.modal__rich{ font-size:.9rem; color: var(--stone-700); line-height:1.65; }
.modal__rich p{ margin:0 0 .8em; }
.modal__rich p:last-child{ margin-bottom:0; }
.modal__cancel-block{ background: var(--sand-50); border:1px solid var(--sand-200); border-radius: var(--radius-md); padding:16px 18px; margin-top:1.6em; }
.modal__cancel-note{ font-size:.86rem; color: var(--stone-700); line-height:1.55; margin:0 0 14px; }
.modal__cancel-note b{ color: var(--teal-950); }
.modal__cancel-note--warn b{ color: var(--coral-600); }
.modal__chips{ display:flex; flex-wrap:wrap; gap:8px; }
.modal__chip{ font-size:.8rem; background: var(--teal-50); color: var(--teal-800); padding:.4em .9em; border-radius: var(--radius-pill); }
.modal__gallery{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.modal__gallery-thumb{
  border:none; padding:0; cursor:pointer; border-radius: var(--radius-sm); overflow:hidden; min-height:78px;
  background: var(--sand-100);
}
.modal__gallery-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

/* image lightbox */
.lightbox{
  position:fixed; inset:0; background:rgba(15,43,45,.92); display:none; align-items:center; justify-content:center;
  padding:32px; z-index:200;
}
.lightbox.is-open{ display:flex; }
.lightbox__img{ max-width:100%; max-height:86vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); display:block; }
.lightbox__close{
  position:absolute; top:20px; right:20px; border:none; background:rgba(255,255,255,.12); color:var(--white);
  width:40px; height:40px; border-radius:50%; cursor:pointer; font-size:1rem; display:flex; align-items:center; justify-content:center;
}
.lightbox__close:hover{ background:rgba(255,255,255,.24); }
.lightbox__nav{
  position:absolute; top:50%; transform:translateY(-50%); border:none; background:rgba(255,255,255,.12); color:var(--white);
  width:48px; height:48px; border-radius:50%; cursor:pointer; font-size:1.4rem; display:flex; align-items:center; justify-content:center;
}
.lightbox__nav:hover{ background:rgba(255,255,255,.24); }
.lightbox__nav--prev{ left:20px; }
.lightbox__nav--next{ right:20px; }

.summary-card{
  background: linear-gradient(165deg, var(--teal-900) 0%, var(--teal-950) 60%);
  color:var(--white); border-radius: var(--radius-lg); padding:26px; position:sticky; top:96px;
  box-shadow: var(--shadow-lg);
}
.summary-card h3{ color:var(--white); padding-bottom:16px; margin-bottom:18px; border-bottom:1px solid rgba(255,255,255,.14); }
.summary-line{ display:flex; justify-content:space-between; font-size:.88rem; padding:.55em 0; border-bottom:1px dashed rgba(255,255,255,.14); color: rgba(255,255,255,.82); }
.summary-line b{ color:var(--white); font-weight:600; }
.summary-total{ display:flex; justify-content:space-between; align-items:baseline; margin-top:16px; padding-top:16px; border-top:1px dashed rgba(255,255,255,.2); }
.summary-total span{ font-size:.8rem; color: rgba(255,255,255,.6); }
.summary-total b{ font-family: var(--font-display); font-size:1.7rem; color: var(--gold-500); }

/* booking-create.blade.php — summary sidebar: package items, stay chips, price receipt */
.summary-package{ display:flex; flex-direction:column; gap:16px; margin-bottom:18px; }
.summary-package__item{ display:flex; align-items:center; gap:12px; }
.summary-package__icon{
  flex:none; width:38px; height:38px; border-radius:50%; background: rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center; font-size:1.1rem;
}
.summary-package__body{ display:flex; flex-direction:column; gap:.2em; min-width:0; }
.summary-package__label{ font-size:.68rem; text-transform:uppercase; letter-spacing:.05em; color: rgba(255,255,255,.5); }
.summary-package__body b{ color:var(--white); font-size:.95rem; font-weight:600; }

.summary-stay{
  display:flex; flex-direction:column; gap:9px; padding:14px 0;
  border-top:1px solid rgba(255,255,255,.14); border-bottom:1px solid rgba(255,255,255,.14); margin-bottom:16px;
}
.summary-stay__row{ display:flex; justify-content:space-between; align-items:center; font-size:.82rem; color: rgba(255,255,255,.65); }
.summary-stay__row b{ color:var(--white); font-weight:600; font-size:.85rem; }

.summary-price{ background: rgba(255,255,255,.06); border-radius: var(--radius-md); padding:2px 16px; }
.summary-price .summary-line:last-child{ border-bottom:0; }

.tabs{ display:flex; gap:4px; background: var(--sand-100); border-radius: var(--radius-pill); padding:4px; width:fit-content; max-width:100%; overflow-x:auto; margin-bottom:22px; }
.tabs button, .tabs a{ border:0; background:transparent; padding:.6em 1.3em; border-radius: var(--radius-pill); font-size:.86rem; font-weight:600; color: var(--stone-700); text-decoration:none; display:inline-block; white-space:nowrap; }
.tabs button.active, .tabs a.active{ background:var(--white); color: var(--teal-900); box-shadow: var(--shadow-sm); }

/* Booking-lərim filter bar — search + two filter dimensions (Booking status,
   Payment status) + clear, all inside one cohesive toolbar panel. */
.filter-bar{
  display:flex; gap:12px; flex-wrap:wrap; align-items:center;
  background: var(--white); border:1px solid var(--sand-200); border-radius: var(--radius-lg);
  padding:14px 16px; margin-bottom:22px; box-shadow: var(--shadow-sm);
}
.filter-bar .field{ margin:0; flex:1; min-width:220px; }

.tabs-row{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }

.filter-select-wrap{
  display:inline-flex; align-items:center; gap:.5em;
  border:1px solid var(--sand-200); border-radius: var(--radius-pill); padding:.55em 1.1em .55em 1em;
  background: var(--sand-50); font-size:.84rem; color: var(--stone-700); font-weight:600;
  transition: border-color .15s ease;
}
.filter-select-wrap:hover{ border-color: var(--teal-600); }
.filter-select-wrap svg{ width:14px; height:14px; color: var(--teal-700); flex:none; }
.filter-select-wrap select{ border:none; background:transparent; font:inherit; color:inherit; padding:0; cursor:pointer; }
.filter-select-wrap select:focus{ outline:none; }

.filter-clear{
  display:inline-flex; align-items:center; gap:.35em; font-size:.82rem; font-weight:600;
  color: var(--coral-600); text-decoration:none; padding:.5em .7em; border-radius: var(--radius-pill);
  margin-left:auto;
}
.filter-clear:hover{ background: var(--coral-100); }

.empty{ text-align:center; padding: 50px 20px; color: var(--stone-500); }
.empty .num{ margin:0 auto 1em; }

/* deadline countdown chip used on booking cards */
.deadline{ display:inline-flex; align-items:center; gap:.5em; font-size:.8rem; color: var(--coral-600); font-weight:600; }

/* ==========================================================================
   Provider response page — standalone, secure, NOT part of the CRM.
   Bound to a single booking via a non-guessable token in the URL.
   ========================================================================== */
.resp-wrap{
  min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding: 48px 20px; position:relative; overflow:hidden; isolation:isolate;
  background-image: linear-gradient(180deg, rgba(15,44,48,.35), rgba(15,44,48,.5)), url('../img/beach-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.resp-card{ position:relative; z-index:1; width:100%; max-width:720px; background:var(--white); border:1px solid var(--sand-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow:hidden; }
.resp-card__head{
  display:flex; align-items:center; gap:14px; padding:22px 28px; color:var(--white);
  background: linear-gradient(165deg, var(--teal-900) 0%, var(--teal-950) 65%);
}
.resp-card__head .logo{
  flex:none; width:52px; height:52px; border-radius:50%; background: var(--gold-500); color:var(--teal-950);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700;
  font-size:1.3rem; box-shadow: var(--shadow-sm);
}
.resp-card__head .logo--img{ object-fit:cover; background:var(--white); }
.resp-card__head-main{ flex:1; min-width:0; }
.resp-card__head b{ display:block; font-size:.95rem; }
.resp-card__head b.resp-card__head-provider{ font-family:var(--font-display); font-size:1.45rem; font-weight:700; line-height:1.25; }
.resp-card__head small{ color: rgba(255,255,255,.65); font-size:.78rem; }
.resp-card__head-meta{ flex:none; display:flex; flex-direction:column; align-items:flex-end; gap:.5em; }
.resp-res-pill{
  font-family: var(--font-display); font-size:.9rem; font-weight:700; letter-spacing:.02em;
  color: var(--gold-500);
}
.resp-card__body{ padding:28px; }
.resp-alert{ display:flex; gap:.6em; background: var(--teal-50); border:1px solid var(--teal-100); color: var(--teal-900); padding:12px 14px; border-radius: var(--radius-sm); font-size:.85rem; margin-bottom:1.6em; }
.resp-sec{ margin-bottom:1.8em; }
.resp-sec h3{ font-size:1rem; margin-bottom:.8em; padding-bottom:.6em; border-bottom:1px solid var(--sand-100); }
.resp-sec > p{ font-size:.85rem; }
.resp-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:1.2em; }
.btn-danger{ background:transparent; border-color: var(--coral-600); color: var(--coral-600); }
.btn-danger:hover{ background: var(--coral-100); }
.resp-token-note{ display:flex; gap:.6em; margin-top:1.6em; font-size:.78rem; color: var(--stone-500); background: var(--sand-100); border-radius: var(--radius-sm); padding:12px 14px; }
.resp-foot{ position:relative; z-index:1; text-align:center; font-size:.78rem; color: rgba(255,255,255,.75); text-shadow: 0 1px 3px rgba(0,0,0,.25); margin-top:18px; }

/* provider-response.blade.php — free-text meta rows below the detail chips */
.resp-meta{ display:flex; flex-direction:column; gap:10px; margin-top:14px; }
.resp-meta__row{
  display:flex; flex-direction:column; gap:.3em; background: var(--sand-50); border:1px solid var(--sand-200);
  border-radius: var(--radius-md); padding:12px 16px;
}
.resp-meta__label{ font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color: var(--stone-500); }
.resp-meta__value{ font-size:.88rem; color: var(--teal-950); font-weight:500; line-height:1.5; }

/* provider-response.blade.php — explanatory callout above the response form */
.resp-tip{
  display:flex; gap:.6em; font-size:.85rem; color: var(--teal-900); background: var(--teal-50);
  border:1px solid var(--teal-100); border-radius: var(--radius-md); padding:12px 16px; margin-bottom:1.4em; line-height:1.5;
}

/* provider-response.blade.php — response history as a small timeline */
.resp-timeline{ display:flex; flex-direction:column; }
.resp-timeline__item{ display:flex; gap:14px; padding:0 0 18px; position:relative; }
.resp-timeline__item:last-child{ padding-bottom:0; }
.resp-timeline__item::before{
  content:""; position:absolute; left:5px; top:16px; bottom:0; width:1px; background: var(--sand-200);
}
.resp-timeline__item:last-child::before{ display:none; }
.resp-timeline__dot{
  flex:none; width:11px; height:11px; margin-top:4px; border-radius:50%; background: var(--teal-600);
  box-shadow: 0 0 0 3px var(--teal-50);
}
.resp-timeline__item--accepted .resp-timeline__dot{ background: var(--ok-600); box-shadow: 0 0 0 3px var(--ok-100); }
.resp-timeline__item--rejected .resp-timeline__dot{ background: var(--coral-600); box-shadow: 0 0 0 3px var(--coral-100); }
.resp-timeline__item--commented .resp-timeline__dot{ background: var(--gold-500); box-shadow: 0 0 0 3px var(--gold-100); }
.resp-timeline__body{ flex:1; min-width:0; }
.resp-timeline__row{ display:flex; justify-content:space-between; gap:1em; font-size:.86rem; }
.resp-timeline__row span{ color: var(--stone-500); font-size:.78rem; white-space:nowrap; }
.resp-timeline__body p{ margin:.35em 0 0; font-size:.84rem; color: var(--stone-700); font-style:italic; }

/* CRM app header — collapses to hamburger nav earlier than the general
   980px content breakpoint, since the full inline nav (Home, Axtarış,
   My Bookings, My Quotes + header icons) needs more room than that. */
@media (max-width: 1200px){
  .app-header .row{ position:relative; flex-wrap:wrap; }
  .nav-toggle-btn{ display:inline-flex; }
  .app-nav{
    display:flex; flex-direction:column; align-items:stretch; gap:2px;
    position:absolute; top:100%; left:0; right:0;
    background:var(--white); border-bottom:1px solid var(--sand-200);
    padding:8px 16px 16px; box-shadow: var(--shadow-md);
    max-height:0; overflow:hidden; opacity:0; visibility:hidden;
    transition: max-height .25s ease, opacity .2s ease;
  }
  .app-nav a{ border-radius:var(--radius-sm); padding:.8em 1em; }
  .nav-toggle-input:checked ~ .app-nav{ max-height:400px; opacity:1; visibility:visible; }

  .app-nav .nav-dropdown{ flex-direction:column; padding-bottom:0; margin-bottom:0; }
  .app-nav .nav-dropdown__trigger{ width:100%; justify-content:space-between; padding:.8em 1em; }
  .app-nav .nav-dropdown__menu{ position:static; box-shadow:none; border:none; padding:0 0 0 1.2em; margin:0; min-width:0; }
  .app-nav .nav-dropdown:hover .nav-dropdown__menu,
  .app-nav .nav-dropdown:focus-within .nav-dropdown__menu{ display:none; }
  .app-nav .nav-dropdown.is-open .nav-dropdown__menu{ display:block; }
  .app-nav .nav-dropdown:hover .nav-dropdown__caret,
  .app-nav .nav-dropdown:focus-within .nav-dropdown__caret{ transform:none; }
  .app-nav .nav-dropdown.is-open .nav-dropdown__caret{ transform: rotate(180deg); }
}

/* responsive */
@media (max-width: 980px){
  .hero .container{ grid-template-columns:1fr; }
  .role-split, .grid-3, .grid-2{ grid-template-columns:1fr; }
  .kpi-row{ grid-template-columns:repeat(2,1fr); }
  .auth-shell{ grid-template-columns:1fr; }
  .auth-visual{ display:none; }
  .auth-shell{ height:auto; min-height:100vh; overflow:visible; }
  .auth-form-wrap{ padding:24px 16px; }
  .auth-box{ padding:32px 22px 26px; }
  .site-nav{ display:none; }
  .nav-toggle{ display:block; }

  .dash-hero{ padding:26px 20px; }
  .dash-hero--solo{ padding:44px 20px; justify-content:center; }
  .packages__row{ grid-template-columns:1fr 1fr; }
  .results-layout{ grid-template-columns:1fr; }
  .results-filters{ position:static; }
  .result-card, .room-row{ grid-template-columns:1fr; }
  .result-card__img, .room-row__img{ min-height:110px; }
  .result-card__price, .room-row__price{
    align-items:flex-start; text-align:left; border-left:none; border-top:1px solid var(--sand-100);
    padding-left:0; padding-top:14px; margin-top:4px;
  }
  .search-bar,
  .search-bar.search-bar--compact{ grid-template-columns:1fr 1fr; }
  .search-bar .field{ border-right:none; border-bottom:1px solid var(--sand-100); }
  .search-bar .go{ grid-column:1/-1; padding-left:0; padding-top:10px; }
  .search-bar .go .btn{ width:100%; }
  .builder-grid{ grid-template-columns:1fr; }
  .package-hero__body{ grid-template-columns:1fr; }
  .gallery{ min-height:220px; }
  .gallery__nav{ width:36px; height:36px; font-size:1.1rem; }
  .gallery__nav--prev{ left:8px; }
  .gallery__nav--next{ right:8px; }
  .modal__gallery{ grid-template-columns:repeat(3,1fr); }
  .lightbox__nav{ width:38px; height:38px; font-size:1.1rem; }
  .lightbox__nav--prev{ left:8px; }
  .lightbox__nav--next{ right:8px; }
  .meta-bar{ flex-direction:column; align-items:stretch; }
  .meta-bar__change{ margin-left:0; width:100%; }
  .record, .list-headings{ grid-template-columns:1fr; gap:6px; }
  .record .col-label{ display:inline; }
  .record{ border:1px solid var(--sand-100); margin-bottom:10px; }
  .list-headings{ display:none; }
  .flow{ flex-direction:column; }
  .flow-arrow{ transform:rotate(90deg); }
  .cta-band{ text-align:center; justify-content:center; }
  .resp-kv{ grid-template-columns:1fr; gap:.1em 0; }
  .resp-kv dd{ margin-bottom:.5em; }
}

@media (max-width: 600px){
  .container{ padding:0 16px; }
  .app-header .row{ padding:12px 14px; gap:6px; flex-wrap:nowrap; }
  .app-header .brand{ gap:0; }
  .app-header .brand img{ height:26px; }
  .app-header .brand-tag{ display:none; }
  .app-user{ gap:4px; }
  .app-user .support-link{ width:32px; height:32px; padding:0; justify-content:center; }
  .app-user .support-link .label{ display:none; }
  .lang-select{ padding:.35em .5em; gap:.2em; }
  .lang-select__ico{ display:none; }
  .lang-select select{ font-size:.76rem; }
  .icon-btn{ width:32px; height:32px; font-size:.88rem; }
  .app-user .account .who{ display:none; }
  .app-user .account{ padding:0; border:none; }
  .app-user .account .avatar{ width:32px; height:32px; font-size:.74rem; }
  .nav-toggle-btn{ width:32px; height:32px; font-size:18px; }

  .dash-hero--solo{ padding:34px 16px; }
  .dash-hero--solo .dash-hero__head h1{ font-size:1.5rem; }
  .dash-hero--solo .dash-hero__head p{ font-size:.9rem; }
  .packages__row{ grid-template-columns:1fr; }
  .recent-searches__row{ grid-template-columns:1fr; }

  .search-bar, .search-bar.search-bar--compact{ grid-template-columns:1fr; }
  .search-bar .field{ padding:10px 4px; }
  .search-bar .go{ padding-top:6px; }

  .page-head{ flex-direction:column; align-items:flex-start; }
  .results-list__head{ flex-direction:column; align-items:flex-start; }
  .chip-row .chip{ padding:.5em 0; font-size:.78rem; }

  .guests-panel{ left:50%; transform:translateX(-50%); width:min(300px, calc(100vw - 48px)); }
}

/* review form + state */
.star-input{ display:inline-flex; flex-direction:row-reverse; gap:4px; }
.star-input input{ position:absolute; opacity:0; width:0; height:0; }
.star-input label{ margin:0; font-size:1.9rem; line-height:1; cursor:pointer; color: var(--stone-300, #cfc6b5); transition: color .12s ease; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label{ color: var(--gold-500); }
.review-state{ font-size:.78rem; font-weight:600; padding:4px 10px; border-radius:999px; background: var(--sand-100); color: var(--teal-900); }
.review-state--live{ background:#dff3e4; color:#1f6b3a; }

/* auth forms: radio cards + mobile layout */
.auth-box .check input[type="radio"]{
  appearance:auto; -webkit-appearance:radio; flex:0 0 auto;
  width:18px; height:18px; padding:0; margin:0; border-radius:50%;
  background:transparent; box-shadow:none; accent-color:#E8763C;
}
.auth-box .check{ cursor:pointer; line-height:1.25; }
.auth-box .check:has(input:checked){ border-color:#E8763C !important; background:rgba(232,118,60,.08); }
@media (max-width:640px){
  .auth-form-wrap{ padding:16px 12px; }
  .auth-box, .auth-box--compact{ padding:24px 18px 20px; border-radius:20px; }
  .auth-box h2, .auth-box--compact h2{ font-size:1.5rem; }
  .auth-box .field-row{ grid-template-columns:1fr; gap:0; }
  .auth-box .field-row:has(.check){ grid-template-columns:1fr 1fr; gap:10px !important; }
  .auth-box .field input, .auth-box .field select{ font-size:16px; } /* no iOS zoom */
}

/* ==========================================================================
   CRM dashboard — sea hero with floating frosted menu pill + glass search card
   (scoped to body.is-dash so other CRM pages keep the regular header)
   ========================================================================== */
.is-dash .app-header{
  position:fixed; top:0; left:0; right:0; background:transparent; border:none; z-index:30;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.is-dash .app-header .row{
  width:100%; max-width:1320px; margin:0 auto; padding:20px 36px; gap:16px; flex-wrap:nowrap;
  background:transparent; border:none; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none;
}
.is-dash .app-header .brand img{ filter:brightness(0) invert(1); }
.is-dash .app-header .brand-tag{ background:rgba(255,255,255,.2); color:var(--white); }
.is-dash .app-header a, .is-dash .app-header button, .is-dash .app-header .who{ white-space:nowrap; }
.is-dash .app-user{ gap:8px; flex-shrink:0; }
.is-dash .app-user .support-link,
.is-dash .app-user .icon-btn,
.is-dash .app-user .lang-select,
.is-dash .app-user .account{
  background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.38); color:var(--white);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
}
.is-dash .app-user .support-link:hover,
.is-dash .app-user .icon-btn:hover,
.is-dash .app-user .account:hover{ background:rgba(255,255,255,.28); border-color:rgba(255,255,255,.5); }
.is-dash .lang-select select{ color:var(--white); }
.is-dash .lang-select select option{ color:var(--ink-900); }
.is-dash .lang-select__caret{ color:rgba(255,255,255,.75); }
.is-dash .app-user .who, .is-dash .app-user .who b{ color:var(--white); }
.is-dash .app-user .who span{ color:rgba(255,255,255,.8); }
.is-dash .nav-toggle-btn{ color:var(--white); }
@media (min-width: 1201px){
  .is-dash .app-nav{ flex:1 1 auto; justify-content:center; }
  .is-dash .app-nav > a,
  .is-dash .app-nav > .nav-dropdown > .nav-dropdown__trigger{ color:var(--white); text-shadow:0 1px 8px rgba(0,0,0,.35); }
  .is-dash .app-nav > a:hover,
  .is-dash .app-nav > .nav-dropdown > .nav-dropdown__trigger:hover{ background:rgba(255,255,255,.18); color:var(--white); }
  .is-dash .app-nav > a.active,
  .is-dash .app-nav > .nav-dropdown > .nav-dropdown__trigger.active{ background:rgba(255,255,255,.26); color:var(--white); box-shadow:inset 0 0 0 1px rgba(255,255,255,.45); }
}
@media (max-width: 1360px){
  .is-dash .app-user .support-link .label, .is-dash .app-user .account .who{ display:none; }
  .is-dash .app-user .support-link{ width:38px; height:38px; padding:0; justify-content:center; }
}
.is-dash .app-main{ padding-top:0; }
.is-dash .dash-hero--solo{
  width:100vw; margin:0 0 40px calc(50% - 50vw);
  border-radius:0; overflow:hidden; min-height:600px; padding:150px 24px 70px; justify-content:center;
  background:
    linear-gradient(180deg, rgba(8,44,50,.35) 0%, rgba(8,44,50,.12) 45%, rgba(8,44,50,.5) 100%),
    url('../img/beach-bg.jpg') center 60%/cover no-repeat;
}
.is-dash .dash-hero--solo .dash-hero__head h1{
  font-family:var(--font-display); font-size:clamp(2.2rem,4.6vw,3.8rem); text-shadow:0 2px 18px rgba(0,0,0,.35);
}
.is-dash .dash-hero--solo .dash-hero__head p{ color:var(--white); font-size:1.2rem; font-weight:500; text-shadow:0 1px 10px rgba(0,0,0,.4); }
.is-dash .dash-hero--solo .search-bar{
  max-width:1040px; padding:14px; gap:10px; border-radius:24px;
  background:rgba(250,248,245,.28); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.45); box-shadow:0 18px 50px rgba(8,40,45,.28);
}
.is-dash .dash-hero--solo .search-bar .field{
  background:var(--white); border:none; border-radius:14px; padding:12px 18px;
}
.is-dash .dash-hero--solo .search-bar .go{ padding-left:4px; }
.is-dash .dash-hero--solo .recent-searches h3{ color:var(--white); }
@media (max-width: 980px){
  .is-dash .app-header .row{ padding:12px 14px; }
  .is-dash .dash-hero--solo{ min-height:0; padding:120px 16px 40px; }
}

/* header stays fixed + transparent on scroll; text turns dark once it is over the light page content */
.is-dash .app-header .row{ transition: padding .25s ease; }
.is-dash .app-header.is-scrolled .row{ padding-top:12px; padding-bottom:12px; }
.is-dash .app-header.is-light .brand img{ filter:none; }
.is-dash .app-header.is-light .brand-tag{ background:var(--teal-100); color:var(--teal-800); }
.is-dash .app-header.is-light .nav-toggle-btn{ color:var(--teal-950); }
@media (min-width: 1201px){
  .is-dash .app-header.is-light .app-nav > a,
  .is-dash .app-header.is-light .app-nav > .nav-dropdown > .nav-dropdown__trigger{ color:var(--teal-950); text-shadow:none; }
  .is-dash .app-header.is-light .app-nav > a:hover,
  .is-dash .app-header.is-light .app-nav > .nav-dropdown > .nav-dropdown__trigger:hover{ background:rgba(15,76,76,.08); color:var(--teal-900); }
  .is-dash .app-header.is-light .app-nav > a.active,
  .is-dash .app-header.is-light .app-nav > .nav-dropdown > .nav-dropdown__trigger.active{ background:var(--teal-900); color:var(--white); box-shadow:none; }
}

/* header icons/buttons: solid, clearly visible chips instead of see-through glass */
.is-dash .app-user .support-link,
.is-dash .app-user .icon-btn,
.is-dash .app-user .lang-select,
.is-dash .app-user .account{
  background:rgba(250,248,245,.94); border:1px solid rgba(255,255,255,.9); color:var(--teal-950);
  box-shadow:0 4px 14px rgba(8,40,45,.22);
}
.is-dash .app-user .icon-btn{ width:42px; height:42px; font-size:1.05rem; }
.is-dash .app-user .support-link:hover,
.is-dash .app-user .icon-btn:hover,
.is-dash .app-user .account:hover{ background:var(--white); border-color:var(--white); }
.is-dash .app-header .lang-select select,
.is-dash .app-user .who, .is-dash .app-user .who b{ color:var(--teal-950); }
.is-dash .app-user .who span{ color:var(--stone-500); }
.is-dash .lang-select__caret{ color:var(--stone-500); }

/* ---- water-drop (liquid glass) look ---- */
/* right-side controls: clear glass drops, not white */
.is-dash .app-user .support-link,
.is-dash .app-user .icon-btn,
.is-dash .app-user .lang-select,
.is-dash .app-user .account{
  background:linear-gradient(160deg, rgba(255,255,255,.30), rgba(255,255,255,.08));
  border:1px solid rgba(255,255,255,.55); color:var(--white);
  -webkit-backdrop-filter:blur(10px) saturate(1.5); backdrop-filter:blur(10px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 -6px 10px rgba(255,255,255,.06), 0 6px 16px rgba(8,40,45,.22);
}
.is-dash .app-user .support-link:hover,
.is-dash .app-user .icon-btn:hover,
.is-dash .app-user .account:hover{
  background:linear-gradient(160deg, rgba(255,255,255,.42), rgba(255,255,255,.14)); border-color:rgba(255,255,255,.8);
}
.is-dash .app-header .lang-select select,
.is-dash .app-user .who, .is-dash .app-user .who b{ color:var(--white); }
.is-dash .app-user .who span{ color:rgba(255,255,255,.82); }
.is-dash .lang-select__caret{ color:rgba(255,255,255,.8); }

/* on scroll the whole bar becomes one floating water-drop pill */
.is-dash .app-header.is-scrolled .row{
  max-width:1200px; margin-top:12px; padding:8px 22px; border-radius:999px;
  background:linear-gradient(165deg, rgba(255,255,255,.34), rgba(255,255,255,.10) 55%, rgba(255,255,255,.2));
  border:1px solid rgba(255,255,255,.6);
  -webkit-backdrop-filter:blur(20px) saturate(1.7); backdrop-filter:blur(20px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -10px 18px rgba(255,255,255,.1), 0 14px 34px rgba(8,40,45,.25);
}
.is-dash .app-header .row{ transition: padding .25s ease, max-width .25s ease, margin .25s ease, border-radius .25s ease, background .25s ease; }

/* over light page content: dark text, tinted glass */
.is-dash .app-header.is-light.is-scrolled .row{
  background:linear-gradient(165deg, rgba(255,255,255,.7), rgba(255,255,255,.35));
  border-color:rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 #fff, 0 12px 30px rgba(15,76,76,.18);
}
.is-dash .app-header.is-light .app-user .support-link,
.is-dash .app-header.is-light .app-user .icon-btn,
.is-dash .app-header.is-light .app-user .lang-select,
.is-dash .app-header.is-light .app-user .account{
  background:linear-gradient(160deg, rgba(15,76,76,.12), rgba(15,76,76,.04));
  border-color:rgba(15,76,76,.25); color:var(--teal-950);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 4px 12px rgba(15,76,76,.12);
}
.is-dash .app-header.is-light .lang-select select,
.is-dash .app-header.is-light .app-user .who,
.is-dash .app-header.is-light .app-user .who b{ color:var(--teal-950); }
.is-dash .app-header.is-light .app-user .who span,
.is-dash .app-header.is-light .lang-select__caret{ color:var(--stone-500); }

/* contrast fix: tinted (dark teal) water-drop glass so white text stays readable over bright sand/sky */
.is-dash .app-header.is-scrolled:not(.is-light) .row{
  background:linear-gradient(165deg, rgba(15,76,76,.62), rgba(13,92,99,.42) 55%, rgba(15,76,76,.55));
  border:1px solid rgba(255,255,255,.42);
  -webkit-backdrop-filter:blur(22px) saturate(1.5); backdrop-filter:blur(22px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -10px 18px rgba(255,255,255,.05), 0 14px 34px rgba(8,40,45,.35);
}
.is-dash .app-header:not(.is-light) .app-nav > a,
.is-dash .app-header:not(.is-light) .app-nav > .nav-dropdown > .nav-dropdown__trigger,
.is-dash .app-header:not(.is-light) .app-user .lang-select select,
.is-dash .app-header:not(.is-light) .app-user .support-link,
.is-dash .app-header:not(.is-light) .app-user .who{ text-shadow:0 1px 6px rgba(0,0,0,.45); }
.is-dash .app-header:not(.is-light) .app-user .support-link,
.is-dash .app-header:not(.is-light) .app-user .lang-select,
.is-dash .app-header:not(.is-light) .app-user .icon-btn,
.is-dash .app-header:not(.is-light) .app-user .account{
  background:linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.06));
}
.is-dash .app-header:not(.is-light) .app-user .who{ padding-right:2px; }
.is-dash .app-header:not(.is-light) .brand-tag{ background:rgba(232,118,60,.9); color:var(--white); }

/* SVG header icons (inherit text colour, so they stay visible on glass) */
.ico-svg{ display:block; flex:none; }
.lang-select__ico, .support-link .ico-wrap{ display:inline-flex; align-items:center; }
.icon-btn .ico-svg{ width:19px; height:19px; }
.is-dash .app-user .icon-btn, .is-dash .app-user .lang-select__ico, .is-dash .app-user .support-link{ color:var(--white); }
.is-dash .app-header.is-light .app-user .icon-btn,
.is-dash .app-header.is-light .app-user .lang-select__ico,
.is-dash .app-header.is-light .app-user .support-link{ color:var(--teal-950); }
@media (max-width:600px){ .lang-select__ico{ display:none; } }

/* ---- glass header on every CRM page ---- */
.is-dash .app-main > .container{ padding-top:104px; }
.is-dash .app-main > .container:has(> .dash-hero:first-child){ padding-top:0; }
.is-dash .dash-hero--band{ margin-top:0; padding-top:120px; }

/* ---- dashboard packages: image cards in a carousel ---- */
.pkg-section{ margin-top:48px; }
.pkg-section__head{ text-align:center; margin-bottom:28px; }
.pkg-section__eyebrow{ display:block; font-family:var(--font-display); font-style:italic; color:var(--gold-500); font-size:1.05rem; margin-bottom:.3em; }
.pkg-section__head h2{ font-size:clamp(1.6rem,3vw,2.2rem); margin:0; color:var(--teal-950); }
.pkg-carousel{ position:relative; padding:0 28px; }
.pkg-track{
  display:flex; gap:20px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none;
  padding:8px 4px 24px;
}
.pkg-track::-webkit-scrollbar{ display:none; }
.pkg-card{
  flex:0 0 calc((100% - 40px) / 3); min-width:260px; scroll-snap-align:start;
  background:var(--white); border-radius:18px; overflow:hidden;
  box-shadow:0 6px 22px rgba(15,76,76,.10); transition:transform .2s ease, box-shadow .2s ease;
  display:flex; flex-direction:column;
}
.pkg-card:hover{ transform:translateY(-4px); box-shadow:0 14px 34px rgba(15,76,76,.18); }
.pkg-card__media{
  height:190px; background:url('../img/beach-bg.jpg') center/cover no-repeat;
}
.pkg-card__body{ padding:14px 16px 16px; display:flex; flex-direction:column; flex:1; }
.pkg-card__meta{ display:flex; justify-content:space-between; align-items:center; font-size:.76rem; color:var(--stone-500); padding-bottom:10px; border-bottom:1px solid var(--sand-100); }
.pkg-card__stars{ color:#f5b82e; letter-spacing:1px; font-size:.85rem; }
.pkg-card__stars i{ font-style:normal; color:var(--sand-200); }
.pkg-card__place{ display:block; margin-top:10px; font-size:.76rem; color:var(--stone-500); }
.pkg-card__body h4{ font-family:var(--font-body); font-weight:600; font-size:1.02rem; line-height:1.3; color:var(--ink-900); margin:.25em 0 .7em; }
.pkg-card__tags{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:14px; }
.pkg-card__tags span{ font-size:.72rem; color:var(--stone-700); background:var(--sand-50); border-radius:var(--radius-pill); padding:.25em .65em; }
.pkg-card__foot{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.pkg-card__price{ font-size:.8rem; color:var(--stone-500); }
.pkg-card__price b{ font-size:1.05rem; color:var(--gold-500); font-weight:700; }
.pkg-card__btn{ padding:.5em 1em; font-size:.78rem; }
.pkg-arrow{
  position:absolute; top:42%; transform:translateY(-50%); width:36px; height:36px; border-radius:50%;
  border:none; background:var(--white); color:var(--teal-950); font-size:1rem; cursor:pointer;
  box-shadow:0 4px 14px rgba(15,76,76,.2); z-index:2; display:none; align-items:center; justify-content:center;
}
.pkg-carousel.has-overflow .pkg-arrow{ display:flex; }
.pkg-arrow:hover{ background:var(--teal-900); color:var(--white); }
.pkg-arrow--prev{ left:-4px; } .pkg-arrow--next{ right:-4px; }
@media (max-width:1100px){ .pkg-card{ flex-basis:calc((100% - 20px) / 2); } }
@media (max-width:760px){ .pkg-card{ flex-basis:78%; } .pkg-carousel{ padding:0; } .pkg-carousel.has-overflow .pkg-arrow{ display:none; } }

/* ==========================================================================
   Search / hotel results — scenic transparent band + white rounded panel
   (front-end only; markup, routes and header behaviour are unchanged)
   ========================================================================== */
.is-dash .dash-hero--band{
  margin-bottom:0; padding:128px 24px 120px; min-height:560px;
  background:
    linear-gradient(180deg, rgba(8,44,50,.38) 0%, rgba(8,44,50,0) 32%, rgba(8,44,50,0) 62%, rgba(8,44,50,.35) 100%),
    url('../img/search-landscape-2.jpg') center 38%/cover no-repeat;
}
.is-dash .dash-hero--band .page-head h1{ font-family:var(--font-display); text-shadow:0 2px 16px rgba(0,0,0,.35); }
.is-dash .dash-hero--band .page-head p,
.is-dash .dash-hero--band .breadcrumb{ color:rgba(255,255,255,.9); text-shadow:0 1px 8px rgba(0,0,0,.4); }
.is-dash .dash-hero--band .search-bar{
  max-width:1180px; margin:0 auto; padding:12px; gap:10px; border-radius:22px;
  background:rgba(250,248,245,.28); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.45); box-shadow:0 18px 50px rgba(8,40,45,.28);
}
.is-dash .dash-hero--band .search-bar .field{ background:var(--white); border:none; border-radius:14px; padding:10px 16px; }
.is-dash .dash-hero--band .page-head{ max-width:1180px; margin:0 auto 24px; }

/* white panel overlapping the band */
.is-dash .results-layout{
  position:relative; z-index:2; margin-top:-64px; padding:24px; gap:24px;
  background:#faf8f5; border-radius:28px; box-shadow:0 24px 60px rgba(15,76,76,.16);
}
.is-dash .results-filters{
  top:100px; border:none; background:var(--white); border-radius:20px; box-shadow:0 4px 18px rgba(15,76,76,.08);
}
.is-dash .result-card{
  border:none; border-radius:20px; box-shadow:0 4px 18px rgba(15,76,76,.08);
  transition:transform .2s ease, box-shadow .2s ease;
}
.is-dash .result-card:hover{ transform:translateY(-2px); box-shadow:0 14px 32px rgba(15,76,76,.15); border-color:transparent; }
.is-dash .result-card__img{ border:none; border-radius:16px; }
.is-dash .result-card__price{ border-left:2px dashed var(--sand-200); }
.is-dash .result-card__price .net{ color:var(--gold-500); }
.is-dash .results-list__head{ padding:2px 4px; }
@media (max-width: 980px){
  .is-dash .results-layout{ margin-top:-48px; padding:14px; border-radius:22px; }
  .is-dash .dash-hero--band{ padding:110px 16px 90px; }
}

/* sanatorium search: panoramic sea banner, tighter band */
.is-dash .dash-hero--band.dash-hero--sea{
  min-height:0; padding:112px 24px 92px;
  background:
    linear-gradient(180deg, rgba(8,44,50,.38) 0%, rgba(8,44,50,0) 34%, rgba(8,44,50,0) 66%, rgba(8,44,50,.3) 100%),
    url('../img/search-landscape-2.jpg') center 40%/cover no-repeat;
}
.is-dash .dash-hero--band.dash-hero--sea .page-head{ margin-bottom:16px; }
.is-dash .dash-hero--sea ~ .results-layout{ margin-top:-52px; }
/* The search bar's suggestion dropdown must float above the results panel that overlaps the hero (the panel has z-index:2). */
.is-dash .dash-hero--band .search-bar{ position:relative; z-index:5; }
@media (max-width: 980px){ .is-dash .dash-hero--band.dash-hero--sea{ padding:100px 16px 80px; } }

/* hotel search: lagoon banner, same tight band as sanatorium search */
.is-dash .dash-hero--band.dash-hero--hotel{
  min-height:0; padding:112px 24px 92px;
  background:
    linear-gradient(180deg, rgba(8,44,50,.38) 0%, rgba(8,44,50,0) 34%, rgba(8,44,50,0) 66%, rgba(8,44,50,.3) 100%),
    url('../img/search-sea.jpg') center 60%/cover no-repeat;
}
.is-dash .dash-hero--band.dash-hero--hotel .page-head{ margin-bottom:16px; }
.is-dash .dash-hero--hotel ~ .results-layout{ margin-top:-52px; }
@media (max-width: 980px){ .is-dash .dash-hero--band.dash-hero--hotel{ padding:100px 16px 80px; } }

/* ---- sort select: custom arrow with proper spacing ---- */
.sort select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none; cursor:pointer;
  border:1px solid var(--sand-200); border-radius:var(--radius-pill);
  padding:.55em 2.6em .55em 1.1em; font-size:.88rem; font-weight:600; font-family:inherit; color:var(--teal-950);
  background-color:var(--white);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230d5c63' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 1em center; background-size:12px 8px;
  box-shadow:0 2px 8px rgba(15,76,76,.06); transition:border-color .15s ease, box-shadow .15s ease;
}
.sort select:hover, .sort select:focus{ border-color:var(--teal-500); outline:none; box-shadow:0 0 0 3px rgba(44,147,160,.15); }

/* ---- results page responsive ---- */
@media (max-width: 980px){
  .is-dash .results-filters{ position:static; }
  .is-dash .result-card__price{ border-left:none; border-top:2px dashed var(--sand-200); padding:14px 0 0; align-items:stretch; text-align:left; }
  .is-dash .result-card__price .btn{ width:100%; text-align:center; justify-content:center; }
  .is-dash .results-list__head{ flex-direction:column; align-items:flex-start; gap:12px; }
  .is-dash .results-list__controls, .is-dash .sort{ width:100%; }
  .is-dash .sort select{ flex:1; min-width:0; }
}
@media (max-width: 600px){
  .is-dash .dash-hero--band .search-bar{ padding:10px; }
  .is-dash .dash-hero--band .page-head h1{ font-size:1.5rem; }
  .is-dash .results-layout{ padding:12px; margin-top:-40px; border-radius:20px; }
  .is-dash .result-card{ padding:14px; gap:14px; }
  .is-dash .result-card__body h3{ flex-wrap:wrap; }
}

/* ---- Bookings: scenic band + white overlapping panel (same look as search pages, own picture) ---- */
.is-dash .dash-hero--band.dash-hero--bookings{
  min-height:0; padding:112px 24px 96px;
  background:
    linear-gradient(180deg, rgba(8,44,50,.4) 0%, rgba(8,44,50,0) 34%, rgba(8,44,50,0) 62%, rgba(8,44,50,.35) 100%),
    url('../img/beach-bg.jpg') center 62%/cover no-repeat;
}
.is-dash .dash-hero--bookings .page-head{ max-width:1180px; margin:0 auto 18px; }
.is-dash .dash-hero--bookings > form{ max-width:1180px; margin:0 auto; }
.is-dash .dash-hero--bookings .filter-bar{
  margin:0; padding:12px; gap:10px; border-radius:22px;
  background:rgba(250,248,245,.28); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.45); box-shadow:0 18px 50px rgba(8,40,45,.28);
}
.is-dash .dash-hero--bookings .filter-bar .field input{ background:var(--white); border:none; border-radius:14px; padding:.8em 1.1em; }
.is-dash .dash-hero--bookings .filter-bar .btn-ghost-dark{ background:var(--white); border-color:var(--white); }
.is-dash .dash-hero--bookings .filter-select-wrap{ background:var(--white); border-color:var(--white); }
.is-dash .dash-hero--bookings .filter-clear{ color:var(--white); text-shadow:0 1px 6px rgba(0,0,0,.45); }
.is-dash .dash-hero--bookings .filter-clear:hover{ background:rgba(255,255,255,.18); }
.is-dash .page-panel{
  position:relative; z-index:2; margin-top:-56px; padding:24px; margin-bottom:40px;
  background:#faf8f5; border-radius:28px; box-shadow:0 24px 60px rgba(15,76,76,.16);
}
.is-dash .page-panel .booking-card{ border:none; border-radius:20px; box-shadow:0 4px 18px rgba(15,76,76,.08); }
@media (max-width: 980px){ .is-dash .dash-hero--band.dash-hero--bookings{ padding:100px 16px 84px; } .is-dash .page-panel{ margin-top:-44px; padding:14px; border-radius:22px; } }

/* ---- Bookings: status pill tabs + ticket-style cards ---- */
.bk-tabs{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 20px; padding:0 4px; }
.bk-tab{
  padding:.55em 1.2em; border-radius:var(--radius-pill); font-size:.88rem; font-weight:600;
  color:var(--stone-700); background:transparent; transition:background .15s ease, color .15s ease;
}
.bk-tab:hover{ background:var(--sand-100); color:var(--teal-900); }
.bk-tab.is-active{ background:var(--teal-900); color:var(--white); box-shadow:0 4px 12px rgba(13,92,99,.25); }

.page-panel .bk-ticket{
  display:grid; grid-template-columns:1fr 250px; gap:0; padding:0; overflow:hidden;
  border-left:none; border-radius:20px; background:var(--white); margin-bottom:16px;
  transition:transform .2s ease, box-shadow .2s ease;
}
.page-panel .bk-ticket:hover{ transform:translateY(-2px); box-shadow:0 14px 32px rgba(15,76,76,.15); }
.bk-ticket::before{ content:""; display:none; }
.bk-ticket__main{ padding:20px 24px; border-left:5px solid var(--sand-200); }
.booking-card--waiting .bk-ticket__main{ border-left-color:var(--gold-500); }
.booking-card--confirmed .bk-ticket__main{ border-left-color:var(--ok-600); }
.booking-card--rejected .bk-ticket__main, .booking-card--cancelled .bk-ticket__main{ border-left-color:var(--coral-600); }
.booking-card--completed .bk-ticket__main{ border-left-color:var(--teal-600); }
.bk-ticket__top{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.bk-ticket__place{ display:flex; align-items:center; gap:12px; min-width:0; }
.bk-ticket__place .avatar{
  width:42px; height:42px; border-radius:12px; background:var(--teal-950); color:var(--white);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.8rem; flex:none;
}
.bk-ticket__place b{ display:block; font-family:var(--font-display); font-size:1.05rem; color:var(--teal-950); line-height:1.25; }
.bk-ticket__place span{ font-size:.8rem; color:var(--stone-500); }

.bk-route{ display:flex; align-items:center; gap:14px; margin:20px 0 18px; }
.bk-route__pt b{ display:block; font-family:var(--font-display); font-size:1.5rem; color:var(--teal-950); line-height:1.1; white-space:nowrap; }
.bk-route__pt span{ font-size:.74rem; color:var(--stone-500); }
.bk-route__pt--end{ text-align:right; }
.bk-route__line{
  flex:1; position:relative; height:2px; min-width:60px;
  background:repeating-linear-gradient(90deg, var(--teal-500) 0 6px, transparent 6px 12px);
}
.bk-route__line::before, .bk-route__line::after{
  content:""; position:absolute; top:50%; width:9px; height:9px; margin-top:-4.5px; border-radius:50%; background:var(--teal-600);
}
.bk-route__line::before{ left:-4px; } .bk-route__line::after{ right:-4px; background:var(--gold-500); }
.bk-route__line em{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); font-style:normal; font-size:.74rem; font-weight:700;
  color:var(--teal-800); background:var(--teal-50); border-radius:var(--radius-pill); padding:.28em .8em; white-space:nowrap;
}
.bk-meta{ display:flex; flex-wrap:wrap; gap:10px 32px; margin:0; padding-top:14px; border-top:1px dashed var(--sand-200); }
.bk-meta dt{ font-size:.7rem; text-transform:uppercase; letter-spacing:.06em; color:var(--stone-500); }
.bk-meta dd{ margin:2px 0 0; font-size:.9rem; font-weight:600; color:var(--teal-950); }

.bk-ticket__side{
  padding:20px; display:flex; flex-direction:column; justify-content:space-between; gap:14px;
  border-left:2px dashed var(--sand-200); background:linear-gradient(180deg, var(--white), var(--sand-50));
}
.bk-ticket__price{ display:flex; flex-direction:column; align-items:flex-end; gap:6px; text-align:right; }
.bk-ticket__amount{ font-family:var(--font-display); font-size:1.45rem; font-weight:600; color:var(--gold-500); }
.bk-ticket__pay{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.bk-ticket__actions{ display:flex; flex-direction:column; gap:8px; align-items:stretch; }
.bk-ticket__actions .btn, .bk-ticket__actions form .btn{ width:100%; justify-content:center; text-align:center; }
.bk-ticket__actions .payment-countdown, .bk-ticket__actions .review-state{ text-align:center; }
@media (max-width: 760px){
  .page-panel .bk-ticket{ grid-template-columns:1fr; }
  .bk-ticket__side{ border-left:none; border-top:2px dashed var(--sand-200); }
  .bk-ticket__price{ align-items:flex-start; text-align:left; }
  .bk-ticket__pay{ justify-content:flex-start; }
  .bk-route__pt b{ font-size:1.2rem; }
  .bk-ticket__main{ padding:16px; }
}

/* two filter rows: status + payment */
.bk-filters{ display:flex; flex-direction:column; gap:10px; margin-bottom:20px; padding-bottom:16px; border-bottom:1px solid var(--sand-200); }
.bk-filters .bk-tabs{ margin:0; }
.bk-tabs--pay .bk-tab{ font-size:.8rem; padding:.4em 1em; border:1px solid var(--sand-200); background:var(--white); }
.bk-tabs--pay .bk-tab:hover{ border-color:var(--teal-500); }
.bk-tabs--pay .bk-tab.is-active{ background:var(--gold-500); border-color:var(--gold-500); color:var(--white); box-shadow:none; }

/* ---- modern segmented filters (override of the earlier pill rows) ---- */
.bk-filters{
  flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px;
  margin:0 0 22px; padding:0; border-bottom:none;
}
.bk-filters .bk-tabs{
  display:inline-flex; flex-wrap:nowrap; gap:2px; margin:0; padding:4px; max-width:100%;
  background:var(--sand-100); border-radius:var(--radius-pill); overflow-x:auto; scrollbar-width:none;
}
.bk-filters .bk-tabs::-webkit-scrollbar{ display:none; }
.bk-filters .bk-tab{
  position:relative; display:inline-flex; align-items:center; gap:.5em; white-space:nowrap;
  padding:.55em 1.15em; border:none; border-radius:var(--radius-pill); background:transparent;
  font-size:.84rem; font-weight:600; color:var(--stone-700); box-shadow:none;
  transition:background .18s ease, color .18s ease, box-shadow .18s ease;
}
.bk-filters .bk-tab:hover{ background:rgba(255,255,255,.65); color:var(--teal-900); border:none; }
.bk-filters .bk-tab.is-active{ background:var(--white); color:var(--teal-950); box-shadow:0 2px 8px rgba(15,76,76,.16); border:none; }
.bk-filters .bk-tab::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--stone-500); opacity:.45; }
.bk-filters .bk-tab--all::before{ display:none; }
.bk-filters .bk-tab--waiting::before{ background:var(--gold-500); opacity:1; }
.bk-filters .bk-tab--confirmed::before, .bk-filters .bk-tab--paid::before{ background:var(--ok-600); opacity:1; }
.bk-filters .bk-tab--rejected::before, .bk-filters .bk-tab--cancelled::before, .bk-filters .bk-tab--unpaid::before{ background:var(--coral-600); opacity:1; }
.bk-filters .bk-tab--completed::before{ background:var(--teal-600); opacity:1; }
.bk-tabs__label{ align-self:center; padding:0 .7em 0 .9em; font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--stone-500); }
.bk-filters .bk-tabs--pay .bk-tab.is-active{ background:var(--teal-900); color:var(--white); box-shadow:0 3px 10px rgba(13,92,99,.3); }
@media (max-width: 760px){
  .bk-filters{ flex-direction:column; align-items:stretch; }
  .bk-filters .bk-tabs{ border-radius:18px; }
}

/* Header left side: slightly larger logo + nav (desktop) */
@media (min-width:901px){
  .is-dash .app-header .brand img{ height:38px; }
  .is-dash .app-header .brand-tag{ font-size:.7rem; padding:.38em .7em; }
  .is-dash .app-nav{ gap:8px; }
  .is-dash .app-nav > a,
  .is-dash .app-nav > .nav-dropdown > .nav-dropdown__trigger{ font-size:1rem; padding:.65em 1.2em; }
}

/* Header right side: uniform, compact, modern chips (desktop) */
@media (min-width:901px){
  .is-dash .app-header .app-user{ gap:8px; }
  .is-dash .app-header .app-user .lang-select,
  .is-dash .app-header .app-user .support-link,
  .is-dash .app-header .app-user .icon-btn,
  .is-dash .app-header .app-user .account{
    height:40px; min-height:40px; box-sizing:border-box; margin:0;
    display:inline-flex; align-items:center; justify-content:center;
    border-radius:999px; line-height:1;
  }
  .is-dash .app-header .app-user .lang-select{ padding:0 12px; gap:6px; }
  .is-dash .app-header .app-user .lang-select select{
    font-size:.85rem; font-weight:600; letter-spacing:.02em; padding:0; height:auto; line-height:1;
  }
  .is-dash .app-header .app-user .lang-select__caret{ font-size:.6rem; }
  .is-dash .app-header .app-user .support-link{ padding:0 16px; font-size:.85rem; font-weight:600; }
  .is-dash .app-header .app-user .icon-btn{ width:40px; padding:0; position:relative; }
  .is-dash .app-header .app-user .icon-btn .ico-svg{ width:18px; height:18px; }
  .is-dash .app-header .app-user .notif-badge{
    position:absolute; top:-4px; right:-4px; min-width:18px; height:18px; padding:0 4px;
    font-size:.65rem; line-height:18px; border-radius:999px; box-sizing:border-box;
  }
  .is-dash .app-header .app-user .account{ padding:0 4px 0 14px; gap:10px; }
  .is-dash .app-header .app-user .account .who{ font-size:.72rem; line-height:1.25; }
  .is-dash .app-header .app-user .account .who b{ font-size:.82rem; }
  .is-dash .app-header .app-user .account .avatar{ width:32px; height:32px; font-size:.72rem; flex-shrink:0; }
}
.app-user .avatar--img{ object-fit:cover; display:block; background:var(--white); }

/* ---- bookings filters v3: clean, compact, no overflow ---- */
.bk-filters{ flex-wrap:wrap; justify-content:flex-start; gap:12px 16px; align-items:center; border-bottom:none; padding-bottom:0; margin-bottom:18px; }
.bk-filters .bk-tabs{
  background:var(--white); border:1px solid rgba(15,76,76,.10); border-radius:999px; padding:4px; gap:2px;
  box-shadow:0 1px 2px rgba(15,76,76,.05); max-width:100%; min-width:0; flex:0 1 auto;
}
.bk-filters .bk-tab{
  padding:.5em 1em; font-size:.84rem; font-weight:600; color:var(--stone-700); border-radius:999px;
  gap:.5em; white-space:nowrap; transition:background .15s, color .15s, box-shadow .15s;
}
.bk-filters .bk-tab:hover{ background:var(--sand-100); color:var(--teal-900); }
.bk-filters .bk-tab.is-active{ background:var(--teal-900); color:var(--white); box-shadow:0 4px 10px rgba(15,76,76,.22); }
.bk-filters .bk-tab::before{ width:6px; height:6px; }
.bk-filters .bk-tab.is-active::before{ box-shadow:0 0 0 2px rgba(255,255,255,.25); }
.bk-filters .bk-tabs--pay{ background:transparent; box-shadow:none; border-style:dashed; }
.bk-filters .bk-tabs--pay .bk-tab.is-active{ background:var(--teal-100); color:var(--teal-900); box-shadow:inset 0 0 0 1px rgba(15,76,76,.25); }
@media (max-width:760px){
  .bk-filters .bk-tabs{ width:100%; overflow-x:auto; }
}

/* ---- bookings filters v4: compact ---- */
.bk-filters{ gap:8px 12px; margin-bottom:14px; }
.bk-filters .bk-tabs{ padding:3px; gap:1px; box-shadow:none; background:var(--white); }
.bk-filters .bk-tab{ padding:.3em .75em; font-size:.78rem; gap:.4em; line-height:1.4; }
.bk-filters .bk-tab::before{ width:5px; height:5px; }
.bk-filters .bk-tab.is-active{ box-shadow:none; }
.bk-filters .bk-tabs--pay{ border-style:solid; background:var(--white); }
.bk-filters .bk-tabs--pay .bk-tab.is-active{ box-shadow:none; }
.bk-filters .bk-tabs + .bk-tabs{ position:relative; }

/* ---- bookings filters v5: modern underline tabs + soft chips ---- */
.bk-filters{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:14px 28px; margin:4px 0 22px; padding:0; border-bottom:1px solid rgba(15,76,76,.12); }
/* status: text tabs with animated underline */
.bk-filters .bk-tabs:not(.bk-tabs--pay){ background:none; border:none; box-shadow:none; border-radius:0; padding:0; gap:26px; overflow:visible; }
.bk-filters .bk-tabs:not(.bk-tabs--pay) .bk-tab{
  position:relative; padding:.7em 2px 1em; font-size:.95rem; font-weight:600; color:var(--stone-500);
  background:none; border-radius:0; box-shadow:none; gap:0; line-height:1.2;
}
.bk-filters .bk-tabs:not(.bk-tabs--pay) .bk-tab::before{ display:none; }
.bk-filters .bk-tabs:not(.bk-tabs--pay) .bk-tab::after{
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:3px; border-radius:3px 3px 0 0;
  background:var(--coral-600); transform:scaleX(0); transform-origin:center; transition:transform .22s ease;
}
.bk-filters .bk-tabs:not(.bk-tabs--pay) .bk-tab:hover{ background:none; color:var(--teal-900); }
.bk-filters .bk-tabs:not(.bk-tabs--pay) .bk-tab:hover::after{ transform:scaleX(.45); }
.bk-filters .bk-tabs:not(.bk-tabs--pay) .bk-tab.is-active{ background:none; color:var(--teal-950); box-shadow:none; }
.bk-filters .bk-tabs:not(.bk-tabs--pay) .bk-tab.is-active::after{ transform:scaleX(1); }
/* payment: soft tinted chips */
.bk-filters .bk-tabs--pay{ background:none; border:none; box-shadow:none; padding:0 0 10px; gap:8px; }
.bk-filters .bk-tabs--pay .bk-tab{
  padding:.42em .95em; font-size:.82rem; font-weight:600; border-radius:999px; gap:.5em;
  background:rgba(15,76,76,.06); color:var(--teal-900); box-shadow:none; border:1px solid transparent;
}
.bk-filters .bk-tabs--pay .bk-tab::before{ width:7px; height:7px; }
.bk-filters .bk-tabs--pay .bk-tab:hover{ background:rgba(15,76,76,.12); }
.bk-filters .bk-tabs--pay .bk-tab.is-active{ background:var(--teal-900); color:var(--white); box-shadow:0 6px 14px rgba(15,76,76,.22); }
.bk-filters .bk-tabs--pay .bk-tab.is-active::before{ box-shadow:0 0 0 2px rgba(255,255,255,.3); }
@media (max-width:760px){
  .bk-filters{ flex-direction:column; align-items:stretch; gap:6px; border-bottom:none; }
  .bk-filters .bk-tabs:not(.bk-tabs--pay){ overflow-x:auto; gap:20px; border-bottom:1px solid rgba(15,76,76,.12); width:100%; }
  .bk-filters .bk-tabs--pay{ overflow-x:auto; padding:6px 0; width:100%; }
}

/* ---- booking detail modal: neat & modern ---- */
.is-dash .modal{ z-index:1000; background:rgba(15,40,42,.45); backdrop-filter:blur(6px); }
.is-dash .modal__dialog{ max-width:720px; border:none; border-radius:24px; box-shadow:0 30px 80px rgba(10,35,38,.35); overflow:hidden; background:var(--off-white,#FAF8F5); }
.is-dash .modal__head{ padding:22px 28px 20px; background:linear-gradient(135deg,var(--teal-900),#0D5C63); border-bottom:none; align-items:center; }
.is-dash .modal__head h3{ color:#fff; font-size:1.5rem; margin:0 0 .15em; }
.is-dash .modal__head .modal__subloc{ color:rgba(255,255,255,.78); }
.is-dash .modal__head .modal__close{ background:rgba(255,255,255,.16); color:#fff; backdrop-filter:blur(4px); }
.is-dash .modal__head .modal__close:hover{ background:rgba(255,255,255,.3); }
.is-dash .modal__body{ padding:20px 24px 26px; display:flex; flex-direction:column; gap:14px; background:var(--off-white,#FAF8F5); }
.is-dash .modal__body > h4{ margin:0 0 -6px; padding:0; border:none; font-size:.7rem; letter-spacing:.1em; color:var(--stone-500); }
.is-dash .modal__body > h4:first-child{ margin-top:0; }
.is-dash .modal__body .detail-kv{
  background:#fff; border:1px solid rgba(15,76,76,.08); border-radius:16px; padding:6px 18px; margin:0;
  display:grid; grid-template-columns:auto 1fr; column-gap:24px; box-shadow:0 1px 2px rgba(15,76,76,.04);
}
.is-dash .modal__body .detail-kv dt, .is-dash .modal__body .detail-kv dd{ padding:11px 0; margin:0; border-bottom:1px solid rgba(15,76,76,.07); font-size:.9rem; }
.is-dash .modal__body .detail-kv dt{ color:var(--stone-500); }
.is-dash .modal__body .detail-kv dd{ text-align:right; font-weight:600; color:var(--teal-950); }
.is-dash .modal__body .detail-kv dt:nth-last-of-type(1), .is-dash .modal__body .detail-kv dd:last-of-type{ border-bottom:none; }
.is-dash .modal__body .detail-kv__total{ color:var(--coral-600) !important; font-size:1.05rem !important; }
.is-dash .modal__chip{ background:#fff; border:1px solid rgba(15,76,76,.1); color:var(--teal-900); font-weight:600; padding:.5em 1em; }
.is-dash .modal__rich{ background:#fff; border:1px solid rgba(15,76,76,.08); border-radius:16px; padding:14px 18px; }
.is-dash .booking-card__attempts{ display:flex; flex-direction:column; gap:8px; }
.is-dash .booking-card__attempt{
  display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:14px;
  background:#fff; border:1px solid rgba(15,76,76,.08); border-radius:14px; padding:10px 14px;
}
.is-dash .attempt__main{ display:flex; flex-direction:column; min-width:0; line-height:1.35; }
.is-dash .attempt__main b{ color:var(--teal-950); font-size:.95rem; }
.is-dash .attempt__main em{ font-style:normal; color:var(--stone-500); font-size:.78rem; display:flex; gap:4px; min-width:0; }
.is-dash .attempt__ref{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:220px; display:inline-block; vertical-align:bottom; }
.is-dash .booking-card__attempt .record-response__time{ font-size:.78rem; color:var(--stone-500); white-space:nowrap; }
.is-dash .modal__cancel-block{ margin:0; background:#fff; border:1px solid rgba(232,118,60,.25); border-radius:16px; padding:16px 18px; }
.is-dash .modal__cancel-block h4{ margin:0 0 8px; padding:0; border:none; color:var(--coral-600); }
@media (max-width:600px){
  .is-dash .modal{ padding:12px; }
  .is-dash .modal__body{ padding:16px; }
  .is-dash .booking-card__attempt{ grid-template-columns:1fr auto; }
  .is-dash .booking-card__attempt .badge{ grid-column:1 / -1; justify-self:start; }
}

/* ---- modal: separated from header + responsive ---- */
body:has(.modal.is-open){ overflow:hidden; }
body:has(.modal.is-open) .app-header{ z-index:1; visibility:hidden; }
.is-dash .modal{ padding:28px 20px; align-items:center; overflow-y:auto; }
.is-dash .modal__dialog{ width:100%; max-height:calc(100vh - 56px); max-height:calc(100dvh - 56px); margin:auto; }
.is-dash .modal__head > div{ min-width:0; }
.is-dash .modal__head h3, .is-dash .modal__subloc{ overflow-wrap:anywhere; }
.is-dash .modal__body{ overscroll-behavior:contain; }
.is-dash .modal__body .detail-kv dd{ overflow-wrap:anywhere; }
@media (max-width:760px){
  .is-dash .modal{ padding:0; align-items:flex-end; }
  .is-dash .modal__dialog{ max-width:none; max-height:92vh; max-height:92dvh; border-radius:22px 22px 0 0; margin:0; }
  .is-dash .modal__head{ padding:18px 20px; }
  .is-dash .modal__head h3{ font-size:1.25rem; }
  .is-dash .modal__body{ padding:16px 16px calc(22px + env(safe-area-inset-bottom)); }
  .is-dash .modal__body .detail-kv{ grid-template-columns:1fr; padding:4px 16px; }
  .is-dash .modal__body .detail-kv dt{ padding:10px 0 0; border-bottom:none; font-size:.78rem; }
  .is-dash .modal__body .detail-kv dd{ padding:2px 0 10px; text-align:left; }
  .is-dash .attempt__ref{ max-width:150px; }
}

/* ---- Reviews: band + panel + quote cards ---- */
.is-dash .dash-hero--band.dash-hero--reviews{
  min-height:0; padding:112px 24px 92px;
  background:
    linear-gradient(180deg, rgba(8,44,50,.4) 0%, rgba(8,44,50,0) 34%, rgba(8,44,50,0) 60%, rgba(8,44,50,.35) 100%),
    url('../img/beach-bg.jpg') center 62%/cover no-repeat;
}
.is-dash .dash-hero--reviews .page-head{ max-width:1180px; margin:0 auto; }
.is-dash .page-panel .filter-bar{ margin:0 0 18px; padding:0; background:none; border:none; box-shadow:none; }
.is-dash .page-panel .filter-select-wrap{ background:#fff; border:1px solid rgba(15,76,76,.12); border-radius:999px; }
.is-dash .rv-card{ position:relative; padding:20px 22px 20px 26px; border-left:4px solid var(--coral-600); }
.is-dash .rv-card::before{
  content:"\201C"; position:absolute; right:22px; top:6px; font-family:var(--font-display); font-size:4rem; line-height:1;
  color:rgba(15,76,76,.08); pointer-events:none;
}
.is-dash .rv-stars{ color:#E8A23C; font-size:1.05rem; letter-spacing:.12em; margin:8px 0 4px; }
.is-dash .rv-stars span{ color:rgba(15,76,76,.18); }
.is-dash .rv-text{ margin:6px 0 0; color:var(--stone-700); line-height:1.65; max-width:78ch; overflow-wrap:anywhere; }
@media (max-width:980px){ .is-dash .dash-hero--band.dash-hero--reviews{ padding:100px 16px 80px; } }

/* guests dropdown must not be clipped by the hero */
.is-dash .dash-hero--solo{ overflow:visible; position:relative; z-index:5; }
.is-dash .guests-panel{ z-index:60; }
.is-dash .search-bar .go .btn, .is-dash .search-bar .go button{ color:#fff; text-shadow:0 1px 2px rgba(0,0,0,.2); }

/* ---- Bookings: ocean-style ticket cards ---- */
.page-panel .bk-ticket{ border-radius:22px; box-shadow:0 6px 22px rgba(15,76,76,.10); }
.bk-ticket__main{ border-left-width:6px; background:linear-gradient(135deg, var(--white) 60%, rgba(13,92,99,.05)); }
.bk-ticket__place .avatar{ background:linear-gradient(135deg, #0D5C63, #0F4C4C); border-radius:50%; }
.bk-route__line{ background:repeating-linear-gradient(90deg, #0D5C63 0 6px, transparent 6px 12px); }
.bk-route__line::after{ background:#E8763C; }
.bk-route__line em{ background:#E8DCC8; color:#1C2B2D; }
.bk-meta{ border-top-color:#E8DCC8; }
.bk-ticket__side{ background:linear-gradient(180deg, #FAF8F5, #E8DCC8); border-left-color:#d8c9ad; }
.bk-ticket__amount{ color:#0D5C63; }

/* ---- Reviews: modern card grid ---- */
.is-dash .rv-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.is-dash .rv-grid > .booking-card:only-child{ grid-column:1/-1; }
.is-dash .rv-card{
  display:flex; flex-direction:column; gap:4px; margin:0; padding:22px 24px; border:none; border-top:5px solid #E8763C;
  border-radius:22px; background:linear-gradient(160deg, #FAF8F5 55%, rgba(232,220,200,.55));
  box-shadow:0 6px 22px rgba(15,76,76,.10); transition:transform .2s ease, box-shadow .2s ease;
}
.is-dash .rv-card:hover{ transform:translateY(-3px); box-shadow:0 16px 34px rgba(15,76,76,.16); }
.is-dash .rv-card::before{ color:rgba(13,92,99,.12); font-size:5rem; top:10px; }
.is-dash .rv-card .avatar{ background:linear-gradient(135deg,#0D5C63,#0F4C4C); color:#fff; border-radius:50%; }
.is-dash .rv-card .booking-card__subline{ color:#1C2B2D; opacity:.75; }
.is-dash .rv-stars{ color:#E8763C; font-size:1.15rem; margin:10px 0 2px; }
.is-dash .rv-text{ color:#1C2B2D; padding-top:10px; border-top:1px dashed #d8c9ad; flex:1; }
@media (max-width:760px){ .is-dash .rv-grid{ grid-template-columns:1fr; } }

/* ---- Bookings: modern detail modal ---- */
.is-dash .modal__dialog{ max-width:760px; }
.is-dash .modal__head{
  position:relative; padding:28px 30px 26px;
  background:linear-gradient(135deg, rgba(15,76,76,.88), rgba(13,92,99,.7)), url('../img/beach-bg.jpg') center 62%/cover no-repeat;
}
.is-dash .modal__head h3{ font-family:var(--font-display); font-size:1.7rem; letter-spacing:.02em; text-shadow:0 2px 12px rgba(0,0,0,.3); }
.is-dash .modal__head .modal__close{ width:38px; height:38px; border-radius:50%; }
.bk-modal-summary{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:-4px 0 4px; }
.bk-modal-summary__item{
  display:flex; flex-direction:column; gap:6px; align-items:flex-start; padding:12px 14px;
  background:#fff; border-radius:16px; box-shadow:0 4px 14px rgba(15,76,76,.08);
}
.bk-modal-summary__item > span:first-child{ font-size:.68rem; text-transform:uppercase; letter-spacing:.08em; color:var(--stone-500); font-weight:700; }
.bk-modal-summary__item b{ font-size:.92rem; color:#1C2B2D; }
.bk-modal-summary__item b.is-total{ color:#E8763C; font-family:var(--font-display); font-size:1.05rem; }
.is-dash .modal__body > h4{ display:flex; align-items:center; gap:8px; margin:6px 0 -6px; font-size:.72rem; color:#0D5C63; }
.is-dash .modal__body > h4::before{ content:""; width:4px; height:14px; border-radius:2px; background:#E8763C; }
.is-dash .modal__body .detail-kv{ border-radius:18px; box-shadow:0 4px 14px rgba(15,76,76,.07); border:none; }
.is-dash .modal__chip{ border-radius:999px; background:#E8DCC8; border:none; color:#1C2B2D; }
.is-dash .modal__cancel-block{ border-radius:18px; background:linear-gradient(180deg,#fff,#FAF8F5); }
@media (max-width:760px){ .bk-modal-summary{ grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* ---- Bookings: compact card rows ---- */
.page-panel .bk-ticket{ grid-template-columns:1fr 230px; margin-bottom:12px; border:1px solid rgba(15,76,76,.06); }
.page-panel .bk-ticket:hover{ transform:translateY(-2px); box-shadow:0 14px 30px rgba(15,76,76,.16); }
.bk-ticket__main{ border-left:none; position:relative; padding:14px 20px 12px 22px; }
.bk-ticket__main::before{ content:""; position:absolute; left:0; top:14px; bottom:14px; width:4px; border-radius:0 4px 4px 0; background:var(--sand-200); }
.booking-card--waiting .bk-ticket__main::before{ background:var(--gold-500); }
.booking-card--confirmed .bk-ticket__main::before{ background:var(--ok-600); }
.booking-card--rejected .bk-ticket__main::before, .booking-card--cancelled .bk-ticket__main::before{ background:var(--coral-600); }
.booking-card--completed .bk-ticket__main::before{ background:#0D5C63; }
.bk-ticket__place .avatar{ width:38px; height:38px; font-size:.75rem; }
.bk-route{ margin:12px 0 10px; }
.bk-route__pt b{ font-size:1.25rem; }
.bk-meta{ padding-top:10px; gap:6px 28px; }
.bk-ticket__side{ padding:14px 16px; gap:10px; }
.bk-ticket__amount{ font-size:1.25rem; }
.bk-ticket__actions{ flex-direction:row; flex-wrap:wrap; }
.bk-ticket__actions .btn, .bk-ticket__actions form .btn{ width:auto; flex:1 1 auto; }
.bk-ticket__actions form{ flex:1 1 100%; }
.bk-ticket__actions .btn-gold{ background:#E8763C; border-color:#E8763C; color:#fff; border-radius:999px; }
.bk-ticket__actions .btn-ghost-dark{ border-radius:999px; }
@media (max-width:760px){ .page-panel .bk-ticket{ grid-template-columns:1fr; } }

/* ---- Reviews: clamp long text, full text in modal ---- */
.is-dash .rv-card{ cursor:pointer; }
.is-dash .rv-card .booking-card__who{ min-width:0; }
.is-dash .rv-card .booking-card__who > div:last-child{ min-width:0; }
.is-dash .rv-card .booking-card__who b{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%; }
.is-dash .rv-card .booking-card__subline{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.is-dash .rv-text{ display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; line-clamp:3; overflow:hidden; text-overflow:ellipsis; flex:0 0 auto; }
.is-dash .rv-more{ display:none; margin-top:10px; font-size:.8rem; font-weight:700; color:#E8763C; }
.is-dash .rv-card:hover .rv-more{ text-decoration:underline; }
.rv-modal-stars{ color:#E8763C; font-size:1.4rem; letter-spacing:.12em; }
.rv-modal-stars span{ color:rgba(15,76,76,.18); }
.rv-modal-stars em{ font-style:normal; font-size:.9rem; letter-spacing:0; color:var(--stone-500); margin-left:.4em; }
.rv-modal-meta{ margin:0; font-size:.88rem; color:#1C2B2D; opacity:.75; overflow-wrap:anywhere; }
.rv-modal-text{ white-space:pre-line; overflow-wrap:anywhere; line-height:1.75; }
.is-dash .rv-card.is-clamped .rv-more{ display:block; }

/* ---- Profile: band + panel, same look as the other CRM pages ---- */
.is-dash .dash-hero--band.dash-hero--profile{
  min-height:0; padding:112px 24px 96px;
  background:
    linear-gradient(180deg, rgba(8,44,50,.4) 0%, rgba(8,44,50,0) 34%, rgba(8,44,50,0) 62%, rgba(8,44,50,.35) 100%),
    url('../img/beach-bg.jpg') center 62%/cover no-repeat;
}
.is-dash .dash-hero--profile .page-head{ max-width:1180px; margin:0 auto; }
@media (max-width:980px){ .is-dash .dash-hero--band.dash-hero--profile{ padding:100px 16px 84px; } }

.pf-tabs{
  display:inline-flex; flex-wrap:nowrap; gap:2px; padding:4px; margin:0 0 22px; max-width:100%;
  background:var(--sand-100); border-radius:999px; border:none; overflow-x:auto; scrollbar-width:none;
}
.pf-tabs::-webkit-scrollbar{ display:none; }
.pf-tabs button{
  white-space:nowrap; padding:.6em 1.25em; border:none; border-radius:999px; background:transparent;
  font-size:.86rem; font-weight:600; color:var(--stone-700); cursor:pointer; box-shadow:none;
  transition:background .18s ease, color .18s ease, box-shadow .18s ease;
}
.pf-tabs button:hover{ background:rgba(255,255,255,.65); color:var(--teal-900); }
.pf-tabs button.active{ background:#fff; color:var(--teal-950); box-shadow:0 2px 8px rgba(15,76,76,.16); border:none; }
.pf-tabs button.active::after{ display:none; }

.pf-grid{ display:grid; grid-template-columns:320px 1fr; gap:20px; align-items:start; }
.pf-side, .pf-card{
  border:none; border-radius:22px; background:#fff; box-shadow:0 6px 22px rgba(15,76,76,.10); padding:26px;
}
.pf-side{
  text-align:center; position:relative; overflow:hidden; padding-top:152px;
}
.pf-side::before{
  content:""; position:absolute; inset:0 0 auto 0; height:96px;
  background:linear-gradient(135deg, rgba(15,76,76,.85), rgba(13,92,99,.6)), url('../img/beach-bg.jpg') center 62%/cover no-repeat;
}
.pf-side > *{ position:relative; }
.pf-logo{
  position:absolute !important; left:50%; top:50px; transform:translateX(-50%); display:flex; align-items:center; justify-content:center;
  width:92px; height:92px; border-radius:50%; object-fit:cover; border:4px solid #fff; box-shadow:0 6px 18px rgba(15,76,76,.25);
}
.pf-logo--ph{ background:linear-gradient(135deg,#0D5C63,#0F4C4C); color:#fff; font-size:1.7rem; font-weight:700; }
.pf-side h3{ font-family:var(--font-display); color:#1C2B2D; margin:0 0 .25em; overflow-wrap:anywhere; }
.pf-side .btn-ghost-dark{ border-radius:999px; margin-top:6px; }
.pf-card .field input{ border-radius:14px; background:#FAF8F5; }
.pf-card .btn-gold{ background:#E8763C; border-color:#E8763C; color:#fff; border-radius:999px; padding-left:1.8em; padding-right:1.8em; }
.pf-card--sand{ background:linear-gradient(160deg,#FAF8F5 55%, rgba(232,220,200,.55)); }
.pf-reports{ display:flex; flex-direction:column; gap:20px; }
.pf-reports .kpi-row{ margin:0; }
.pf-reports .kpi{ border:none; border-radius:20px; box-shadow:0 6px 22px rgba(15,76,76,.10); }
@media (max-width:860px){ .pf-grid{ grid-template-columns:1fr; } }

/* ---- Profile → Hesabatlar: modern dashboard ---- */
.rp{ display:flex; flex-direction:column; gap:18px; }
.rp-hero{
  display:flex; align-items:center; justify-content:space-between; gap:28px; padding:30px 34px; border-radius:26px; color:#fff;
  background:radial-gradient(circle at 90% 10%, rgba(232,118,60,.35), transparent 45%), linear-gradient(135deg,#0F4C4C,#0D5C63 70%);
  box-shadow:0 14px 34px rgba(15,76,76,.25);
}
.rp-eyebrow{ font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; font-weight:700; color:#E8DCC8; }
.rp-hero h3{ font-family:var(--font-display); color:#fff; margin:.3em 0 .2em; font-size:clamp(1.3rem,2.4vw,1.8rem); }
.rp-hero p{ margin:0; color:rgba(255,255,255,.75); font-size:.92rem; }
.rp-money{ margin-top:22px; display:flex; flex-direction:column; gap:2px; }
.rp-money__label{ font-size:.74rem; text-transform:uppercase; letter-spacing:.08em; color:rgba(255,255,255,.65); font-weight:600; }
.rp-money b{ font-family:var(--font-display); font-size:clamp(1.5rem,3vw,2.1rem); line-height:1.15; color:#fff; overflow-wrap:anywhere; }
.rp-money b small{ font-family:inherit; font-size:.8rem; color:#E8DCC8; letter-spacing:.06em; }
.rp-donut{ position:relative; width:150px; height:150px; flex:none; }
.rp-donut svg{ width:100%; height:100%; }
.rp-donut circle{ fill:none; stroke-width:11; }
.rp-donut__track{ stroke:rgba(255,255,255,.16); }
.rp-donut__val{ stroke:#E8763C; stroke-linecap:round; transition:stroke-dashoffset .8s ease; }
.rp-donut__c{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.rp-donut__c b{ font-family:var(--font-display); font-size:1.8rem; line-height:1; }
.rp-donut__c span{ font-size:.68rem; color:rgba(255,255,255,.7); margin-top:4px; text-transform:uppercase; letter-spacing:.06em; }

.rp-tiles{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.rp-tile{
  display:flex; align-items:center; gap:14px; padding:18px; background:#fff; border-radius:20px;
  box-shadow:0 6px 22px rgba(15,76,76,.08); border:1px solid rgba(15,76,76,.05);
  transition:transform .18s ease, box-shadow .18s ease;
}
.rp-tile:hover{ transform:translateY(-3px); box-shadow:0 14px 30px rgba(15,76,76,.14); }
.rp-tile__ic{ flex:none; width:46px; height:46px; border-radius:15px; display:grid; place-items:center; background:var(--teal-50); color:#0D5C63; }
.rp-tile__ic svg{ width:22px; height:22px; }
.rp-tile span{ display:block; font-size:.76rem; color:var(--stone-500); font-weight:600; }
.rp-tile b{ display:block; font-family:var(--font-display); font-size:1.8rem; line-height:1.1; color:#1C2B2D; }
.rp-tile--ok .rp-tile__ic{ background:var(--ok-100); color:var(--ok-600); }
.rp-tile--bad .rp-tile__ic{ background:var(--gold-100); color:var(--gold-600); }
.rp-tile--mid .rp-tile__ic{ background:var(--sand-100); color:var(--stone-700); }

.rp-card{ background:#fff; border-radius:24px; padding:26px; box-shadow:0 6px 22px rgba(15,76,76,.08); border:1px solid rgba(15,76,76,.05); }
.rp-card__head{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:18px; }
.rp-card__head h4{ margin:0; font-family:var(--font-display); color:#1C2B2D; font-size:1.1rem; }
.rp-card__head span{ font-size:.82rem; color:var(--stone-500); font-weight:600; }
.rp-stack{ display:flex; gap:4px; height:16px; border-radius:999px; overflow:hidden; background:var(--sand-100); }
.rp-seg{ min-width:6px; border-radius:999px; background:var(--stone-500); }
.rp-legend{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 28px; margin-top:20px; }
.rp-leg{ display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px dashed rgba(15,76,76,.14); }
.rp-leg__name{ flex:1; min-width:0; font-size:.9rem; color:#1C2B2D; font-weight:600; }
.rp-leg b{ font-family:var(--font-display); font-size:1.1rem; color:#1C2B2D; }
.rp-leg em{ font-style:normal; font-size:.78rem; color:var(--stone-500); min-width:2.8em; text-align:right; }
.rp-dot{ flex:none; width:11px; height:11px; border-radius:50%; background:var(--stone-500); }
.rp-seg.unpaid,.rp-seg.failed,.rp-dot.unpaid,.rp-dot.failed{ background:var(--coral-600); }
.rp-seg.paid,.rp-dot.paid{ background:var(--ok-600); }
.rp-seg.partially_paid,.rp-seg.refund_pending,.rp-dot.partially_paid,.rp-dot.refund_pending{ background:var(--gold-500); }
.rp-seg.partially_refunded,.rp-dot.partially_refunded{ background:var(--teal-600); }
.rp-seg.refunded,.rp-dot.refunded{ background:#999; }
.rp-empty{ margin:0; color:var(--stone-500); }

@media (max-width:980px){ .rp-tiles{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px){
  .rp-hero{ flex-direction:column-reverse; align-items:flex-start; padding:24px 20px; gap:20px; border-radius:22px; }
  .rp-donut{ width:128px; height:128px; }
  .rp-tiles{ gap:10px; }
  .rp-tile{ padding:14px; gap:10px; flex-direction:column; align-items:flex-start; }
  .rp-legend{ grid-template-columns:1fr; }
  .rp-card{ padding:20px 16px; border-radius:20px; }
}

/* ---- Hesabatlar: extra polish ---- */
.rp-hero{ position:relative; overflow:hidden; }
.rp-hero::before,.rp-hero::after{ content:""; position:absolute; border-radius:50%; pointer-events:none; }
.rp-hero::before{ width:320px; height:320px; right:-90px; bottom:-170px; background:rgba(232,220,200,.10); }
.rp-hero::after{ width:180px; height:180px; left:36%; top:-100px; background:rgba(255,255,255,.06); }
.rp-hero > *{ position:relative; z-index:1; }
.rp-donut{ padding:10px; background:rgba(255,255,255,.08); border-radius:50%; backdrop-filter:blur(4px); box-shadow:inset 0 0 0 1px rgba(255,255,255,.14); width:170px; height:170px; }
.rp-donut__val{ filter:drop-shadow(0 0 6px rgba(232,118,60,.55)); }
.rp-tile{ position:relative; overflow:hidden; }
.rp-tile::after{ content:""; position:absolute; right:-22px; top:-22px; width:80px; height:80px; border-radius:50%; background:var(--teal-50); opacity:.8; }
.rp-tile--ok::after{ background:var(--ok-100); } .rp-tile--bad::after{ background:var(--gold-100); } .rp-tile--mid::after{ background:var(--sand-100); }
.rp-tile > *{ position:relative; z-index:1; }
.rp-bars{ display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:clamp(8px,2vw,22px); align-items:end; height:210px; }
.rp-bar{ display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:6px; height:100%; }
.rp-bar em{ font-style:normal; font-family:var(--font-display); font-weight:700; color:#1C2B2D; font-size:.95rem; }
.rp-bar__col{ flex:1; width:100%; max-width:64px; display:flex; align-items:flex-end; background:linear-gradient(180deg,rgba(232,220,200,.35),rgba(232,220,200,.15)); border-radius:14px; overflow:hidden; }
.rp-bar__col span{ display:block; width:100%; border-radius:14px; background:linear-gradient(180deg,#2c93a0,#0D5C63); transform-origin:bottom; animation:rpGrow .7s cubic-bezier(.2,.8,.2,1) both; }
.rp-bar.is-now .rp-bar__col span{ background:linear-gradient(180deg,#F08A52,#E8763C); }
.rp-bar small{ font-size:.76rem; color:var(--stone-500); font-weight:600; text-transform:capitalize; }
@keyframes rpGrow{ from{ transform:scaleY(0); } to{ transform:scaleY(1); } }
.rp-stack{ height:18px; }
.rp-leg{ transition:background .15s; border-radius:10px; padding:10px 8px; }
.rp-leg:hover{ background:var(--sand-50); }
@media (max-width:640px){ .rp-donut{ width:140px; height:140px; } .rp-bars{ height:170px; } }
@media (prefers-reduced-motion:reduce){ .rp-bar__col span{ animation:none; } }

/* ===== Reports page (rpt) ===== */
.rpt{ display:flex; flex-direction:column; gap:20px; }
.rpt-label{ display:block; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; font-weight:700; color:var(--stone-500); }
.rpt-strip{ display:grid; grid-template-columns:minmax(0,2.2fr) repeat(4,minmax(0,1fr)); background:#fff; border-radius:24px; box-shadow:0 6px 22px rgba(15,76,76,.08); border:1px solid rgba(15,76,76,.06); overflow:hidden; }
.rpt-strip__main{ padding:26px 28px; background:linear-gradient(135deg,#0F4C4C,#0D5C63); color:#fff; }
.rpt-strip__main .rpt-label{ color:#E8DCC8; }
.rpt-strip__main p{ margin:8px 0 0; font-size:.82rem; color:rgba(255,255,255,.7); }
.rpt-money{ margin-top:6px; }
.rpt-money b{ display:block; font-family:var(--font-display); font-size:clamp(1.6rem,3vw,2.2rem); line-height:1.15; overflow-wrap:anywhere; }
.rpt-money small{ font-family:inherit; font-size:.8rem; color:#E8DCC8; letter-spacing:.06em; }
.rpt-strip__stat{ padding:26px 20px; border-left:1px solid rgba(15,76,76,.08); display:flex; flex-direction:column; justify-content:center; gap:6px; }
.rpt-strip__stat b{ font-family:var(--font-display); font-size:2rem; line-height:1; color:#1C2B2D; }
.rpt-strip__stat.rpt-ok b{ color:var(--ok-600); }
.rpt-strip__stat.rpt-bad b{ color:var(--coral-600); }
.rpt-strip__stat.rpt-mid b{ color:var(--stone-700); }
.rpt-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.rpt-card{ background:#fff; border-radius:24px; padding:24px; box-shadow:0 6px 22px rgba(15,76,76,.08); border:1px solid rgba(15,76,76,.06); }
.rpt-card--wide{ grid-column:span 2; }
.rpt-grid > .rpt-card:nth-child(n+3){ grid-column:span 1; }
.rpt-card header{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:16px; }
.rpt-card h4{ margin:0; font-family:var(--font-display); font-size:1.05rem; color:#1C2B2D; }
.rpt-card header span{ font-size:.8rem; color:var(--stone-500); font-weight:600; }
.rpt-chart{ width:100%; height:200px; display:block; }
.rpt-grid-line{ stroke:rgba(15,76,76,.12); stroke-dasharray:4 5; }
.rpt-line{ fill:none; stroke:#0D5C63; stroke-width:3; stroke-linejoin:round; stroke-linecap:round; vector-effect:non-scaling-stroke; }
.rpt-dot{ fill:#fff; stroke:#0D5C63; stroke-width:3; }
.rpt-dot.is-now{ fill:#E8763C; stroke:#fff; }
.rpt-months{ display:grid; grid-template-columns:repeat(6,1fr); text-align:center; margin-top:6px; }
.rpt-months b{ display:block; font-family:var(--font-display); color:#1C2B2D; }
.rpt-months small{ font-size:.76rem; color:var(--stone-500); font-weight:600; text-transform:capitalize; }
.rpt-months .is-now b{ color:#E8763C; }
.rpt-ring-card{ display:flex; flex-direction:column; }
.rpt-ring{ --p:0; flex:1; min-height:170px; margin:auto; width:170px; aspect-ratio:1; border-radius:50%; display:grid; place-items:center;
  background:conic-gradient(#E8763C calc(var(--p) * 1%), #E8DCC8 0); }
.rpt-ring > div{ width:78%; aspect-ratio:1; border-radius:50%; background:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.rpt-ring b{ font-family:var(--font-display); font-size:2rem; line-height:1; color:#1C2B2D; }
.rpt-ring span{ font-size:.78rem; color:var(--stone-500); margin-top:4px; }
.rpt-row{ margin-bottom:16px; }
.rpt-row:last-child{ margin-bottom:0; }
.rpt-row__top{ display:flex; justify-content:space-between; gap:10px; font-size:.9rem; font-weight:600; color:#1C2B2D; margin-bottom:6px; }
.rpt-row__top b{ font-family:var(--font-display); }
.rpt-row__top em{ font-style:normal; font-family:var(--font-body); font-size:.76rem; color:var(--stone-500); margin-left:4px; }
.rpt-meter{ height:10px; border-radius:999px; background:#F1EADD; overflow:hidden; }
.rpt-meter i{ display:block; height:100%; border-radius:999px; background:var(--stone-500); min-width:4px; }
.rpt-meter i.rpt-ok{ background:var(--ok-600); } .rpt-meter i.rpt-bad{ background:var(--coral-600); } .rpt-meter i.rpt-mid{ background:var(--gold-500); }
.rpt-pay--unpaid,.rpt-pay--failed{ background:var(--coral-600) !important; }
.rpt-pay--paid{ background:var(--ok-600) !important; }
.rpt-pay--partially_paid,.rpt-pay--refund_pending{ background:var(--gold-500) !important; }
.rpt-pay--partially_refunded{ background:var(--teal-600) !important; }
.rpt-empty{ margin:0; color:var(--stone-500); }
@media (max-width:980px){
  .rpt-strip{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rpt-strip__main{ grid-column:1 / -1; }
  .rpt-strip__stat{ border-left:0; border-top:1px solid rgba(15,76,76,.08); }
  .rpt-grid{ grid-template-columns:1fr; }
  .rpt-card--wide,.rpt-grid > .rpt-card:nth-child(n+3){ grid-column:auto; }
}

/* ===== Reports dashboard (rpd) — no photo, dashboard look ===== */
.is-reports{ background:#F3EEE4; }
.rpd{ max-width:1180px; margin:0 auto; padding:110px 20px 48px; display:flex; flex-direction:column; gap:18px; }
.rpd-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.rpd-head h1{ margin:4px 0 0; font-family:var(--font-display); color:#1C2B2D; font-size:clamp(1.6rem,3vw,2.2rem); }
.rpd .breadcrumb{ color:var(--stone-500); } .rpd .breadcrumb a{ color:#0D5C63; }
.rpd-chip{ background:#fff; border:1px solid rgba(15,76,76,.12); color:#0D5C63; font-size:.78rem; font-weight:600; padding:6px 14px; border-radius:999px; }
.rpd-kpis{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.rpd-kpi{ background:#fff; border-radius:20px; padding:20px 22px; border:1px solid rgba(15,76,76,.07); box-shadow:0 4px 16px rgba(15,76,76,.06); border-top:4px solid #0D5C63; display:flex; flex-direction:column; gap:4px; }
.rpd-kpi--ok{ border-top-color:#2F8F5B; } .rpd-kpi--bad{ border-top-color:#D9534F; }
.rpd-kpi--brand{ border-top-color:#E8763C; background:linear-gradient(135deg,#0F4C4C,#0D5C63); color:#fff; }
.rpd-kpi__label{ font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; font-weight:700; color:var(--stone-500); }
.rpd-kpi--brand .rpd-kpi__label{ color:#E8DCC8; }
.rpd-kpi b{ font-family:var(--font-display); font-size:2.2rem; line-height:1.1; color:#1C2B2D; overflow-wrap:anywhere; }
.rpd-kpi--ok b{ color:#2F8F5B; } .rpd-kpi--bad b{ color:#D9534F; }
.rpd-kpi--brand b{ color:#fff; font-size:1.5rem; }
.rpd-kpi--brand b em{ font-style:normal; font-family:var(--font-body); font-size:.78rem; color:#E8DCC8; }
.rpd-kpi small{ font-size:.8rem; color:var(--stone-500); }
.rpd-kpi--brand small{ color:rgba(255,255,255,.72); }
.rpd-row{ display:grid; gap:16px; }
.rpd-row--2-1{ grid-template-columns:minmax(0,2fr) minmax(0,1fr); }
.rpd-row--1-1{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.rpd-card{ background:#fff; border-radius:20px; padding:22px; border:1px solid rgba(15,76,76,.07); box-shadow:0 4px 16px rgba(15,76,76,.06); }
.rpd-card header{ display:flex; justify-content:space-between; align-items:baseline; gap:10px; margin-bottom:18px; }
.rpd-card h4{ margin:0; font-family:var(--font-display); font-size:1.02rem; color:#1C2B2D; }
.rpd-card header span{ font-size:.78rem; color:var(--stone-500); font-weight:600; }
.rpd-bars{ position:relative; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; height:230px; align-items:stretch; }
.rpd-bars__grid{ position:absolute; inset:22px 0 24px; display:flex; flex-direction:column; justify-content:space-between; pointer-events:none; }
.rpd-bars__grid i{ border-top:1px dashed rgba(15,76,76,.12); }
.rpd-bar{ position:relative; display:flex; flex-direction:column; align-items:center; gap:4px; }
.rpd-bar em{ font-style:normal; font-weight:700; font-size:.85rem; color:#1C2B2D; }
.rpd-bar__col{ flex:1; width:100%; max-width:46px; display:flex; align-items:flex-end; }
.rpd-bar__col span{ display:block; width:100%; border-radius:8px 8px 3px 3px; background:#0D5C63; animation:rpdGrow .6s ease both; transform-origin:bottom; }
.rpd-bar.is-now .rpd-bar__col span{ background:#E8763C; }
.rpd-bar small{ font-size:.75rem; color:var(--stone-500); font-weight:600; text-transform:capitalize; }
@keyframes rpdGrow{ from{ transform:scaleY(0); } to{ transform:scaleY(1); } }
.rpd-donut-wrap{ display:flex; flex-direction:column; align-items:center; gap:18px; }
.rpd-donut{ width:160px; aspect-ratio:1; border-radius:50%; display:grid; place-items:center; }
.rpd-donut > div{ width:68%; aspect-ratio:1; border-radius:50%; background:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.rpd-donut b{ font-family:var(--font-display); font-size:1.8rem; line-height:1; color:#1C2B2D; }
.rpd-donut small{ font-size:.7rem; color:var(--stone-500); text-transform:uppercase; letter-spacing:.06em; }
.rpd-legend,.rpd-list{ list-style:none; margin:0; padding:0; width:100%; }
.rpd-legend li,.rpd-list li{ display:flex; align-items:center; gap:10px; padding:8px 0; border-bottom:1px dashed rgba(15,76,76,.12); font-size:.88rem; color:#1C2B2D; }
.rpd-legend li:last-child,.rpd-list li:last-child{ border-bottom:0; }
.rpd-legend i,.rpd-list i{ width:10px; height:10px; border-radius:50%; flex:none; }
.rpd-legend span,.rpd-list span{ flex:1; font-weight:600; }
.rpd-list em{ font-style:normal; font-size:.76rem; color:var(--stone-500); min-width:2.6em; text-align:right; }
.rpd-stack{ display:flex; gap:3px; height:18px; border-radius:999px; overflow:hidden; margin-bottom:12px; }
.rpd-hbar{ margin-bottom:14px; } .rpd-hbar:last-child{ margin-bottom:0; }
.rpd-hbar > div:first-child{ display:flex; justify-content:space-between; gap:10px; font-size:.88rem; font-weight:600; color:#1C2B2D; margin-bottom:6px; }
.rpd-hbar em{ font-style:normal; font-size:.75rem; color:var(--stone-500); margin-left:4px; font-weight:500; }
.rpd-hbar__track{ height:9px; border-radius:999px; background:#F1EADD; overflow:hidden; }
.rpd-hbar__track i{ display:block; height:100%; border-radius:999px; min-width:4px; }
.rpd-top{ display:flex; align-items:center; gap:14px; padding:10px 0; border-bottom:1px dashed rgba(15,76,76,.12); }
.rpd-top:last-child{ border-bottom:0; }
.rpd-top__rank{ flex:none; width:30px; height:30px; border-radius:10px; display:grid; place-items:center; background:#E8DCC8; color:#0F4C4C; font-weight:700; font-size:.85rem; }
.rpd-top__body{ flex:1; min-width:0; }
.rpd-top__body > div:first-child{ display:flex; justify-content:space-between; gap:10px; margin-bottom:6px; font-size:.88rem; flex-wrap:wrap; }
.rpd-top__body span{ color:var(--stone-500); font-size:.8rem; }
.rpd-empty{ margin:0; color:var(--stone-500); }
@media (max-width:980px){ .rpd-kpis{ grid-template-columns:repeat(2,minmax(0,1fr)); } .rpd-row--2-1,.rpd-row--1-1{ grid-template-columns:1fr; } }
@media (max-width:520px){ .rpd{ padding-top:96px; } .rpd-kpis{ grid-template-columns:1fr; } .rpd-bars{ gap:8px; } }
@media (prefers-reduced-motion:reduce){ .rpd-bar__col span{ animation:none; } }

/* Reports: same header band as Bookings */
.is-dash .dash-hero--band.dash-hero--reports{
  min-height:0; padding:112px 24px 96px;
  background:
    linear-gradient(180deg, rgba(8,44,50,.4) 0%, rgba(8,44,50,0) 34%, rgba(8,44,50,0) 62%, rgba(8,44,50,.35) 100%),
    url('../img/beach-bg.jpg') center 62%/cover no-repeat;
}
.is-dash .dash-hero--reports .page-head{ max-width:1180px; margin:0 auto; }
.is-reports .rpd{ padding-top:0; margin-top:-56px; }
@media (max-width:980px){ .is-dash .dash-hero--band.dash-hero--reports{ padding:100px 16px 84px; } }

/* ---- scenery behind the header on CRM pages without a hero band (short strip, fades into the page) ---- */
.page-sky{
  position:absolute; top:0; left:0; right:0; height:260px; z-index:0; pointer-events:none;
  background:
    linear-gradient(180deg, rgba(8,44,50,.5) 0%, rgba(8,44,50,.16) 55%, rgba(8,44,50,0) 100%),
    url('../img/beach-bg.jpg') center 62%/cover no-repeat;
  /* fade the strip itself out (no solid end colour), so no visible edge is left on the page */
  -webkit-mask-image:linear-gradient(180deg, #000 0%, #000 35%, rgba(0,0,0,.45) 70%, transparent 100%);
  mask-image:linear-gradient(180deg, #000 0%, #000 35%, rgba(0,0,0,.45) 70%, transparent 100%);
}
body:has(.dash-hero) .page-sky{ display:none; }
.is-dash .app-main{ position:relative; }
.is-dash .app-main > .container{ position:relative; z-index:1; }

/* recent search card: the whole card opens the search, the ✕ stays clickable above it */
.recent-card{ cursor:pointer; }
.recent-card__link{ display:block; color:inherit; text-decoration:none; }
.recent-card__link::after{ content:""; position:absolute; inset:0; border-radius:inherit; }
.recent-card__x{ z-index:2; }
.recent-card:hover{ transform:translateY(-2px); }
