#yk-assistant {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 9990;
  font-family: Arial, sans-serif;
}

#yk-assistant * {
  box-sizing: border-box;
}

#yk-assistant .yk-chat-launcher {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 30px;
  padding: 12px 16px;
  background: #112b51;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 25px #112b5140;
}

#yk-assistant .yk-chat-launcher:hover {
  background: #194475;
}

#yk-assistant .yk-chat-panel {
  position: absolute;
  bottom: 58px;
  right: 0;
  width: min(365px, calc(100vw - 32px));
  max-height: min(570px, calc(100dvh - 155px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e0e8f2;
  border-radius: 18px;
  background: #fff;
  color: #14294a;
  box-shadow: 0 15px 55px #102b5033;
}

#yk-assistant .yk-chat-panel[hidden] {
  display: none !important;
}

#yk-assistant .yk-chat-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px;
  background: #112b51;
  color: #fff;
}

#yk-assistant .yk-chat-avatar {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: #244a79;
  font-size: 22px;
}

#yk-assistant .yk-chat-heading {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

#yk-assistant .yk-chat-heading strong {
  font-size: 14px;
}

#yk-assistant .yk-chat-heading small {
  color: #cbdcf3;
  font-size: 11px;
}

#yk-assistant .yk-chat-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 7px;
}

#yk-assistant .yk-chat-body {
  overflow-y: auto;
  padding: 20px 16px;
  background: #f7f9fd;
}

#yk-assistant .yk-chat-message {
  padding: 15px;
  border: 1px solid #e7edf5;
  border-radius: 13px;
  background: #fff;
  font-size: 13px;
  line-height: 1.6;
}

#yk-assistant .yk-chat-message strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}

#yk-assistant .yk-chat-message p {
  margin: 0;
}

#yk-assistant .yk-chat-options {
  display: grid;
  gap: 9px;
  margin-top: 15px;
}

#yk-assistant .yk-chat-option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 43px;
  padding: 12px 14px;
  border: 1px solid #dce5f1;
  border-radius: 10px;
  background: #fff;
  color: #14294a;
  text-align: left;
  text-decoration: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

#yk-assistant .yk-chat-option:hover {
  border-color: #1c5bb9;
  background: #edf5ff;
}

#yk-assistant .yk-chat-option--primary {
  justify-content: center;
  border-color: #188e49;
  background: #188e49;
  color: #fff;
}

#yk-assistant .yk-chat-option--primary:hover {
  background: #11783c;
  color: #fff;
}

#yk-assistant .yk-chat-footer {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid #e7edf5;
}

#yk-assistant .yk-chat-footer button {
  border: 0;
  background: transparent;
  color: #245aa0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

#yk-assistant .yk-chat-footer button[hidden] {
  display: none;
}

#yk-assistant .yk-chat-branding {
  padding: 9px;
  background: #f7f9fd;
  color: #687991;
  text-align: center;
  font-size: 10px;
}

#yk-assistant button:focus-visible,
#yk-assistant a:focus-visible {
  outline: 3px solid #f6b942;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  #yk-assistant {
    right: 14px;
    bottom: 76px;
  }

  #yk-assistant .yk-chat-launcher {
    padding: 11px 13px;
    font-size: 11px;
  }

  #yk-assistant .yk-chat-panel {
    right: 0;
    bottom: 55px;
    max-height: calc(100dvh - 150px);
  }
}

/* Yediiklim Asistan - Sol alt konum */
#yk-assistant {
  left: 22px !important;
  right: auto !important;
}

#yk-assistant .yk-chat-panel {
  left: 0 !important;
  right: auto !important;
}

@media (max-width: 640px) {
  #yk-assistant {
    left: 14px !important;
    right: auto !important;
  }
}



/* YEDIIKLIM ASISTAN - CLEAN LAUNCHER V5 */

#yk-assistant {
  left: 22px !important;
  right: auto !important;
}

#yk-assistant .yk-chat-panel {
  left: 0 !important;
  right: auto !important;
}

#yk-assistant > .yk-chat-launcher {
  all: unset !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: calc(100vw - 32px) !important;
  min-height: 58px !important;
  padding: 12px 22px !important;
  border: 2px solid white !important;
  border-radius: 999px !important;
  background: #ffc83d !important;
  color: #112b51 !important;
  font: 800 15px/1.3 Arial, sans-serif !important;
  cursor: pointer !important;
  box-shadow: 0 8px 25px rgba(0,0,0,.22) !important;
  transition: transform .2s ease !important;
}

#yk-assistant > .yk-chat-launcher::before,
#yk-assistant > .yk-chat-launcher::after,
#yk-assistant > .yk-chat-launcher span::before,
#yk-assistant > .yk-chat-launcher span::after {
  content: none !important;
  display: none !important;
}

#yk-assistant > .yk-chat-launcher > span {
  all: unset !important;
  box-sizing: border-box !important;
  display: inline !important;
  position: static !important;
  flex: none !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  color: #112b51 !important;
  -webkit-text-fill-color: #112b51 !important;
  font: inherit !important;
  line-height: inherit !important;
  white-space: nowrap !important;
  transform: none !important;
  opacity: 1 !important;
}

#yk-assistant > .yk-chat-launcher:hover {
  background: #ffda68 !important;
  transform: translateY(-2px) !important;
}

#yk-assistant > .yk-chat-launcher:focus-visible {
  outline: 3px solid #112b51 !important;
  outline-offset: 3px !important;
}

@media (max-width: 640px) {
  #yk-assistant {
    left: 14px !important;
    right: auto !important;
  }

  #yk-assistant > .yk-chat-launcher {
    min-height: 54px !important;
    padding: 10px 15px !important;
    font-size: 13px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #yk-assistant > .yk-chat-launcher {
    transition: none !important;
  }
}
