/* One Nation Travel AI Assistant — chat window, in the site's C2 look (navy, gold, Plus Jakarta Sans). */
.ona{--ink:#0B1B33;--gold:#DDB45A;--surface:#F3F5F8;--line:#E3E8EE;--muted:#4B5868;position:fixed;right:20px;bottom:20px;z-index:60;font:400 15px/1.5 'DM Sans','Segoe UI',system-ui,sans-serif;color:var(--ink)}
.ona *{box-sizing:border-box}
.ona svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ona button{font:inherit;cursor:pointer}
.ona [hidden]{display:none !important}

.ona-launcher{display:inline-flex;align-items:center;gap:10px;min-height:56px;padding:0 22px 0 18px;border:0;border-radius:999px;background:var(--ink);color:#fff;font-weight:800;box-shadow:0 18px 40px -16px rgba(7,18,36,.6)}
.ona-launcher svg{color:var(--gold)}
.ona-launcher.ona-open{display:none}

.ona-panel{display:flex;flex-direction:column;width:400px;max-width:calc(100vw - 24px);height:min(720px,calc(100vh - 40px));border-radius:28px;overflow:hidden;background:#fff;box-shadow:0 0 0 1px var(--line),0 40px 90px -30px rgba(7,18,36,.55)}
.ona-head{display:flex;align-items:center;gap:12px;padding:16px 14px 16px 18px;background:radial-gradient(420px 200px at 100% 0%,rgba(221,180,90,.28),transparent 64%),var(--ink);color:#fff}
.ona-logo{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:var(--gold);color:var(--ink);font-weight:800;font-size:20px;flex:none}
.ona-title{display:flex;flex-direction:column;min-width:0;line-height:1.3;margin-right:auto}
.ona-title strong{font-size:16px;font-weight:800;letter-spacing:-.01em}
.ona-title span{font-size:13px;color:#C5CEDA}
.ona-close{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:999px;background:rgba(255,255,255,.1);color:#fff}

.ona-log{position:relative;flex:1;overflow-y:auto;padding:18px 16px 8px;display:flex;flex-direction:column;gap:12px}
.ona-msg{max-width:88%;display:flex;flex-direction:column;gap:10px}
.ona-msg p{margin:0}
.ona-visitor{align-self:flex-end;padding:11px 16px;border-radius:20px 20px 6px 20px;background:var(--ink);color:#fff}
.ona-assistant{align-self:flex-start}
.ona-assistant>.ona-text,.ona-assistant>.ona-typing{padding:12px 16px;border-radius:20px 20px 20px 6px;background:var(--surface)}
.ona-text{display:flex;flex-direction:column;gap:8px}
.ona-text ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px}
.ona-text strong{font-weight:800}

.ona-cards{display:flex;flex-direction:column;gap:8px}
.ona-card{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border-radius:18px;background:#fff;color:var(--ink);text-decoration:none;box-shadow:0 0 0 1px var(--line),0 12px 26px -20px rgba(11,27,51,.4)}
.ona-card:hover{box-shadow:0 0 0 2px var(--gold),0 12px 26px -20px rgba(11,27,51,.4)}
.ona-card strong{font-weight:800;line-height:1.3;letter-spacing:-.01em}
.ona-card-meta{font-size:12px;font-weight:700;color:var(--muted)}
.ona-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;color:var(--muted)}
.ona-card-foot b{font-size:19px;font-weight:800;color:var(--ink);letter-spacing:-.02em}
.ona-card-go{padding:7px 14px;border-radius:999px;background:var(--ink);color:#fff;font-size:13px;font-weight:700}

.ona-book{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 20px;border-radius:999px;background:var(--gold);color:var(--ink);font-weight:800;text-decoration:none}
.ona-contact{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border-radius:18px;background:var(--ink)}
.ona-contact a{color:#fff;font-weight:700;text-decoration:none}
.ona-contact a:first-child{color:var(--gold);font-size:18px;font-weight:800}

.ona-rate{display:flex;gap:4px}
.ona-rate button{display:grid;place-items:center;width:44px;height:36px;border:0;border-radius:12px;background:transparent;color:var(--muted)}
.ona-rate button:hover{background:var(--surface)}
.ona-rate button[aria-pressed="true"]{background:var(--ink);color:var(--gold)}
.ona-rate svg{width:17px;height:17px}

.ona-typing{display:inline-flex;gap:5px;align-self:flex-start}
.ona-typing i{width:7px;height:7px;border-radius:999px;background:var(--muted);animation:ona-blink 1.2s infinite both}
.ona-typing i:nth-child(2){animation-delay:.2s}
.ona-typing i:nth-child(3){animation-delay:.4s}
@keyframes ona-blink{0%,80%,100%{opacity:.25}40%{opacity:1}}
@media (prefers-reduced-motion:reduce){.ona-typing i{animation:none}}

.ona-form{display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:22px;background:#fff;box-shadow:0 0 0 2px var(--gold)}
.ona-form strong{font-size:16px;font-weight:800}
.ona-form-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.ona-asking .ona-chips,.ona-asking .ona-compose,.ona-asking .ona-note{display:none}
.ona-asking .ona-log{padding-bottom:16px}
.ona-form-head .ona-link{font-size:13px !important;white-space:nowrap}
.ona-form p{margin:0;font-size:14px;color:var(--muted)}
.ona-summary{padding:8px 12px;border-radius:12px;background:var(--surface)}
.ona-form label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:700}
.ona-form input[type=text],.ona-form input[type=email],.ona-form input[type=tel],.ona-form textarea{width:100%;min-height:46px;padding:10px 14px;border:1.5px solid #C3CCD8;border-radius:14px;background:#fff;color:var(--ink);font:500 15px/1.4 inherit;font-family:inherit;outline:none;resize:vertical}
.ona-form input:focus,.ona-form textarea:focus,.ona-input:focus{border-color:var(--ink);box-shadow:0 0 0 3px rgba(11,27,51,.12)}
.ona-consent{flex-direction:row !important;flex-wrap:wrap;align-items:flex-start;gap:10px !important;font-weight:500 !important;color:var(--muted)}
.ona-consent input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--ink);flex:none}
.ona-consent span{flex:1;min-width:0}
.ona-consent .ona-error{flex-basis:100%}
.ona-error{font-style:normal;font-size:13px;font-weight:700;color:#A3261C}
.ona-error:empty{display:none}
.ona-submit{min-height:50px;border:0;border-radius:999px;background:var(--ink);color:#fff;font-weight:800}
.ona-submit:disabled,.ona-send:disabled{opacity:.5;cursor:default}
.ona-form-status{color:#A3261C !important;font-weight:700}
.ona-footnote{font-size:12px !important;line-height:1.45}
.ona-form-status:empty{display:none}

.ona-chips{display:flex;flex-wrap:wrap;gap:6px;padding:4px 16px 0}
.ona-chips:empty{display:none}
.ona-chip{min-height:38px;padding:0 14px;border:1.5px solid var(--ink);border-radius:999px;background:#fff;color:var(--ink);font-size:14px;font-weight:700}
.ona-chip:hover{background:var(--ink);color:#fff}

.ona-compose{display:flex;align-items:flex-end;gap:8px;padding:12px 16px 6px}
.ona-input{flex:1;min-height:50px;max-height:120px;padding:13px 16px;border:1.5px solid #C3CCD8;border-radius:24px;background:#fff;color:var(--ink);font:500 15px/1.4 inherit;font-family:inherit;outline:none;resize:none}
.ona-send{display:grid;place-items:center;width:50px;height:50px;border:0;border-radius:999px;background:var(--gold);color:var(--ink);flex:none}
.ona-note{margin:0;padding:0 18px 14px;font-size:12px;line-height:1.45;color:var(--muted)}
.ona-link{padding:6px 0;border:0;background:none;color:var(--ink);font-size:12px !important;font-weight:700;text-decoration:underline}

@media (max-width:520px){
.ona{right:12px;bottom:12px}
.ona-launcher span{display:none}
.ona-launcher{width:58px;height:58px;padding:0;justify-content:center}
.ona-launcher svg{width:26px;height:26px}
.ona-panel{position:fixed;inset:0;width:100%;max-width:none;height:100%;border-radius:0}
.ona-input,.ona-form input[type=text],.ona-form input[type=email],.ona-form input[type=tel],.ona-form textarea{font-size:16px}
}

/* One Nation site (22 Nov 2026): the site's own font, and room for the tour page's sticky booking bar (book-bar.js sets html.book-bar-on). */
html.book-bar-on .ona{bottom:104px}
html.book-bar-on .ona-panel{height:min(720px,calc(100vh - 124px))}
@media (max-width:700px){html.book-bar-on .ona{bottom:92px}}

/* Two chats side by side (Bilal, 22 Nov 2026: "AI chat solda kalsın, diğeri de sağda"): the AI assistant on the left, the Tawk.to
   chat (app/site-chat.php; its own launcher, set in the Tawk dashboard, also sits on the right) on the right. The id selector
   wins over site-chat.css, which loads later. */
.ona{right:auto;left:20px}
#site-chat.site-chat{left:auto;right:max(16px,env(safe-area-inset-right))}
html.book-bar-on #site-chat.site-chat{bottom:104px}
@media (max-width:640px){#site-chat.site-chat{left:auto;right:max(14px,env(safe-area-inset-right))}html.book-bar-on #site-chat.site-chat{bottom:92px}}
@media (max-width:520px){.ona{right:auto;left:12px}}
