/* GETONET — yalnizca .gto-asistan */
.gto-asistan {
  --mavi: #2b3990;
  --kirmizi: #e30913;
  --sari: #ffd400;
  --zemin: #f4f6f8;
  --yazi: #1c2438;
  --soluk: #5c6784;
}

.gto-asistan, .gto-asistan * {
 box-sizing: border-box; 
}

.gto-asistan .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.gto-asistan {
 position: fixed; right: 18px; bottom: 12px; z-index: 42; 
}

.gto-asistan .karsilama {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform-origin: 80% 100%;
  animation: gnIdle 3.4s ease-in-out infinite;
  transition: opacity .28s ease, transform .28s ease;
}

.gto-asistan .posta, .gto-asistan .tetik, .gto-asistan .balon, .gto-asistan .sohbet-ust button, .gto-asistan .yazi button, .gto-asistan .hazir button, .gto-asistan .kaynak a {
  font: inherit;
  cursor: pointer;
}

.gto-asistan .balon {
  position: relative;
  width: 230px;
  margin: 0 28px 8px 0;
  border: 1px solid #e4e8f2;
  border-radius: 16px;
  padding: 12px 14px;
  text-align: left;
  color: var(--mavi);
  background: #fff;
  box-shadow: 0 10px 24px rgba(43, 57, 144, .12);
  transform-origin: 70% 100%;
  transition: opacity .4s ease, transform .4s ease, visibility .4s;
  animation: gnNabiz 1.8s ease-in-out infinite;
}

.gto-asistan .balon.gizli {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none;
  transform: translateY(8px) scale(.96);
}

@keyframes gnNabiz {
  0%, 100% { box-shadow: 0 8px 18px rgba(43, 57, 144, .14); }
  50% { box-shadow: 0 0 0 8px rgba(227, 9, 19, .14), 0 12px 26px rgba(43, 57, 144, .18); }
}

.gto-asistan .balon:after {
  content: "";
  position: absolute;
  right: 42px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-right: 1px solid #e4e8f2;
  border-bottom: 1px solid #e4e8f2;
  transform: rotate(45deg);
}

.gto-asistan .tetik {
  width: 168px;
  height: 154px;
  border: 0;
  padding: 0;
  background: transparent;
}

.gto-asistan .robot {
  width: 168px;
  height: 154px;
  object-fit: contain;
  display: block;
}

@keyframes gnIdle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.gto-asistan .sohbet {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 24px));
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(43, 57, 144, .2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .32s ease, transform .32s ease, visibility .32s;
}

.gto-asistan .sohbet-ust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 8px 0 14px;
  color: #fff;
  background: var(--mavi);
}

.gto-asistan .sohbet-baslik {
 display: flex; align-items: center; gap: 8px; 
}

.gto-asistan .sohbet-igne {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transform-origin: 50% 62%;
  animation: gnIgne 2.8s ease-in-out infinite;
}

.gto-asistan .sohbet-yazi {
 height: 16px; width: auto; 
}

@keyframes gnIgne {
  0%, 100% { transform: rotate(-16deg); }
  50% { transform: rotate(16deg); }
}

.gto-asistan .sohbet-baslik strong {
 font-size: 16px; font-weight: 700; 
}

.gto-asistan .sohbet-sag {
 display: flex; align-items: center; gap: 2px; 
}

.gto-asistan .dil-kutu {
 position: relative; 
}

.gto-asistan .dil-tetik {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
}

.gto-asistan .dil-tetik .bayrak {
 width: 22px; height: 14px; display: block; border-radius: 2px; overflow: hidden; 
}

.gto-asistan .dil-tetik .bayrak[hidden] {
 display: none; 
}

.gto-asistan .dil-ok {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #fff;
}

.gto-asistan .dil-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 148px;
  padding: 6px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(28, 36, 56, .22);
  z-index: 6;
}

.gto-asistan .dil-menu[hidden] {
 display: none; 
}

.gto-asistan .dil-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 7px 8px;
  background: transparent;
  color: var(--mavi);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

.gto-asistan .dil-menu button svg {
 width: 22px; height: 14px; display: block; border-radius: 2px; 
}

.gto-asistan .dil-menu button.secili, .gto-asistan .dil-menu button:hover {
 background: #eef1fb; 
}

.gto-asistan #kapatBtn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  font-size: 24px;
}

.gto-asistan .akis {
  flex: 1;
  overflow: auto;
  padding: 14px;
  background: #f7f8fb;
}

.gto-asistan .katilim {
  margin: 4px 0 14px;
  text-align: center;
  color: #8b93a7;
  font-size: 13px;
}

.gto-asistan .konusmaci {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
}

.gto-asistan .yuz {
  display: block;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  background: transparent;
  animation: gnBas 3.2s ease-in-out infinite;
}

.gto-asistan .yuz img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
  background: transparent;
}

@keyframes gnBas {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.gto-asistan .konusmaci strong {
 font-size: 13px; color: #3c4660; 
}

.gto-asistan .satir {
 margin: 0 0 12px; animation: gnBelir .28s ease; 
}

.gto-asistan .satir-ben {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 8px;
}

.gto-asistan .secenekler {
 display: flex; flex-direction: column; gap: 8px; margin: 4px 0 12px; 
}

.gto-asistan .secenekler button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid #e1e5ee;
  border-radius: 999px;
  padding: 8px 14px 8px 8px;
  text-align: left;
  color: #3c4660;
  background: #fff;
  box-shadow: 0 1px 0 rgba(43, 57, 144, .04);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}

.gto-asistan .secenek-ikon {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--mavi);
  background: #eef1fb;
}

.gto-asistan .secenek-ikon svg {
 width: 18px; height: 18px; 
}

.gto-asistan .secenekler button:hover {
 border-color: var(--mavi); background: #f7f8fd; 
}

.gto-asistan .secenekler button:active {
 transform: scale(.985); 
}

.gto-asistan .mesaj-yuk {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  color: #6b7490;
}

.gto-asistan .mesaj-yuk em {
 font-style: normal; font-size: 13px; 
}

.gto-asistan .noktalar {
 display: inline-flex; gap: 4px; 
}

.gto-asistan .noktalar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mavi);
  animation: gnNokta 1s ease-in-out infinite;
}

.gto-asistan .noktalar i:nth-child(2) {
 animation-delay: .15s; 
}

.gto-asistan .noktalar i:nth-child(3) {
 animation-delay: .3s; 
}

@keyframes gnNokta {
  0%, 80%, 100% { opacity: .25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.gto-asistan .mesaj {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.gto-asistan .mesaj time, .gto-asistan .satir-ben time {
  display: block;
  margin-top: 6px;
  text-align: right;
  color: #5c6780;
  font-family: Cambria, "Palatino Linotype", "Times New Roman", serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .03em;
  white-space: nowrap;
}

.gto-asistan .satir-ben time {
 margin-top: 0; margin-bottom: 4px; 
}

@keyframes gnBelir {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.gto-asistan .mesaj-bot {
  background: #fff;
  color: #24304f;
  border: 1px solid #e6eaf2;
  font-family: Candara, Calibri, "Segoe UI", sans-serif;
  font-size: 15.5px;
  line-height: 1.55;
  letter-spacing: .012em;
}

.gto-asistan .mesaj-tek {
  max-width: 100%;
  white-space: nowrap;
  font-size: 13.5px;
}

.gto-asistan .mesaj-ben {
  margin-left: auto;
  color: #fff;
  background: var(--kirmizi);
  border-radius: 16px 16px 4px 16px;
}

.gto-asistan .kaynak {
 display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; 
}

.gto-asistan .kaynak a {
  color: var(--mavi);
  background: #eef1fb;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.gto-asistan .puan {
  padding: 16px 16px 14px;
  text-align: center;
  background: #fff;
  border-top: 1px solid #eef1f6;
  animation: gnBelir .28s ease;
}

.gto-asistan .puan[hidden] {
 display: none; 
}

.gto-asistan .puan p {
 margin: 0 0 10px; color: var(--mavi); font-weight: 700; 
}

.gto-asistan .yildizlar {
 display: flex; justify-content: center; gap: 6px; 
}

.gto-asistan .yildizlar button {
  width: 36px;
  height: 36px;
  border: 0;
  padding: 0;
  color: #d5d9e4;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform .15s ease, color .15s ease;
}

.gto-asistan .yildizlar button.dolu {
 color: var(--sari); 
}

.gto-asistan .yildizlar button:hover, .gto-asistan .yildizlar button:focus-visible {
 transform: scale(1.12); 
}

.gto-asistan .puan-gec {
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #8b93a7;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.gto-asistan .sohbet.puan-acik .yazi, .gto-asistan .sohbet.oturum-acik .yazi {
 display: none; 
}

.gto-asistan .oturum {
  padding: 14px 16px;
  text-align: center;
  background: #fff;
  border-top: 1px solid #eef1f6;
}

.gto-asistan .oturum[hidden] {
 display: none; 
}

.gto-asistan .oturum p {
 margin: 0 0 10px; color: var(--mavi); font-weight: 700; line-height: 1.4; 
}

.gto-asistan .oturum-sec {
 display: flex; justify-content: center; gap: 8px; 
}

.gto-asistan .oturum-sec button {
  min-width: 88px;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.gto-asistan #oturumEvet {
 color: #fff; background: var(--mavi); 
}

.gto-asistan #oturumHayir {
 color: var(--mavi); background: #eef1fb; 
}

.gto-asistan .yazi {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border-top: 1px solid #eef1f6;
}

.gto-asistan .yazi input {
  flex: 1;
  border: 1px solid #d5dced;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
}

.gto-asistan .yazi button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  color: #fff;
  background: linear-gradient(160deg, #ff4d4d 0%, #e30913 55%, #c40810 100%);
  box-shadow: 0 8px 16px rgba(227, 9, 19, .32);
}

.gto-asistan .yazi button svg {
 width: 22px; height: 22px; fill: currentColor; margin-left: 1px; 
}

.gto-asistan .yazi button:hover {
 transform: translateY(-1px); box-shadow: 0 10px 18px rgba(227, 9, 19, .4); 
}

.gto-asistan.acik .karsilama {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation-play-state: paused;
}

.gto-asistan.acik .sohbet {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.gto-asistan .yazi button {
 transition: transform .15s ease, background .15s ease; 
}

.gto-asistan .yazi button:active {
 transform: scale(.94); 
}

@media (prefers-reduced-motion: reduce) {
  .gto-asistan .karsilama, .gto-asistan .balon, .gto-asistan .mesaj, .gto-asistan .sohbet-igne, .gto-asistan .yuz {
 animation: none; 
}

  .gto-asistan .sohbet, .gto-asistan .karsilama, .gto-asistan .balon, .gto-asistan .mesaj {
 transition: none; 
}
}

@media (max-width: 760px) {
  .gto-asistan {
 right: 8px; bottom: 8px; 
}

  .gto-asistan .tetik, .gto-asistan .robot {
 width: 92px; height: 84px; 
}

  .gto-asistan .balon {
    width: 156px;
    margin: 0 6px 4px 0;
    padding: 8px 10px;
    font-size: 12.5px;
    line-height: 1.35;
  }

  .gto-asistan .sohbet {
    width: calc(100vw - 16px);
    height: min(480px, calc(100dvh - 20px));
  }

  .gto-asistan .sohbet-ust {
 min-height: 48px; 
}

  .gto-asistan .sohbet-baslik strong {
 font-size: 14px; 
}

  .gto-asistan .sohbet-yazi {
 height: 13px; 
}

  .gto-asistan .sohbet-igne {
 width: 26px; height: 26px; 
}
}

@media print {
  .gto-asistan { display: none !important; }
}
