/* Birka styles. Colours: deep teal ink, pool blue, warm sand. Logical properties keep Arabic (RTL) working. */
:root {
  --ink: #0b3b40;
  --ink-2: #39595c;
  --muted: #6b7f81;
  --pool: #0e8fa0;
  --pool-2: #0a7482;
  --pool-soft: #e2f4f6;
  --sand: #fbf7f0;
  --sand-2: #f3ebdd;
  --card: #ffffff;
  --line: #e7dfd1;
  --coral: #ff7a59;
  --ok: #1f8a5b;
  --ok-soft: #e3f4ec;
  --warn: #a86a00;
  --warn-soft: #fff3db;
  --bad: #c0392b;
  --bad-soft: #fde8e6;
  --r: 14px;
  --shadow: 0 1px 2px rgba(11, 59, 64, .06), 0 8px 24px rgba(11, 59, 64, .07);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html[dir="rtl"] { --font: "IBM Plex Sans Arabic", "Plus Jakarta Sans", system-ui, sans-serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--sand); line-height: 1.5; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--pool-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
h2 { font-size: 21px; font-weight: 700; margin-top: 1.6em; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.pre { white-space: pre-line; }
.bad-text { color: var(--bad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
input, select, textarea, button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(14, 143, 160, .45); outline-offset: 2px; }

/* Layout */
.page { max-width: 1180px; margin: 0 auto; padding: 28px 20px 40px; }
.page.narrow { max-width: 760px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.section-head h1, .section-head h2 { margin: 0; }
.back { display: inline-block; margin-bottom: 12px; color: var(--ink-2); font-weight: 600; }

/* Demo bar */
.demo-bar { background: var(--ink); color: #fff; font-size: 13px; padding: 7px 16px; display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.demo-bar[hidden] { display: none; }
.demo-bar span { opacity: .8; }
.demo-bar button { background: rgba(255, 255, 255, .14); border: 0; color: #fff; padding: 3px 10px; border-radius: 99px; cursor: pointer; font-size: 13px; }
.demo-bar button:hover { background: rgba(255, 255, 255, .25); }
@media (max-width: 600px) { .demo-bar { font-size: 12px; gap: 6px; padding: 5px 10px; } .demo-bar .hide-sm { display: none; } }

/* Header */
.top { position: sticky; top: 0; z-index: 500; background: rgba(251, 247, 240, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1180px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand.small { font-size: 18px; } .brand.small img { width: 26px; height: 26px; }
.nav { display: flex; gap: 4px; flex: 1; }
.nav a { color: var(--ink-2); font-weight: 600; padding: 7px 12px; border-radius: 99px; font-size: 15px; }
.nav a:hover, .nav a.on { background: var(--sand-2); color: var(--ink); text-decoration: none; }
.top-right { display: flex; align-items: center; gap: 10px; }
.lang { background: none; border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; cursor: pointer; font-weight: 600; font-size: 14px; }
.lang:hover { background: var(--sand-2); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--pool); color: #fff; display: inline-grid; place-items: center; font-weight: 700; }
.avatar:hover { text-decoration: none; background: var(--pool-2); }
.avatar.big { width: 46px; height: 46px; font-size: 19px; flex: none; }
.menu-btn { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; padding: 4px 8px; }
@media (max-width: 760px) {
  .top-in { gap: 10px; flex-wrap: wrap; }
  .brand { flex: 1; }
  .menu-btn { display: block; }
  .nav { order: 3; flex-basis: 100%; flex-direction: column; display: none; padding-bottom: 8px; }
  .top.open .nav { display: flex; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--pool); color: #fff; border: 1.5px solid var(--pool); padding: 10px 18px; border-radius: 12px; font-weight: 700; cursor: pointer; text-decoration: none; font-size: 15px; transition: background .15s, transform .05s; }
.btn:hover { background: var(--pool-2); border-color: var(--pool-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.loading { opacity: .7; cursor: progress; }
.btn.big { padding: 14px 22px; font-size: 16px; }
.btn.small { padding: 6px 12px; font-size: 14px; border-radius: 10px; }
.btn.wide { width: 100%; }
.btn.outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.outline:hover { background: var(--sand-2); }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: var(--sand-2); }
.btn.danger { color: var(--bad); }
.link { background: none; border: 0; padding: 0; color: var(--pool-2); cursor: pointer; font-size: inherit; }
.link:hover { text-decoration: underline; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.sticky-actions { position: sticky; bottom: 0; background: var(--sand); padding: 12px 0; border-top: 1px solid var(--line); z-index: 5; }

/* Forms */
label { display: block; font-weight: 600; font-size: 14px; color: var(--ink-2); }
input:not([type=checkbox]):not([type=radio]), select, textarea { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-weight: 400; font-size: 16px; }
input:focus, select:focus, textarea:focus { border-color: var(--pool); outline: none; }
textarea { resize: vertical; }
.stack > * + * { margin-top: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.two > * { margin-top: 0 !important; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--pool); flex: none; }
.row-form { display: flex; gap: 8px; margin-top: 12px; }
.row-form input { margin-top: 0 !important; }
fieldset { border: 0; margin: 0; }
legend { font-weight: 800; font-size: 18px; padding: 0; margin-bottom: 4px; float: left; width: 100%; }
legend + * { clear: both; }
.label { display: block; font-weight: 600; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.chips, .amenity-pick, .days { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; font-weight: 500; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; cursor: pointer; font-size: 14px; color: var(--ink); }
.chip input:checked + span { background: var(--pool-soft); border-color: var(--pool); color: var(--pool-2); font-weight: 700; }
.chip input:focus-visible + span { outline: 3px solid rgba(14, 143, 160, .45); }

/* Hero */
.hero { background: radial-gradient(1200px 400px at 80% -10%, #bfe9ee 0%, transparent 60%), linear-gradient(180deg, #e6f5f5 0%, var(--sand) 100%); }
.hero-in { max-width: 1180px; margin: 0 auto; padding: 64px 20px 44px; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); max-width: 720px; letter-spacing: -.03em; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 620px; }
.search-box { display: grid; grid-template-columns: 1.3fr 1fr .7fr auto; gap: 10px; background: #fff; padding: 12px; border-radius: 18px; box-shadow: var(--shadow); max-width: 860px; align-items: end; margin-top: 26px; }
.search-box label span { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.search-box input, .search-box select { border-color: transparent; background: var(--sand); }
@media (max-width: 760px) { .search-box { grid-template-columns: 1fr 1fr; } .search-box label:first-child, .search-box .btn { grid-column: 1 / -1; } }
.trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; gap: 20px; flex-wrap: wrap; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.host-hero .hero-in { padding-bottom: 50px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { color: var(--ink); display: block; border-radius: var(--r); }
.card:hover { text-decoration: none; }
.card:hover .card-img img { transform: scale(1.03); }
.card-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--sand-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tag { position: absolute; top: 10px; inset-inline-start: 10px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 99px; }
.card-body { padding: 10px 2px 0; }
.card-top { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; }
.rate { font-size: 14px; white-space: nowrap; }
.card-title { color: var(--ink-2); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price { margin-top: 4px; }

/* Home sections */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 10px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps > div { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pool-soft); color: var(--pool-2); font-weight: 800; margin-bottom: 10px; }
.host-cta { background: linear-gradient(135deg, var(--ink) 0%, #0e5a63 100%); color: #fff; border-radius: 22px; padding: 36px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.host-cta h2 { margin-top: 0; font-size: 28px; }
.host-cta p { opacity: .85; }
@media (max-width: 760px) { .host-cta { grid-template-columns: 1fr; padding: 26px; } }
.calc { background: rgba(255, 255, 255, .08); border-radius: 16px; padding: 18px; display: grid; gap: 12px; }
.calc label { color: rgba(255, 255, 255, .8); }
.calc input { background: rgba(255, 255, 255, .95) !important; }
.calc-out { display: flex; flex-direction: column; }
.calc-out span { font-size: 13px; opacity: .8; }
.calc-out b { font-size: 32px; letter-spacing: -.02em; }
.safety-band { padding-top: 10px; }

/* Search */
.search-page { max-width: 1400px; margin: 0 auto; padding: 16px 20px 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.filters > select, .filters > input { width: auto; margin: 0; flex: 0 1 180px; }
.filters .chips { flex-basis: 100%; }
.search-body { display: grid; grid-template-columns: 1fr 42%; gap: 22px; align-items: start; }
.map-col { position: sticky; top: 76px; }
.map { height: calc(100vh - 120px); min-height: 380px; border-radius: var(--r); overflow: hidden; background: var(--pool-soft); z-index: 1; }
.small-map { height: 260px; min-height: 0; }
@media (max-width: 900px) { .search-body { grid-template-columns: 1fr; } .map-col { position: static; order: -1; } .map { height: 260px; min-height: 0; } }
.results .grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pin span { display: inline-block; background: #fff; color: var(--ink); font-weight: 800; font-size: 13px; padding: 4px 9px; border-radius: 99px; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); white-space: nowrap; transform: translate(-50%, -50%); }
.pin span:hover { background: var(--ink); color: #fff; }
.leaflet-div-icon.pin { background: none; border: 0; }

/* Pool page */
.pool-head { margin-bottom: 14px; }
.pool-head h1 { margin-bottom: 4px; }
.gallery { display: grid; gap: 8px; border-radius: 18px; overflow: hidden; position: relative; height: clamp(240px, 42vw, 440px); }
.gallery.g1 { grid-template-columns: 1fr; }
.gallery.g2 { grid-template-columns: 2fr 1fr; }
.gallery.g3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery.g3 .g-item:first-child { grid-row: 1 / 3; }
.g-item { padding: 0; border: 0; cursor: zoom-in; background: var(--sand-2); overflow: hidden; }
.g-item img { width: 100%; height: 100%; object-fit: cover; }
.g-all { position: absolute; bottom: 12px; inset-inline-end: 12px; }
.photo-list { display: grid; gap: 10px; max-height: 75vh; overflow: auto; }
.photo-list img { border-radius: 10px; }
.pool-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; margin-top: 26px; align-items: start; }
@media (max-width: 900px) { .pool-grid { grid-template-columns: 1fr; gap: 10px; } }
.host-line { display: flex; gap: 12px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.facts { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.facts li { display: flex; flex-direction: column; }
.facts span { color: var(--muted); font-size: 14px; }
.amenities { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.amenities li { display: flex; gap: 10px; align-items: center; }
.amenities li span { font-size: 20px; }
.rules { padding-inline-start: 20px; }
.reviews { display: grid; gap: 18px; }
.review p { margin: 6px 0 0; }
.stars { color: #f0a500; letter-spacing: 1px; }
.book-card { position: sticky; top: 84px; background: #fff; border-radius: 18px; padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (max-width: 900px) { .book-card { position: static; order: -1; } }
.book-price { font-size: 18px; }
.book-price b { font-size: 26px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
.slot { border: 1.5px solid var(--line); background: #fff; border-radius: 9px; padding: 7px 4px; cursor: pointer; font-size: 14px; font-weight: 600; }
.slot:hover:not(:disabled) { border-color: var(--pool); }
.slot.on { background: var(--pool); color: #fff; border-color: var(--pool); }
.slot:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.quote { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.q-row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.q-row.total { font-weight: 800; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 9px; }

/* Checkout / booking detail */
.checkout { background: #fff; border-radius: 18px; padding: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); margin-bottom: 18px; }
.summary { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.summary img { width: 92px; height: 70px; object-fit: cover; border-radius: 10px; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.kv > span { color: var(--muted); }
.kv b, .kv p { text-align: end; margin: 0; }
.address { background: var(--pool-soft); border-radius: 12px; padding: 14px; margin: 12px 0; }
.address p { margin: 6px 0; }
.fake-pay { background: #fff; border-radius: 18px; padding: 30px; text-align: center; box-shadow: var(--shadow); max-width: 420px; margin: 20px auto; display: grid; gap: 12px; }
.fake-pay h1 { font-size: 40px; margin: 0; }
.fake-card { border: 1.5px dashed var(--line); border-radius: 10px; padding: 12px; font-family: monospace; letter-spacing: 2px; }

/* Notices and badges */
.notice { background: var(--sand-2); border-radius: 12px; padding: 12px 14px; margin: 12px 0; font-size: 15px; }
.notice.ok { background: var(--ok-soft); color: #145c3d; }
.notice.warn { background: var(--warn-soft); color: #7a4d00; }
.notice.bad { background: var(--bad-soft); color: #8e2a1f; }
.notice .btn { margin-inline-start: 8px; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--sand-2); color: var(--ink-2); white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }
.badge.done { background: var(--pool-soft); color: var(--pool-2); }

/* Lists of bookings */
.trips { display: grid; gap: 12px; }
.trip { display: flex; gap: 14px; background: #fff; border-radius: var(--r); padding: 12px; box-shadow: var(--shadow); color: var(--ink); align-items: center; }
.trip:hover { text-decoration: none; box-shadow: 0 1px 2px rgba(11, 59, 64, .08), 0 12px 30px rgba(11, 59, 64, .12); }
.trip img { width: 110px; height: 82px; object-fit: cover; border-radius: 10px; flex: none; }
.trip-body { display: grid; gap: 3px; min-width: 0; }
.trip-body b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Messages */
.chat { display: grid; gap: 10px; background: #fff; border-radius: var(--r); padding: 16px; border: 1px solid var(--line); max-height: 420px; overflow: auto; }
.msg { max-width: 80%; background: var(--sand-2); border-radius: 12px; padding: 8px 12px; }
.msg p { margin: 2px 0 0; }
.msg.mine { justify-self: end; background: var(--pool-soft); }
.star-pick { display: flex; gap: 4px; flex-direction: row-reverse; justify-content: flex-end; }
.star-pick label { cursor: pointer; font-size: 34px; color: #d9cfbf; }
.star-pick input { position: absolute; opacity: 0; }
.star-pick label:hover, .star-pick label:hover ~ label, .star-pick input:checked ~ span, .star-pick label:has(input:checked), .star-pick label:has(input:checked) ~ label { color: #f0a500; }

/* Host */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 10px 0 8px; }
.stats > div { background: #fff; border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.stats span { color: var(--muted); font-size: 14px; }
.stats b { font-size: 26px; letter-spacing: -.02em; }
.host-listings { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.hl { display: flex; gap: 14px; background: #fff; border-radius: var(--r); padding: 12px; box-shadow: var(--shadow); }
.hl img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; flex: none; }
.hl-body { display: grid; gap: 4px; align-content: start; min-width: 0; }
.hl-actions { display: flex; gap: 14px; margin-top: 4px; font-size: 14px; font-weight: 600; }
.doc-group { padding: 6px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.doc-group:last-child { border-bottom: 0; margin-bottom: 0; }
.doc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; }
.doc-row .file { color: var(--ink-2); margin-top: 3px; }
.photo-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.pe { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--sand-2); }
.pe img { width: 100%; height: 100%; object-fit: cover; }
.pe-x { position: absolute; top: 6px; inset-inline-end: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; }
.pe-cover { position: absolute; bottom: 6px; inset-inline-start: 6px; border: 0; background: rgba(255, 255, 255, .92); border-radius: 99px; font-size: 12px; font-weight: 700; padding: 3px 9px; cursor: pointer; }

/* Admin */
.admin-card { background: #fff; border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); margin-bottom: 12px; }
.admin-card.row { display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.admin-card.row img { width: 100px; height: 75px; object-fit: cover; border-radius: 10px; flex: none; }
.admin-card.row > div { flex: 1; min-width: 0; }
.admin-card .actions { margin-top: 10px; }
.doc-list { margin: 8px 0; padding-inline-start: 20px; }
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th { color: var(--muted); font-weight: 600; }

/* Legal */
.legal h2 { font-size: 18px; }
.legal ul { padding-inline-start: 22px; }
.legal li { margin-bottom: 6px; }

/* Empty / loading */
.empty { text-align: center; padding: 40px 10px; }
.empty h1 { font-size: 24px; }
.spinner { width: 34px; height: 34px; border: 3px solid var(--pool-soft); border-top-color: var(--pool); border-radius: 50%; margin: 60px auto; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Modal */
.modal-wrap { position: fixed; inset: 0; background: rgba(11, 59, 64, .45); display: grid; place-items: center; z-index: 1000; padding: 16px; animation: fade .15s; }
.modal { background: #fff; border-radius: 20px; padding: 26px; width: min(460px, 100%); max-height: 90vh; overflow: auto; position: relative; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.modal:has(.photo-list) { width: min(900px, 100%); }
.modal-x { position: absolute; top: 12px; inset-inline-end: 12px; background: var(--sand-2); border: 0; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }
.modal h2 { margin-top: 0; padding-inline-end: 30px; }
.acct-list { display: grid; gap: 8px; margin: 14px 0; }
.acct { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; text-align: start; }
.acct:hover { border-color: var(--pool); background: var(--pool-soft); }
.acct span { color: var(--muted); font-size: 14px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin: 14px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@keyframes fade { from { opacity: 0; } }

/* Toasts */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; z-index: 1100; width: min(440px, calc(100% - 32px)); }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); font-weight: 600; transition: opacity .4s, transform .4s; }
.toast.ok { background: var(--ok); }
.toast.bad { background: var(--bad); }
.toast.out { opacity: 0; transform: translateY(8px); }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--sand-2); margin-top: 40px; }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 28px 20px; display: grid; gap: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.foot nav a { color: var(--ink-2); }

/* Leaflet in RTL: keep map controls readable */
html[dir="rtl"] .leaflet-container { direction: ltr; }
