/* ═══════════════════════════════════════════════════════════════
   Embassy of the Republic of Cyprus — Consular Appointments (demo)
   Palette: gov.cy design system — deep navy #0E2F41, link blue
   #1D70B8, light blue-grey tints. Copper reserved for the emblem.
   Variable names kept from v1 (copper→accent blue, olive→navy).
   ═══════════════════════════════════════════════════════════════ */
:root {
  --copper: #1d70b8;          /* interactive accent (gov.cy link blue) */
  --copper-deep: #0e2f41;     /* primary deep navy (gov.cy header) */
  --copper-soft: #e1ecf5;     /* light blue tint */
  --olive: #14425c;           /* mid navy */
  --olive-deep: #0e2f41;      /* deep navy — bars & footer */
  --ivory: #f6f8fa;           /* near-white blue-grey page bg */
  --paper: #ffffff;
  --ink: #272525;             /* gov.cy body text */
  --ink-soft: #474545;        /* gov.cy secondary text */
  --line: #dae1e3;            /* gov.cy border grey */
  --focus: #ffad2b;           /* gov.cy focus yellow */
  --ok: #2e7d4f;
  --err: #b3372e;
  --emblem: #c57f17;          /* Cyprus copper — national emblem only */
  --shadow-lg: 0 24px 60px -20px rgba(14, 47, 65, .22);
  --shadow-sm: 0 6px 18px -8px rgba(14, 47, 65, .16);
  --radius: 14px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

/* per-language typography */
html[lang="ar"] {
  --font-serif: 'Amiri', 'Cormorant Garamond', serif;
  --font-sans: 'Cairo', 'Inter', system-ui, sans-serif;
}
html[lang="el"] {
  --font-serif: 'Noto Serif', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  font-size: 16px;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.ic { width: 18px; height: 18px; fill: currentColor; flex: none; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 34px; height: 1px; background: var(--copper); margin-right: 12px;
}

/* ── Government bar ─────────────────────────────── */
.gov-bar {
  background: var(--olive-deep);
  color: #dbe5ec;
  font-size: 12.5px; letter-spacing: .04em;
}
.gov-bar-inner { display: flex; justify-content: space-between; align-items: center; padding: 7px 24px; }
.gov-bar-right { display: flex; align-items: center; gap: 18px; }
.gov-phone { display: flex; align-items: center; gap: 6px; }
.gov-bar .ic { width: 13px; height: 13px; opacity: .8; }

/* language switcher */
.lang-switch { display: flex; align-items: center; gap: 4px; }
.lang-btn {
  background: transparent; border: 1px solid rgba(255,255,255,.35);
  color: #dbe5ec; border-radius: 6px;
  font-family: var(--font-sans); font-size: 11.5px; font-weight: 600;
  padding: 3px 10px; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.lang-btn:hover { border-color: #fff; color: #fff; }
.lang-btn.active { background: #fff; color: var(--copper-deep); border-color: #fff; }

/* ── Header — navy like gov.cy / MFA, white official logo ── */
.site-header {
  background: var(--copper-deep);
  border-bottom: none;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 10px rgba(14, 47, 65, .25);
}
.gov-bar { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.logo-img { height: 54px; width: auto; flex: none; }
.emblem { width: 52px; height: 52px; color: var(--emblem); flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-family: var(--font-serif); font-size: 19px; font-weight: 700; letter-spacing: .01em; color: #fff; }
.brand-text em { font-style: normal; font-size: 11.5px; color: #b9cdd9; letter-spacing: .14em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) {
  text-decoration: none; color: #cfdce5;
  font-size: 14px; font-weight: 500;
  transition: color .18s;
}
.site-nav a:not(.btn):hover { color: #fff; }
.site-nav .btn-primary {
  background: #fff; color: var(--copper-deep); box-shadow: none;
}
.site-nav .btn-primary:hover { background: var(--copper-soft); transform: none; }
.site-header .btn-ghost { border-color: rgba(255,255,255,.4); color: #eef4f8; }
.site-header .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  border: none; border-radius: 10px; cursor: pointer;
  padding: 13px 26px; text-decoration: none;
  transition: transform .16s, box-shadow .16s, background .16s;
}
.btn-primary {
  background: linear-gradient(140deg, #14425c 0%, var(--copper-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(14, 47, 65, .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(14, 47, 65, .6); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--copper); color: var(--copper-deep); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-lg { width: 100%; padding: 16px; font-size: 16px; margin-top: 22px; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ── Hero ───────────────────────────────────────── */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(29, 112, 184, .08), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(14, 47, 65, .07), transparent 60%),
    var(--ivory);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid; grid-template-columns: 1.35fr .85fr; gap: 56px;
  padding-top: 84px; padding-bottom: 92px; align-items: center;
}
.hero h1 { font-size: clamp(40px, 5.2vw, 58px); margin-bottom: 22px; }
.hero .accent { color: var(--copper-deep); font-style: italic; font-weight: 700; }
.lede { font-size: 17px; color: var(--ink-soft); max-width: 54ch; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-points { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.hero-points .ic { color: var(--olive); }

.hero-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--copper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}
.hero-card-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-serif); font-size: 20px; font-weight: 700;
  padding-bottom: 16px; margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.flag-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 4px var(--copper-soft); }
.hero-facts div {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 11px 0; border-bottom: 1px dashed var(--line);
}
.hero-facts dt { color: var(--ink-soft); font-size: 13.5px; }
.hero-facts dd { font-weight: 600; font-size: 14.5px; }
.hero-card-note {
  margin-top: 16px; padding: 12px 14px;
  background: var(--copper-soft); border-radius: 9px;
  font-size: 13px; color: var(--copper-deep); line-height: 1.55;
}

/* ── Sections ───────────────────────────────────── */
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 40px); }
.section-sub { color: var(--ink-soft); margin-top: 10px; font-size: 15px; }

/* ── Services ───────────────────────────────────── */
.services { padding: 84px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.service-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px;
}
.service-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--copper); }
.svc-ic {
  width: 40px; height: 40px; padding: 9px; margin-bottom: 16px;
  fill: var(--copper-deep); background: var(--copper-soft); border-radius: 11px;
}
.service-card h3 { font-size: 20px; margin-bottom: 8px; }
.service-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }

/* ── Booking ────────────────────────────────────── */
.booking { padding: 84px 0 100px; }
.booking-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.booking-grid { display: grid; grid-template-columns: 1.15fr .85fr; }
.fs { border: none; padding: 38px 36px; min-width: 0; } /* min-width:0 overrides the fieldset UA default min-inline-size:min-content, which otherwise blocks shrinking and causes page overflow */
.fs + .fs { border-left: 1px solid var(--line); background: linear-gradient(180deg, #fdfaf4, var(--paper)); }
.fs legend {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-serif); font-size: 24px; font-weight: 700;
  margin-bottom: 20px; float: left; width: 100%;
}
.step-n {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--olive); color: #fff;
  font-family: var(--font-sans); font-size: 15px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.fs-hint { clear: both; font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; }

.field-grid { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.span-2 { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink); }
.req { color: var(--err); }
.field input, .field select {
  font-family: var(--font-sans); font-size: 14.5px; color: var(--ink);
  background: var(--ivory);
  border: 1.5px solid var(--line); border-radius: 9px;
  padding: 11px 13px; outline: none;
  transition: border-color .16s, box-shadow .16s, background .16s;
}
.field input:focus, .field select:focus {
  border-color: var(--copper); background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 173, 43, .55); /* gov.cy focus yellow */
}
.field input[type="email"], .field input[type="tel"] { direction: ltr; text-align: start; }
.field.invalid input, .field.invalid select { border-color: var(--err); background: #fdf4f3; }
.err { display: none; font-size: 12px; color: var(--err); font-weight: 500; }
.err.show { display: block; }

/* date strip + time grid */
.date-strip {
  clear: both;
  display: flex; gap: 9px; overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
  max-width: 100%;
}
.date-chip {
  flex: none; text-align: center;
  border: 1.5px solid var(--line); border-radius: 11px;
  background: var(--paper); cursor: pointer;
  padding: 9px 14px; min-width: 76px;
  font-family: var(--font-sans);
  transition: border-color .15s, background .15s, transform .15s;
}
.date-chip:hover { border-color: var(--copper); transform: translateY(-2px); }
.date-chip .d-dow { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.date-chip .d-num { display: block; font-family: var(--font-serif); font-size: 22px; font-weight: 700; line-height: 1.1; }
.date-chip .d-mon { display: block; font-size: 11px; color: var(--ink-soft); }
.date-chip .d-free { display: block; font-size: 10px; margin-top: 3px; color: var(--ok); font-weight: 600; }
.date-chip.full { opacity: .45; cursor: not-allowed; }
.date-chip.full .d-free { color: var(--err); }
.date-chip.active {
  border-color: var(--copper); background: var(--copper-soft);
  box-shadow: 0 6px 14px -8px rgba(14, 47, 65, .5);
}
.time-grid-label { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin: 10px 0 10px; }
.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.time-slot {
  border: 1.5px solid var(--line); border-radius: 8px;
  background: var(--paper); cursor: pointer;
  padding: 9px 0; text-align: center;
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; color: var(--ink);
  transition: all .14s;
}
.time-slot:hover { border-color: var(--copper); color: var(--copper-deep); }
.time-slot.active { background: var(--olive); border-color: var(--olive); color: #fff; }

.summary {
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 13px 16px;
  background: #e7eff5; border: 1px solid #c7d8e4; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--olive-deep);
}
.summary .ic { color: var(--olive); }
.privacy-note {
  display: flex; gap: 8px; align-items: flex-start;
  margin-top: 16px; font-size: 12px; color: var(--ink-soft); line-height: 1.5;
}
.privacy-note .ic { width: 15px; height: 15px; margin-top: 2px; color: var(--olive); }

/* ── Visa information accordion ─────────────────── */
.visa-info { padding: 84px 0; background: var(--paper); border-top: 1px solid var(--line); }
.accordion { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.acc-item {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.acc-item[open] { border-color: var(--copper); box-shadow: var(--shadow-sm); }
.acc-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 22px;
  font-family: var(--font-serif); font-size: 19px; font-weight: 700; color: var(--ink);
  transition: color .15s;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after {
  content: "+";
  font-family: var(--font-sans); font-size: 22px; font-weight: 400;
  color: var(--copper); line-height: 1; flex: none;
  transition: transform .2s;
}
.acc-item[open] summary { color: var(--copper-deep); }
.acc-item[open] summary::after { content: "−"; }
.acc-item summary:hover { color: var(--copper-deep); }
.acc-body { padding: 2px 22px 20px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }
.acc-body p { margin-bottom: 12px; }
.acc-body p:last-child { margin-bottom: 0; }
.acc-body b { color: var(--ink); }
.acc-body ul { margin: 0 0 12px 20px; display: flex; flex-direction: column; gap: 7px; }
.acc-highlight {
  background: var(--copper-soft); border-left: 3px solid var(--copper);
  border-radius: 0 8px 8px 0;
  padding: 10px 14px; font-weight: 600; color: var(--copper-deep) !important;
}
.acc-link { color: var(--copper-deep); font-weight: 600; }
.fee-table-wrap { overflow-x: auto; margin-bottom: 12px; }
.fee-table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--paper); border-radius: 10px; overflow: hidden; }
.fee-table th {
  text-align: left; background: var(--olive-deep); color: #eef0e4;
  padding: 10px 14px; font-size: 12px; letter-spacing: .07em; text-transform: uppercase;
}
.fee-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink); }
.fee-table td:last-child { font-weight: 700; color: var(--copper-deep); white-space: nowrap; }

/* ── Footer ─────────────────────────────────────── */
.site-footer { background: #0e2f41; color: #cfdce5; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-top: 56px; padding-bottom: 40px;
}
.footer-brand { color: #eef4f8; margin-bottom: 16px; }
.footer-brand .emblem { color: #d9a05b; }
.footer-note { font-size: 12.5px; color: #8ba3b3; max-width: 40ch; line-height: 1.6; }
.site-footer h4 {
  font-family: var(--font-serif); font-size: 17px; color: #eef4f8;
  margin-bottom: 12px; letter-spacing: .02em;
}
.site-footer p { font-size: 13.5px; line-height: 1.7; margin-bottom: 10px; }
.footer-link { color: #9fc3dd; text-decoration: none; border-bottom: 1px dotted #9fc3dd; }
.footer-base { border-top: 1px solid #1d445c; padding: 16px 0; font-size: 12px; color: #8ba3b3; }

/* ── Modal ──────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(25, 22, 15, .55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal {
  background: var(--paper); border-radius: 18px;
  max-width: 470px; width: 100%;
  padding: 38px 36px 32px; text-align: center;
  box-shadow: var(--shadow-lg);
  animation: pop .3s cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes pop { from { transform: scale(.92); opacity: 0; } }
.modal-seal {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%; background: #e8f2ec;
  display: flex; align-items: center; justify-content: center;
}
.modal-seal svg { width: 34px; height: 34px; fill: var(--ok); }
.modal h3 { font-size: 28px; margin-bottom: 6px; }
.modal-sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 20px; }
.ref-box {
  background: var(--copper-soft); border: 1px dashed var(--copper);
  border-radius: 11px; padding: 14px; margin-bottom: 20px;
}
.ref-box span { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--copper-deep); font-weight: 600; }
.ref-box strong { font-family: var(--font-serif); font-size: 30px; letter-spacing: .04em; color: var(--copper-deep); }
.modal-details { text-align: left; margin-bottom: 18px; }
.modal-details div { display: flex; justify-content: space-between; padding: 8px 2px; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.modal-details dt { color: var(--ink-soft); }
.modal-details dd { font-weight: 600; }
.modal-note { font-size: 12px; color: var(--ink-soft); margin-bottom: 20px; }

/* ── Chat widget ────────────────────────────────── */
.chat-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  border: none; cursor: pointer;
  background: linear-gradient(140deg, var(--copper), var(--copper-deep));
  box-shadow: 0 14px 32px -8px rgba(14, 47, 65, .6);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.chat-fab:hover { transform: scale(1.08); }
.chat-fab svg { width: 27px; height: 27px; fill: #fff; }
.chat-fab-pulse {
  position: absolute; top: 2px; right: 2px;
  width: 13px; height: 13px; border-radius: 50%;
  background: #4caf50; border: 2.5px solid #fff;
}
.chat-panel {
  position: fixed; right: 26px; bottom: 100px; z-index: 95;
  width: 390px; max-width: calc(100vw - 40px);
  height: 560px; max-height: calc(100vh - 140px);
  background: var(--paper); border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -20px rgba(30, 25, 15, .45);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: chat-in .28s cubic-bezier(.2, 1.2, .4, 1);
}
@keyframes chat-in { from { transform: translateY(16px) scale(.97); opacity: 0; } }
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(140deg, var(--olive-deep), var(--olive));
  color: #f2f4ea;
}
.chat-emblem { width: auto; height: 38px; flex: none; }
.chat-head-text { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.chat-head-text strong { font-family: var(--font-serif); font-size: 17px; }
.chat-head-text span { font-size: 11.5px; opacity: .85; display: flex; align-items: center; gap: 6px; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: #7ed491; display: inline-block; }
.chat-close { background: none; border: none; cursor: pointer; padding: 6px; border-radius: 8px; }
.chat-close:hover { background: rgba(255,255,255,.12); }
.chat-close svg { width: 18px; height: 18px; fill: #f2f4ea; }

.chat-body {
  flex: 1; overflow-y: auto;
  padding: 18px 16px 8px;
  display: flex; flex-direction: column; gap: 10px;
  background:
    radial-gradient(500px 200px at 100% 0%, rgba(185,106,27,.05), transparent),
    var(--ivory);
  scrollbar-width: thin;
}
.msg {
  max-width: 82%; padding: 10px 14px;
  font-size: 13.8px; line-height: 1.55;
  border-radius: 14px;
  white-space: pre-line;
  animation: msg-in .25s ease;
}
@keyframes msg-in { from { transform: translateY(8px); opacity: 0; } }
.msg.bot { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.user { align-self: flex-end; background: var(--olive); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot b { color: var(--copper-deep); }
.msg .msg-ref {
  display: block; margin-top: 8px; padding: 8px 10px;
  background: var(--copper-soft); border-radius: 8px;
  font-family: var(--font-serif); font-size: 19px; font-weight: 700;
  color: var(--copper-deep); text-align: center; letter-spacing: .03em;
}
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; border-bottom-left-radius: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--copper); opacity: .4; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.chat-quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 14px; background: var(--ivory); border-top: 1px solid var(--line); }
.chat-quick:empty { display: none; }
.quick-chip {
  border: 1.2px solid var(--copper); border-radius: 999px;
  background: var(--paper); color: var(--copper-deep);
  font-size: 12.2px; font-weight: 600; font-family: var(--font-sans);
  padding: 6px 13px; cursor: pointer;
  transition: background .15s, color .15s;
}
.quick-chip:hover { background: var(--copper); color: #fff; }

.chat-input {
  display: flex; gap: 8px; padding: 12px 14px;
  background: var(--paper); border-top: 1px solid var(--line);
}
.chat-input input {
  flex: 1; font-family: var(--font-sans); font-size: 14px;
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 10px 16px; outline: none; background: var(--ivory);
  transition: border-color .15s;
}
.chat-input input:focus { border-color: var(--copper); background: #fff; }
.chat-input button {
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(140deg, var(--copper), var(--copper-deep));
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s;
}
.chat-input button:hover { transform: scale(1.08); }
.chat-input button svg { width: 18px; height: 18px; fill: #fff; }

/* ── Admin ──────────────────────────────────────── */
.admin-login {
  max-width: 380px; margin: 60px auto;
  background: var(--paper); border: 1px solid var(--line);
  border-top: 3px solid var(--copper);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 34px 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.admin-login h2 { font-size: 26px; }
.admin-login-sub { font-size: 13.5px; color: var(--ink-soft); margin-top: -8px; }
.admin-login .btn-lg { margin-top: 4px; }
.admin-wrap { padding: 48px 0 80px; }
.admin-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.admin-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.admin-filters {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.search-box {
  flex: 1; min-width: 260px; position: relative;
}
.search-box svg {
  position: absolute; inset-inline-start: 13px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; fill: var(--ink-soft); opacity: .6; pointer-events: none;
}
.search-box input {
  width: 100%;
  font-family: var(--font-sans); font-size: 14px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 11px 14px; padding-inline-start: 40px;
  outline: none; transition: border-color .16s, box-shadow .16s;
}
.search-box input:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(255, 173, 43, .45);
}
.admin-filters select {
  font-family: var(--font-sans); font-size: 14px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 11px 13px; outline: none; cursor: pointer;
}
.admin-filters select:focus { border-color: var(--copper); }
.tag.st-pending { background: #fdf3e2; color: #9a6b12; }
.tag.st-approved { background: #e2f2e8; color: #2e7d4f; }
.tag.st-rejected { background: #fbe6e4; color: #b3372e; }
.mini-btn {
  border: none; border-radius: 7px; cursor: pointer;
  font-family: var(--font-sans); font-size: 11.5px; font-weight: 700;
  padding: 5px 12px; margin: 0 2px;
  transition: filter .15s;
}
.mini-btn:hover { filter: brightness(.92); }
.mini-btn[disabled] { opacity: .5; cursor: wait; }
.mini-btn.ok { background: #2e7d4f; color: #fff; }
.mini-btn.no { background: #b3372e; color: #fff; }
.decide-cell { white-space: nowrap; }
.admin-note { margin-top: 16px; font-size: 12.5px; color: var(--ink-soft); max-width: 80ch; }
.pw-form {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  background: var(--paper); border: 1px solid var(--line);
  border-inline-start: 3px solid var(--copper);
  border-radius: 12px; padding: 18px; margin-bottom: 18px;
}
.pw-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
@media (max-width: 720px) { .pw-form { grid-template-columns: 1fr; } }
.admin-head h2 { font-size: 32px; }
.admin-count { font-size: 13.5px; color: var(--ink-soft); }
.table-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 900px; }
.admin-table th {
  text-align: left; padding: 13px 14px;
  background: var(--olive-deep); color: #eef0e4;
  font-weight: 600; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
}
.admin-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table tr:hover td { background: #fdf8ef; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.tag.form { background: var(--copper-soft); color: var(--copper-deep); }
.tag.chat { background: #e3ebf5; color: #2b5588; }
.tag.seed { background: #eee; color: #666; }
.ref-cell { font-weight: 700; color: var(--copper-deep); }

/* ── RTL (Arabic) ───────────────────────────────── */
[dir="rtl"] .eyebrow::before { margin-right: 0; margin-left: 12px; }
[dir="rtl"] .fs + .fs { border-left: none; border-right: 1px solid var(--line); }
[dir="rtl"] .acc-highlight {
  border-left: none; border-right: 3px solid var(--copper);
  border-radius: 8px 0 0 8px;
}
[dir="rtl"] .fee-table th { text-align: right; }
[dir="rtl"] .acc-body ul { margin: 0 20px 12px 0; }
[dir="rtl"] .chat-fab { right: auto; left: 26px; }
[dir="rtl"] .chat-panel { right: auto; left: 26px; }
[dir="rtl"] .msg.bot { border-bottom-left-radius: 14px; border-bottom-right-radius: 4px; }
[dir="rtl"] .msg.user { border-bottom-right-radius: 14px; border-bottom-left-radius: 4px; }
[dir="rtl"] .btn-lg .ic, [dir="rtl"] .hero-actions .ic { transform: scaleX(-1); }
[dir="rtl"] .chat-input button svg { transform: scaleX(-1); }
html[lang="ar"] body { letter-spacing: 0; }
html[lang="ar"] .eyebrow, html[lang="ar"] .brand-text em,
html[lang="ar"] .ref-box span, html[lang="ar"] .admin-table th,
html[lang="ar"] .fee-table th { letter-spacing: 0; }
html[lang="ar"] .hero h1 { line-height: 1.45; }
html[lang="ar"] .acc-item summary { font-size: 18px; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; padding-bottom: 60px; }
  .booking-grid { grid-template-columns: 1fr; }
  .fs + .fs { border-left: none; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-nav a:not(.btn) { display: none; }
}
@media (max-width: 640px) {
  .field-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .time-grid { grid-template-columns: repeat(3, 1fr); }
  .gov-bar-inner { justify-content: space-between; gap: 8px; }
  .gov-bar-inner > span:first-child { font-size: 10.5px; }
  .fs { padding: 26px 20px; }
  .chat-panel { right: 12px; bottom: 88px; }
  [dir="rtl"] .chat-panel { right: auto; left: 12px; }
  .lang-switch { position: static; }
  .gov-bar-right { display: flex; }
  .gov-phone { display: none; }
}
