/* Safarly chat (Office and customer area): WhatsApp-style layout in Safarly colours. */
@font-face { font-family: "Jakarta"; src: url("../fonts/jakarta.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
.wa, .wa-call, .wa-sheet-bg, .wa-ringpop, .wa-toast {
  --ink: #0a1428; --ink2: #13254a; --gold: #d9b46a; --gold3: #b98a3e; --paper: #f3f1ec; --line: rgba(10, 20, 40, .1); --muted: #667085;
  --out: #f6ebcf; --in: #fff; --blue: #2f8be6; --green: #17a34a; --red: #e0444f;
  font-family: "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.wa svg, .wa-call svg, .wa-sheet svg, .wa-ringpop svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wa [hidden], .wa-call[hidden], .wa-call [hidden] { display: none !important; }

/* ---------- page frames ---------- */
.is-chat .main { padding: 0; max-width: none; min-height: 0; }
@media (min-width: 900px) { .is-chat.has-side { height: 100vh; height: 100dvh; overflow: hidden; } .is-chat .main { height: 100vh; height: 100dvh; } }
@media (max-width: 899px) {
  .is-chat { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; }
  .is-chat .side { padding: 10px 14px; flex: 0 0 auto; }
  .is-chat .main { flex: 1; display: flex; }
}
.wa-page { margin: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; background: #0a1428; overflow: hidden; }
.wa-top { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); background: #0a1428; color: #fff; }
.wa-top a { color: #fff; text-decoration: none; }
.wa-top-back { font-size: 1.3rem; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.wa-top-logo { display: flex; align-items: center; gap: 8px; font: 600 1.25rem "Fraunces", Georgia, serif; }
.wa-top-logo em { color: #d9b46a; }
.wa-top-logo svg, .wa-top-logo .logo-mark { width: 30px; height: 30px; }
.wa-top-link { margin-left: auto; font-size: .88rem; opacity: .8; }
.wa-page .wa { flex: 1; height: auto; min-height: 0; }
.wa-page, .wa-top { font-family: "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif; }

/* ---------- two panes ---------- */
.wa { display: flex; width: 100%; height: 100%; min-height: 0; background: var(--paper); color: #111b2e; overflow: hidden; position: relative; }
.wa-side { width: 100%; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--line); min-height: 0; }
.wa-main { display: none; flex: 1; min-width: 0; min-height: 0; flex-direction: column; position: relative; }
.wa.wa-in .wa-side { display: none; }
.wa.wa-in .wa-main { display: flex; }
@media (min-width: 900px) {
  .wa-side { width: 360px; flex: 0 0 360px; }
  .wa-main, .wa.wa-in .wa-main { display: flex; }
  .wa.wa-in .wa-side { display: flex; }
}
.wa.wa-solo .wa-side { display: none !important; }
.wa.wa-solo .wa-main { display: flex; }

.wa-bar { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 12px; background: var(--ink); color: #fff; flex: 0 0 auto; }
.wa-bar-t { font: 600 1.25rem "Fraunces", Georgia, serif; flex: 1; }
.wa-bar-act { display: flex; gap: 4px; }
.wa-ib { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: inherit; display: inline-grid; place-items: center; cursor: pointer; flex: 0 0 auto; }
.wa-ib:hover { background: rgba(255, 255, 255, .1); }
.wa-search { display: flex; align-items: center; gap: 8px; margin: 10px 12px; padding: 0 12px; height: 40px; border-radius: 12px; background: var(--paper); color: var(--muted); }
.wa-search input { flex: 1; border: 0; background: transparent; font: inherit; font-size: .95rem; outline: 0; min-width: 0; }
.wa-list { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.wa-none { padding: 30px 20px; text-align: center; color: var(--muted); }
.wa-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; border: 0; background: #fff; text-align: left; cursor: pointer; font: inherit; color: inherit; border-bottom: 1px solid rgba(10, 20, 40, .05); }
.wa-item:hover { background: #f7f6f2; }
.wa-item.on { background: #f3ecdb; }
.wa-item input[type=checkbox] { width: 20px; height: 20px; margin-left: auto; accent-color: var(--gold3); }
.wa-item-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wa-item-top, .wa-item-bot { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.wa-item-mid b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.wa-item-mid small, .wa-item-bot span { color: var(--muted); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wa-item-top small { flex: 0 0 auto; font-size: .75rem; }
.wa-item-top small.wa-new { color: var(--green); font-weight: 700; }
.wa-badge { flex: 0 0 auto; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 11px; background: var(--green); color: #fff; font: 700 .72rem/21px "Jakarta", sans-serif; text-align: center; font-style: normal; }

.wa-av { position: relative; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; display: grid; place-items: center; font: 600 1.15rem "Fraunces", serif; color: #fff; background: var(--ink2); text-transform: uppercase; }
.wa-head .wa-av { width: 40px; height: 40px; flex-basis: 40px; font-size: 1rem; }
.wa-c0 { background: #1d4e89; } .wa-c1 { background: #b98a3e; } .wa-c2 { background: #2f7d6d; } .wa-c3 { background: #8a3b5c; }
.wa-c4 { background: #4b4fa8; } .wa-c5 { background: #a35a2a; } .wa-c6 { background: #36606f; } .wa-c7 { background: #6a4b8c; }
.wa-dot { position: absolute; right: 0; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: #25d366; border: 2px solid #fff; }

/* ---------- conversation ---------- */
.wa-empty { flex: 1; display: grid; place-items: center; padding: 30px; text-align: center; color: var(--muted);
  background: radial-gradient(60% 60% at 70% 20%, rgba(217, 180, 106, .15), transparent 60%), var(--paper); }
.wa-empty h2 { font: 500 1.6rem "Fraunces", serif; color: var(--ink); margin: 14px 0 6px; }
.wa-logo { width: 72px; height: 72px; margin: 0 auto; border-radius: 22px; background: linear-gradient(135deg, #f3deaa, #d9b46a 45%, #b98a3e); box-shadow: 0 20px 40px -18px rgba(185, 138, 62, .8); }
.wa-conv { flex: 1; display: flex; flex-direction: column; min-height: 0; position: relative; }
.wa-conv.drop::after { content: "Drop to send"; position: absolute; inset: 60px 0 0; display: grid; place-items: center; background: rgba(10, 20, 40, .55); color: #fff; font-weight: 700; font-size: 1.2rem; z-index: 5; }
.wa-head { gap: 8px; padding-left: 4px; }
.wa-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.wa-who b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wa-who small { color: rgba(255, 255, 255, .7); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wa-who small.typing { color: var(--gold); }
.wa-acts { display: flex; }
@media (min-width: 900px) { .wa:not(.wa-solo) .wa-hl { display: none; } }
.wa-msgs { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px clamp(10px, 4vw, 60px) 18px; display: flex; flex-direction: column; gap: 3px;
  background-color: #efe9de;
  background-image: radial-gradient(rgba(185, 138, 62, .13) 1px, transparent 1.4px), radial-gradient(rgba(10, 20, 40, .05) 1px, transparent 1.4px);
  background-size: 22px 22px, 34px 34px; background-position: 0 0, 11px 17px; }
.wa-day { align-self: center; margin: 10px 0 6px; padding: 5px 12px; border-radius: 8px; background: rgba(255, 255, 255, .92); color: var(--muted); font-size: .75rem; font-weight: 600; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.wa-m { position: relative; max-width: min(78%, 560px); padding: 6px 9px 7px; border-radius: 10px; font-size: .95rem; line-height: 1.4; box-shadow: 0 1px 1px rgba(10, 20, 40, .1); word-wrap: break-word; overflow-wrap: anywhere; }
.wa-m.in { align-self: flex-start; background: var(--in); border-top-left-radius: 3px; }
.wa-m.out { align-self: flex-end; background: var(--out); border-top-right-radius: 3px; }
.wa-m.sys { align-self: center; background: #fff7e3; color: #6b4a00; font-size: .8rem; box-shadow: none; text-align: center; max-width: 90%; }
.wa-m.del .wa-txt { font-style: italic; color: var(--muted); }
.wa-m.pending { opacity: .7; }
.wa-m.failed { outline: 2px solid var(--red); }
.wa-m.flash { animation: waflash 1.2s; }
@keyframes waflash { 0%, 60% { box-shadow: 0 0 0 4px rgba(217, 180, 106, .7); } }
.wa-from { display: block; font-size: .8rem; color: var(--gold3); margin-bottom: 2px; }
.wa-txt { white-space: pre-wrap; }
.wa-meta { float: right; display: inline-flex; align-items: center; gap: 3px; margin: 6px 0 -4px 10px; font-size: .7rem; color: var(--muted); white-space: nowrap; }
.wa-tick { display: inline-flex; color: #8a94a6; }
.wa-tick svg { width: 15px; height: 15px; stroke-width: 2.4; }
.wa-tick svg + svg { margin-left: -10px; }
.wa-tick.read { color: var(--blue); }
.wa-quote { margin: 0 0 5px; padding: 5px 8px; border-left: 4px solid var(--gold3); border-radius: 6px; background: rgba(10, 20, 40, .05); font-size: .82rem; cursor: pointer; display: flex; flex-direction: column; }
.wa-quote b { color: var(--gold3); }
.wa-quote span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wa-img { display: block; margin: -2px -5px 4px; }
.wa-img img { display: block; max-width: 100%; width: 300px; max-height: 340px; object-fit: cover; border-radius: 8px; background: #ddd; }
.wa-voice { display: block; width: 250px; max-width: 100%; height: 40px; }
.wa-doc { display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 2px; border-radius: 8px; background: rgba(10, 20, 40, .05); color: inherit; text-decoration: none; min-width: 200px; }
.wa-doc svg { width: 30px; height: 30px; color: var(--gold3); flex: 0 0 auto; }
.wa-doc span { display: flex; flex-direction: column; min-width: 0; }
.wa-doc b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wa-doc small { color: var(--muted); font-size: .75rem; }
.wa-callrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.wa-callrow svg { width: 18px; height: 18px; color: var(--green); }
.wa-mact { position: absolute; top: -14px; display: none; gap: 2px; background: #fff; border-radius: 20px; box-shadow: 0 2px 8px rgba(10, 20, 40, .2); padding: 2px; }
.wa-m.in .wa-mact { right: -8px; }
.wa-m.out .wa-mact { left: -8px; }
.wa-m:hover .wa-mact, .wa-m:focus-within .wa-mact { display: flex; }
.wa-mb { width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.wa-mb svg { width: 16px; height: 16px; }
.wa-mb:hover { background: var(--paper); color: var(--ink); }
@media (hover: none) {
  .wa-m:hover .wa-mact { display: none; }
  .wa-m.sel { box-shadow: 0 0 0 3px rgba(217, 180, 106, .6); }
  .wa-m.sel .wa-mact { display: flex; top: auto; bottom: -16px; z-index: 2; }
}
.wa-down { position: absolute; right: 16px; bottom: 80px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 10px rgba(10, 20, 40, .25); font-size: 1.2rem; cursor: pointer; z-index: 3; }

.wa-replybar { display: flex; align-items: center; gap: 8px; padding: 8px 12px 0; background: #f0ece4; }
.wa-replybar div { flex: 1; min-width: 0; padding: 6px 10px; border-left: 4px solid var(--gold3); border-radius: 6px; background: #fff; display: flex; flex-direction: column; font-size: .85rem; }
.wa-replybar b { color: var(--gold3); }
.wa-replybar span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wa-replybar .wa-ib { color: var(--muted); }
.wa-emoji { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); max-height: 210px; overflow-y: auto; padding: 8px; background: #fff; border-top: 1px solid var(--line); }
.wa-emo { font-size: 1.5rem; height: 42px; border: 0; background: transparent; cursor: pointer; border-radius: 8px; }
.wa-emo:hover { background: var(--paper); }
.wa-recbar { display: flex; align-items: center; gap: 10px; padding: 10px 16px 0; background: #f0ece4; font-weight: 600; }
.wa-recdot { width: 12px; height: 12px; border-radius: 50%; background: var(--red); animation: wapulse 1s infinite; }
@keyframes wapulse { 50% { opacity: .3; } }
.wa-rechint { color: var(--muted); font-weight: 500; font-size: .85rem; flex: 1; }
.wa-recbar .wa-ib { color: var(--red); }
.wa-compose { display: flex; align-items: flex-end; gap: 6px; padding: 8px 10px; padding-bottom: max(8px, env(safe-area-inset-bottom)); background: #f0ece4; flex: 0 0 auto; }
.wa-cl, .wa-cr { display: flex; align-items: center; color: var(--muted); }
.wa-cl .wa-ib:hover { background: rgba(10, 20, 40, .06); }
.wa-compose textarea { flex: 1; min-width: 0; resize: none; border: 0; border-radius: 22px; padding: 11px 16px; font: 400 1rem/1.35 "Jakarta", sans-serif; background: #fff; color: #111b2e; max-height: 140px; outline: 0; box-shadow: 0 1px 1px rgba(10, 20, 40, .08); }
.wa-send { width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: var(--ink);
  background: linear-gradient(135deg, #f3deaa, #d9b46a 45%, #b98a3e); box-shadow: 0 6px 16px -8px rgba(185, 138, 62, .9); }
.wa-send.rec { background: var(--green); color: #fff; }

/* ---------- sheets, toasts ---------- */
.wa-sheet-bg { position: fixed; inset: 0; z-index: 60; background: rgba(10, 20, 40, .5); display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 700px) { .wa-sheet-bg { align-items: center; } }
.wa-sheet { width: min(460px, 100%); max-height: 86vh; display: flex; flex-direction: column; background: #fff; border-radius: 20px 20px 0 0; overflow: hidden; box-shadow: 0 -10px 40px rgba(0, 0, 0, .3); }
@media (min-width: 700px) { .wa-sheet { border-radius: 20px; } }
.wa-sheet-in { overflow-y: auto; padding: 6px 0 14px; }
.wa-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 18px; border: 0; background: #fff; font: 600 .95rem "Jakarta", sans-serif; color: #111b2e; cursor: pointer; text-align: left; }
.wa-row:hover { background: #f7f6f2; }
.wa-row svg { color: var(--gold3); }
.wa-field { display: block; width: calc(100% - 28px); margin: 8px 14px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 1rem; box-sizing: border-box; }
.wa-newgroup { padding-bottom: 4px; }
.wa-btn { display: inline-flex; align-items: center; justify-content: center; margin: 4px 14px 8px; padding: 11px 20px; border: 0; border-radius: 99px; font: 700 .95rem "Jakarta", sans-serif; cursor: pointer; color: #0a1428;
  background: linear-gradient(135deg, #f3deaa, #d9b46a 45%, #b98a3e); }
.wa-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; background: #0a1428; color: #fff; font-size: .92rem; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); transition: opacity .4s; }
.wa-toast.hide { opacity: 0; }

/* ---------- call screen ---------- */
.wa-call { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; align-items: center; justify-content: space-between; color: #fff; padding: max(30px, env(safe-area-inset-top)) 20px max(30px, env(safe-area-inset-bottom));
  background: radial-gradient(70% 50% at 50% 20%, #1d335f, transparent 70%), linear-gradient(180deg, #0a1428, #050b17); }
.wa-rv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; display: none; }
.wa-lv { position: absolute; right: 16px; top: max(16px, env(safe-area-inset-top)); width: 110px; height: 150px; object-fit: cover; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .5); background: #111; display: none; z-index: 2; transform: scaleX(-1); }
@media (min-width: 700px) { .wa-lv { width: 200px; height: 140px; } }
.wa-call.is-video.st-live .wa-rv, .wa-call.is-video .wa-lv { display: block; }
.wa-call.st-incoming .wa-lv { display: none; }
.wa-call-top { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 30px; }
.wa-q { display: inline-flex; align-items: flex-end; gap: 3px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wa-q i { width: 4px; border-radius: 2px; background: rgba(255, 255, 255, .25); }
.wa-q i:nth-child(1) { height: 7px; } .wa-q i:nth-child(2) { height: 11px; } .wa-q i:nth-child(3) { height: 15px; }
.wa-q em { font-style: normal; font-size: .76rem; margin-left: 7px; align-self: center; opacity: .85; }
.wa-q.q3 i { background: #5fd68a; }
.wa-q.q2 i:nth-child(-n+2) { background: #f0c35a; }
.wa-q.q1 i:nth-child(1) { background: #ff6b6b; }
.wa-call-info { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.wa-call.is-video.st-live .wa-call-info { text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.wa-call.is-video.st-live .wa-av-wrap { display: none; }
.wa-av-wrap { position: relative; width: 132px; height: 132px; display: grid; place-items: center; margin-bottom: 8px; }
.wa-av-wrap i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(217, 180, 106, .55); opacity: 0; }
.wa-call.st-incoming .wa-av-wrap i, .wa-call.st-out .wa-av-wrap i, .wa-call.st-connecting .wa-av-wrap i { animation: wapulse 2.4s ease-out infinite; }
.wa-av-wrap i:nth-child(2) { animation-delay: 1.2s !important; }
@keyframes wapulse { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-av-big { width: 112px; height: 112px; flex-basis: 112px; font-size: 2.8rem; background: linear-gradient(135deg, #f3deaa, #d9b46a 45%, #b98a3e); color: #0a1428; box-shadow: 0 0 0 6px rgba(217, 180, 106, .14), 0 20px 50px -12px rgba(217, 180, 106, .5); }
.wa-call-name { font: 500 1.9rem "Fraunces", serif; letter-spacing: .01em; }
.wa-call-st { opacity: .8; font-size: 1.05rem; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.wa-call.st-live .wa-call-st { font-size: 1.25rem; opacity: 1; }
.wa-call-note { font-size: .8rem; background: rgba(217, 180, 106, .14); border: 1px solid rgba(217, 180, 106, .35); color: #f3deaa; padding: 6px 14px; border-radius: 99px; }
.wa-call-notes { position: relative; z-index: 3; width: min(460px, 100%); padding: 12px; border-radius: 20px; background: rgba(10, 20, 40, .72); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.wa-call-notes textarea { width: 100%; min-height: 92px; resize: none; border: 0; outline: 0; background: transparent; color: #fff; font: 500 .95rem "Jakarta", sans-serif; }
.wa-call-notes textarea::placeholder { color: rgba(255, 255, 255, .5); }
.wa-call-btns { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 14px 16px; justify-content: center; align-items: flex-start; padding: 16px 18px; border-radius: 28px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); max-width: 100%; }
.wa-call.st-notice .wa-call-btns { background: none; border: 0; backdrop-filter: none; flex-direction: column; align-items: stretch; width: min(300px, 100%); }
.wa-cw { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 62px; }
.wa-cw small { font-size: .72rem; opacity: .75; letter-spacing: .03em; }
.wa-cbtn { width: 62px; height: 62px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .12); transition: transform .15s, background .2s; }
.wa-cbtn:active { transform: scale(.93); }
.wa-cbtn svg { width: 26px; height: 26px; }
.wa-cbtn.off { background: #fff; color: #0a1428; }
.wa-red { background: linear-gradient(160deg, #ff6b6b, #d62f3f); border-color: transparent; box-shadow: 0 10px 26px -8px rgba(214, 47, 63, .8); }
.wa-green { background: linear-gradient(160deg, #46d98a, #1e9f5a); border-color: transparent; box-shadow: 0 10px 26px -8px rgba(30, 159, 90, .8); }
.wa-call.st-incoming .wa-cbtn.wa-green { animation: wabounce 1.3s ease-in-out infinite; }
@keyframes wabounce { 50% { transform: translateY(-6px); } }
.wa-call.st-incoming .wa-cbtn { width: 74px; height: 74px; }
.wa-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .2); }
.wa-callback { margin-top: 6px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--green); background: transparent; color: var(--green); font: 700 .82rem "Jakarta", sans-serif; cursor: pointer; }
@keyframes waring { 50% { box-shadow: 0 0 0 10px rgba(217, 180, 106, .18), 0 0 0 20px rgba(217, 180, 106, .06); } }
@media (prefers-reduced-motion: reduce) { .wa-av-wrap i, .wa-cbtn { animation: none !important; } }
.wa-tap { margin: 0; }

/* ---------- incoming call popup on other pages, unread badge ---------- */
.wa-ringpop { position: fixed; z-index: 85; left: 50%; top: 16px; transform: translateX(-50%); width: min(420px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: #0a1428; color: #fff; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6); animation: wadrop .3s; }
@keyframes wadrop { from { transform: translate(-50%, -30px); opacity: 0; } }
.wa-av-ring { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 600 1.2rem "Fraunces", serif; background: linear-gradient(135deg, #f3deaa, #d9b46a 45%, #b98a3e); color: #0a1428; animation: waring 1.6s infinite; flex: 0 0 46px; }
.wa-ring-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wa-ring-txt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wa-ring-txt span { font-size: .82rem; opacity: .75; }
.wa-ringpop .wa-cbtn { width: 46px; height: 46px; }
.wa-ringpop .wa-cbtn svg { width: 22px; height: 22px; }
.nav-badge { display: inline-block; min-width: 19px; height: 19px; padding: 0 5px; margin-left: 6px; border-radius: 10px; background: #25d366; color: #fff; font: 700 .7rem/19px "Jakarta", sans-serif; text-align: center; font-style: normal; vertical-align: middle; }
.nav-badge[hidden] { display: none; }
[data-ring] { display: none !important; }

/* scrollbars: slim, dark rail with gold-to-blue thumb */
@supports not selector(::-webkit-scrollbar) { .wa-page, .wa-page * { scrollbar-width: thin; scrollbar-color: rgba(217, 180, 106, .7) transparent; } }
.wa-page ::-webkit-scrollbar { width: 8px; height: 8px; }
.wa-page ::-webkit-scrollbar-track { background: transparent; }
.wa-page ::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 99px; background: linear-gradient(180deg, #f3deaa, #d9b46a 50%, #6ec5ff) padding-box; }

.wa-call-card { display: grid; gap: 6px; margin-top: 8px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); max-width: min(420px, 92vw); text-align: left; }
.wa-card-row { display: grid; grid-template-columns: 56px 1fr; gap: 8px; align-items: baseline; font-size: .92rem; }
.wa-card-row small { opacity: .6; text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; }
.wa-card-row b { font-weight: 600; word-break: break-word; }
