/* ozo-widget.css — OZO AI asistan (besiktassatilikyali.com.tr)
   URETILEN DOSYA — elle duzenleme: python3 _brief/gen_ozo_css.py
   Kaynak: kardes site besiktaskentseldonusum.com.tr
   · Altin sarisi kurumsal renklerle degistirildi (lacivert / acik notr).
   · Cerez paneli ve yuzen WhatsApp kurallari CIKARILDI (sahibi ozo.css).
   · Yukari-cik oku konumu ozo.css icinde ayarlanir. */

/* =========================================================================
   OZO AI Asistan + yuzen WhatsApp dugmesi
   besiktasesyalikiralikdaire.com.tr — Ozkan Ozel Gayrimenkul Yonetimi
   Yerlesim:  sag-alt  OZO  ·  sol-alt  WhatsApp -> uzerinde cerez paneli
   ========================================================================= */

/* ---- yuzen dugmeler cakismasin: yukari cik oku OZO'nun USTUNE ---- */
.scroll-top.open { bottom: 100px; }

/* ---------- yuzen WhatsApp (ucuncu taraf betigi YOK) ---------- */

/* ---------- baslatici ---------- */
.ozo_ai_launch {
  position: fixed; right: 22px; bottom: 24px; z-index: 9998; display: flex; align-items: center;
  gap: 10px; background: #00357a; color: #fff; border: none; cursor: pointer;
  padding: 10px 18px 10px 12px; border-radius: 40px; box-shadow: 0 10px 26px rgba(0, 53, 122, .4);
  font-family: inherit; font-weight: 700; font-size: 15px; transition: transform .25s ease;
}
.ozo_ai_launch:hover { transform: translateY(-2px); }
.ozo_ai_launch .ozo_ai_ic {
  width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 2px solid #D9D9D9;
  overflow: hidden; display: flex; align-items: center; justify-content: center; flex: none;
}
.ozo_ai_launch .ozo_dot {
  position: absolute; top: 8px; left: 40px; width: 11px; height: 11px; border-radius: 50%;
  background: #25d366; border: 2px solid #00357a;
}
.ozo_ai_launch.ozo_hide { display: none; }
.ozo_ai_launch .ozo_ai_ic svg, .ozo_ai_head .ozo_av svg { width: 86%; height: 86%; display: block; }

/* ---------- animasyonlu robot ---------- */
.ozo_bot_arm { transform-origin: 51.5px 51px; animation: ozoWave 4.4s ease-in-out infinite; }
@keyframes ozoWave { 0%,72%,100% { transform: rotate(0); } 78% { transform: rotate(-22deg); } 84% { transform: rotate(10deg); } 90% { transform: rotate(-16deg); } }
.ozo_bot_eyes { transform-origin: 36px 26px; animation: ozoBlink 4.6s linear infinite; }
@keyframes ozoBlink { 0%,92%,100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.ozo_bot_glow { animation: ozoGlow 2.6s ease-in-out infinite; }
@keyframes ozoGlow { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes ozoUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- karsilama balonu ---------- */
.ozo_hi {
  position: fixed; right: 24px; bottom: 96px; z-index: 9998; max-width: 272px; background: #fff;
  color: #22314f; font-size: 13.5px; line-height: 1.55; padding: 14px 34px 14px 16px;
  border-radius: 16px; border-bottom-right-radius: 4px; box-shadow: 0 16px 44px rgba(0, 20, 60, .28);
  cursor: pointer; opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .35s;
}
.ozo_hi.ozo_on { opacity: 1; transform: none; }
.ozo_hi b { color: #00357a; }
.ozo_hi_x { position: absolute; top: 6px; right: 8px; background: none; border: none; color: #8a93a6; font-size: 17px; cursor: pointer; line-height: 1; padding: 2px; }

/* ---------- panel ---------- */
.ozo_ai_panel {
  position: fixed; right: 22px; bottom: 24px; z-index: 9999; width: 378px;
  max-width: calc(100vw - 24px); height: 80vh; max-height: 640px; background: #fff;
  border-radius: 20px; box-shadow: 0 24px 70px rgba(0, 20, 60, .35); display: none;
  flex-direction: column; overflow: hidden;
}
.ozo_ai_panel.ozo_open { display: flex; animation: ozoUp .28s ease; }
.ozo_ai_head { background: linear-gradient(135deg, #00357a, #002456); color: #fff; padding: 15px 16px; display: flex; align-items: center; gap: 12px; }
.ozo_ai_head .ozo_av { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid #D9D9D9; overflow: hidden; display: flex; align-items: center; justify-content: center; flex: none; }
.ozo_ai_head h4 { margin: 0; font-size: 15.5px; font-weight: 700; line-height: 1.2; color: #fff; }
.ozo_ai_head p { margin: 2px 0 0; font-size: 12px; color: #fff; opacity: .85; display: flex; align-items: center; gap: 6px; }
.ozo_ai_head p::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #25d366; display: inline-block; }
.ozo_ai_close { margin-left: auto; background: rgba(255, 255, 255, .14); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 15px; }
.ozo_ai_body { flex: 1; overflow-y: auto; padding: 16px 14px; background: #eef1f6; display: flex; flex-direction: column; gap: 10px; }

/* ---------- mesajlar ---------- */
.ozo_msg { max-width: 88%; padding: 11px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; animation: ozoUp .2s ease; }
.ozo_msg_bot { background: #fff; color: #22314f; border-bottom-left-radius: 4px; box-shadow: 0 3px 12px rgba(0, 20, 60, .06); }
.ozo_msg_user { background: #00357a; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.ozo_step_i { display: inline-block; font-size: 11px; font-weight: 700; color: #D9D9D9; letter-spacing: 1.2px; margin-bottom: 5px; text-transform: uppercase; }

.ozo_typing { display: flex; gap: 4px; align-items: center; padding: 2px 0; }
.ozo_typing span { width: 7px; height: 7px; border-radius: 50%; background: #b6c0d2; animation: ozoDot 1.1s infinite; }
.ozo_typing span:nth-child(2) { animation-delay: .16s; }
.ozo_typing span:nth-child(3) { animation-delay: .32s; }
@keyframes ozoDot { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ---------- hizli secenekler ---------- */
.ozo_chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ozo_chip { background: #fff; border: 1px solid #d5dbe6; color: #22314f; border-radius: 20px; padding: 8px 12px; font-size: 13px; font-family: inherit; cursor: pointer; transition: all .2s ease; }
.ozo_chip:hover { border-color: #00357a; color: #00357a; }
.ozo_chip_cta { background: #00357a; border-color: #00357a; color: #fff; font-weight: 700; }
.ozo_chip_cta:hover { background: #002450; border-color: #002450; color: #fff; }
.ozo_chip_more { background: #eef1f6; border-style: dashed; color: #3d4d6b; }

/* ---------- eylem baglantilari ---------- */
.ozo_acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ozo_acts a { background: #00357a; color: #fff; border-radius: 20px; padding: 8px 14px; font-size: 13px; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.ozo_acts a:hover { background: #00357a; color: #fff; }
.ozo_acts a.ozo_wa { background: #25d366; }
.ozo_acts a.ozo_ghost { background: #fff; color: #00357a; border: 1px solid #d5dbe6; }
.ozo_acts a.ozo_ghost:hover { border-color: #00357a; background: #fff; }

/* ---------- form ---------- */
.ozo_form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ozo_form input, .ozo_form textarea { border: 1px solid #d5dbe6; border-radius: 10px; padding: 10px 12px; font-family: inherit; font-size: 13.5px; outline: none; width: 100%; }
.ozo_form textarea { min-height: 68px; resize: vertical; }
.ozo_form input:focus, .ozo_form textarea:focus { border-color: #00357a; }
.ozo_form_btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ozo_fp { background: #00357a; color: #fff; border: none; border-radius: 20px; padding: 9px 16px; font-size: 13px; font-family: inherit; cursor: pointer; font-weight: 600; }
.ozo_fg { background: #fff; color: #5b6771; border: 1px solid #d5dbe6; border-radius: 20px; padding: 9px 16px; font-size: 13px; font-family: inherit; cursor: pointer; }

/* ---------- ozet ---------- */
.ozo_summary { margin-top: 12px; border: 1px solid #e6e9f0; border-radius: 12px; overflow: hidden; }
.ozo_summary .ozo_srow { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-bottom: 1px solid #e6e9f0; font-size: 13px; }
.ozo_summary .ozo_srow:last-child { border-bottom: none; }
.ozo_summary .ozo_sk { color: #7a8699; font-weight: 600; }
.ozo_summary .ozo_sv { color: #0b1b3a; font-weight: 700; text-align: right; }

/* ---------- alt giris ---------- */
.ozo_ai_foot { border-top: 1px solid #e6e9f0; padding: 10px; display: flex; gap: 8px; background: #fff; }
.ozo_ai_foot input { flex: 1; border: 1px solid #d5dbe6; border-radius: 22px; padding: 10px 14px; font-family: inherit; font-size: 14px; outline: none; }
.ozo_ai_foot input:focus { border-color: #00357a; }
.ozo_ai_foot button { background: #00357a; color: #fff; border: none; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 15px; flex: none; }

@media (max-width: 480px) {
  .ozo_ai_panel { right: 12px; left: 12px; bottom: 12px; width: auto; height: 84vh; }
  .ozo_ai_launch { padding: 10px; font-size: 0; gap: 0; }
  .ozo_ai_launch .ozo_ai_ic { margin: 0; }
  .ozo_ai_launch .ozo_dot { left: auto; right: 8px; }
  .ozo_hi { right: 12px; bottom: 88px; max-width: 80vw; }
  .ozo_chip { font-size: 12px; padding: 7px 10px; }
  .ozo_acts a { font-size: 12px; padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .ozo_bot_arm, .ozo_bot_eyes, .ozo_bot_glow, .ozo_typing span { animation: none; }
  .ozo_ai_panel.ozo_open, .ozo_msg { animation: none; }
}

/* =========================================================================
   CEREZ TERCIHLERI PANELI (KVKK/GDPR) — kardes siteden alindi.
   Sol-alt, yuzen WhatsApp dugmesinin USTUNDE; analitik onaydan SONRA yuklenir.
   ========================================================================= */
/* =========================================================================
   CEREZ TERCIHLERI paneli — sol-alt, yuzen WhatsApp dugmesinin USTUNDE
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  .bek-regions .bek-region img, .bek-case .bek-case-img img { transition: none; }
}

/* Bu temada zaten getbutton.io WhatsApp widget'i var — OZO'nunki gizlenir,
   cerez paneli de o widget'in ustunde konumlanir. */
.ozo_wa_off{ display:none !important; }

/* ---- tema 'button' sifirlamasi (max-width/border/background) OZO ve cerez
   ogelerini bozuyordu; SADECE gerekli ozellikler geri alinir, gorunum korunur ---- */
.ozo_ai_launch{ width:auto !important; max-width:max-content !important; min-width:0; }
/* NOT: buraya 'border-radius:inherit' YAZMA — govdeden 0 miras alir ve
   OZO baslaticisi KARE olur. Yuvarlaklik asagida acikca verilir. */
.ozo_ai_launch{ border-radius:40px !important; }
/* DIKKAT: buraya ".ozo_ai_panel button{border:none;background:none}" YAZMA —
   ozelligi .ozo_chip'ten yuksek oldugu icin butun cipleri duz metne cevirir
   (altin "Portfoyumu Degerlendirin" dugmesi gorunmez olur).
   Temanin form sifirlamasi yalnizca metin girisleri icin geri alinir: */
.ozo_ai_panel input[type="text"], .ozo_ai_panel input[type="tel"], .ozo_ai_panel textarea{
  border:1px solid #d5dbe6 !important; background:#fff !important; color:#22314f !important;
  border-radius:10px; font-family:inherit;
}
/* cip/dugmelerin gorunumu kesin uygulansin */
.ozo_ai_panel .ozo_chip{
  background:#fff !important; border:1px solid #d5dbe6 !important; color:#22314f !important;
  border-radius:20px !important; max-width:max-content;
}
.ozo_ai_panel .ozo_chip:hover{ border-color:#00357a !important; color:#00357a !important; }
.ozo_ai_panel .ozo_chip.ozo_chip_cta{
  background:#00357a !important; border-color:#00357a !important; color:#fff !important; font-weight:700;
}
.ozo_ai_panel .ozo_chip.ozo_chip_cta:hover{ background:#00357a !important; border-color:#00357a !important; }
.ozo_ai_panel .ozo_chip.ozo_chip_more{
  background:#eef1f6 !important; border-style:dashed !important; color:#3d4d6b !important;
}
.ozo_ai_panel .ozo_sk, .ozo_ai_panel .ozo_ghost, .ozo_ai_panel .ozo_wa{ max-width:max-content; }
