﻿/* KONSEY_AI_LIGHT_FINAL_RESET_V23 */
/* Koyu zemin yok. Açık panel, koyu yazı, lacivert vurgu. */

.konsey-ai-root,
.konsey-ai-root * {
  box-sizing: border-box !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

.konsey-ai-root {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  z-index: 999999 !important;
  color: #0f172a !important;
}

.konsey-ai-root .konsey-ai-button,
.konsey-ai-root button.konsey-ai-button {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 52px !important;
  padding: 0 18px !important;
  border: 1px solid #d7dee8 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  box-shadow: 0 14px 38px rgba(15, 23, 42, .18) !important;
  cursor: pointer !important;
}

.konsey-ai-root .konsey-ai-panel,
.konsey-ai-root .konsey-ai-window,
.konsey-ai-root .konsey-ai-chatbox {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  width: min(500px, calc(100vw - 28px)) !important;
  height: min(740px, calc(100vh - 42px)) !important;
  max-height: min(740px, calc(100vh - 42px)) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  border: 1px solid #d9e1ec !important;
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 26px 90px rgba(15, 23, 42, .22) !important;
}

.konsey-ai-root .konsey-ai-header,
.konsey-ai-root .konsey-ai-top,
.konsey-ai-root .konsey-ai-brand {
  flex: 0 0 auto !important;
  min-height: 78px !important;
  padding: 18px 20px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  border-bottom: 1px solid #e5eaf1 !important;
}

.konsey-ai-root .konsey-ai-title,
.konsey-ai-root .konsey-ai-header h1,
.konsey-ai-root .konsey-ai-header h2,
.konsey-ai-root .konsey-ai-header strong {
  color: #0f172a !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

.konsey-ai-root .konsey-ai-subtitle,
.konsey-ai-root .konsey-ai-header p,
.konsey-ai-root .konsey-ai-header span {
  color: #475569 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.konsey-ai-root .konsey-ai-close,
.konsey-ai-root .konsey-ai-minimize,
.konsey-ai-root .konsey-ai-header button,
.konsey-ai-root .konsey-ai-top button {
  width: 34px !important;
  height: 34px !important;
  border-radius: 12px !important;
  border: 1px solid #d9e1ec !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

.konsey-ai-root .konsey-ai-body,
.konsey-ai-root .konsey-ai-content,
.konsey-ai-root .konsey-ai-chat {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  background: #f6f8fb !important;
  color: #0f172a !important;
  overflow: hidden !important;
}

.konsey-ai-root .konsey-ai-messages {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 18px !important;
  background: #f6f8fb !important;
  color: #0f172a !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.konsey-ai-root .konsey-ai-message,
.konsey-ai-root .konsey-ai-msg,
.konsey-ai-root .konsey-ai-bubble,
.konsey-ai-root .konsey-ai-messages > *,
.konsey-ai-root [class*="message"],
.konsey-ai-root [class*="bubble"] {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
  white-space: pre-wrap !important;
  line-height: 1.55 !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  text-overflow: clip !important;
  color: #0f172a !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 12px 14px !important;
  margin: 0 0 12px 0 !important;
  font-size: 14.5px !important;
}

.konsey-ai-root .konsey-ai-message *,
.konsey-ai-root .konsey-ai-msg *,
.konsey-ai-root .konsey-ai-bubble *,
.konsey-ai-root [class*="message"] *,
.konsey-ai-root [class*="bubble"] * {
  color: #0f172a !important;
  background: transparent !important;
}

.konsey-ai-root .konsey-ai-user,
.konsey-ai-root [class*="user"] {
  background: #eef4ff !important;
  color: #0f172a !important;
  border-color: #cfe0ff !important;
}

.konsey-ai-root .konsey-ai-input,
.konsey-ai-root .konsey-ai-form,
.konsey-ai-root form {
  flex: 0 0 auto !important;
  display: flex !important;
  gap: 10px !important;
  padding: 14px !important;
  background: #ffffff !important;
  border-top: 1px solid #e5eaf1 !important;
}

.konsey-ai-root textarea,
.konsey-ai-root input {
  flex: 1 1 auto !important;
  min-height: 46px !important;
  max-height: 120px !important;
  border-radius: 14px !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  padding: 12px 13px !important;
  font-size: 14.5px !important;
  line-height: 1.4 !important;
  outline: none !important;
  resize: none !important;
}

.konsey-ai-root textarea::placeholder,
.konsey-ai-root input::placeholder {
  color: #64748b !important;
}

.konsey-ai-root button[type="submit"],
.konsey-ai-root .konsey-ai-send {
  flex: 0 0 auto !important;
  min-width: 92px !important;
  min-height: 46px !important;
  border-radius: 14px !important;
  border: 1px solid #102033 !important;
  background: #102033 !important;
  color: #ffffff !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

.konsey-ai-root .konsey-ai-footer,
.konsey-ai-root .konsey-ai-note,
.konsey-ai-root .konsey-ai-disclaimer {
  flex: 0 0 auto !important;
  padding: 10px 14px 14px !important;
  background: #ffffff !important;
  color: #64748b !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

/* Eski hızlı buton/CTA kalıntıları */
.konsey-ai-root a[href*="wa.me"],
.konsey-ai-root a[href^="tel:"],
.konsey-ai-root a[href*="/talep"],
.konsey-ai-root .konsey-ai-quick,
.konsey-ai-root .konsey-ai-shortcuts,
.konsey-ai-root .konsey-ai-chips,
.konsey-ai-root .konsey-ai-quick-actions {
  display: none !important;
}

/* Önceki koyu tema kalıntılarını ez */
.konsey-ai-root [style*="background: #071221"],
.konsey-ai-root [style*="background:#071221"],
.konsey-ai-root [style*="background: #0b1728"],
.konsey-ai-root [style*="background:#0b1728"],
.konsey-ai-root [style*="background: #111f34"],
.konsey-ai-root [style*="background:#111f34"] {
  background: #ffffff !important;
  color: #0f172a !important;
}

@media (max-width: 640px) {
  .konsey-ai-root {
    right: 12px !important;
    bottom: 12px !important;
  }

  .konsey-ai-root .konsey-ai-panel,
  .konsey-ai-root .konsey-ai-window,
  .konsey-ai-root .konsey-ai-chatbox {
    right: 10px !important;
    bottom: 10px !important;
    width: calc(100vw - 20px) !important;
    height: min(720px, calc(100vh - 20px)) !important;
    border-radius: 20px !important;
  }
}

/* KONSEY_AI_TEMP_HIDE_DIALOGFLOW_TRANSITION */
.konsey-ai-root {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

