#aschke-chatbot-root {
  --primary: var(--aschke-primary, #f39ca5);
  --primary-dark: #e88792;
  --primary-light: #fff1f3;
  --text: #2f2f2f;
  --border: #f3d7db;
  --bg: #ffffff;
  --shadow: 0 20px 50px rgba(243, 156, 165, 0.22);
  font-family: Inter, Arial, sans-serif;
}

#aschke-chatbot-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 16px 36px rgba(243, 156, 165, 0.35);
  color: #fff;
  cursor: pointer;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

#aschke-chatbot-toggle:hover {
  transform: translateY(-2px) scale(1.02);
}

.aschke-chatbot-toggle-icon {
  font-size: 28px;
  line-height: 1;
}

#aschke-chatbot-popup {
  position: fixed;
  right: 20px;
  bottom: 96px;
  width: 380px;
  max-width: calc(100vw - 24px);
  z-index: 999999;
}

#aschke-chatbot-popup.aschke-chatbot-hidden {
  display: none;
}

#aschke-chatbot-popup .aschke-chatbot-window {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

#aschke-chatbot-popup .aschke-chatbot-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

#aschke-chatbot-popup .aschke-chatbot-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

#aschke-chatbot-popup .aschke-chatbot-header-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

#aschke-chatbot-popup .aschke-chatbot-header-text strong {
  font-size: 16px;
  line-height: 1.2;
}

#aschke-chatbot-popup .aschke-chatbot-header-text span {
  font-size: 13px;
  opacity: 0.95;
}

#aschke-chatbot-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

#aschke-chatbot-popup .aschke-chatbot-messages {
  height: 420px;
  overflow-y: auto;
  padding: 18px;
  background: linear-gradient(to bottom, #fffafb 0%, #ffffff 100%);
}

#aschke-chatbot-popup .aschke-message {
  display: flex;
  margin-bottom: 14px;
}

#aschke-chatbot-popup .aschke-bot {
  justify-content: flex-start;
}

#aschke-chatbot-popup .aschke-user {
  justify-content: flex-end;
}

#aschke-chatbot-popup .aschke-bubble {
  max-width: 85%;
  padding: 12px 14px;
  border-radius: 18px;
  line-height: 1.55;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

#aschke-chatbot-popup .aschke-bot .aschke-bubble {
  background: var(--primary-light);
  color: var(--text);
  border-bottom-left-radius: 6px;
}

#aschke-chatbot-popup .aschke-user .aschke-bubble {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-bottom-right-radius: 6px;
}

#aschke-chatbot-popup .aschke-chatbot-form {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border-top: 1px solid var(--border);
  background: #fff;
}

#aschke-chatbot-popup input[type="text"] {
  flex: 1;
  border: 1px solid var(--border);
  background: #fff7f8;
  border-radius: 999px;
  padding: 13px 16px;
  outline: none;
  font-size: 14px;
}

#aschke-chatbot-popup input[type="text"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(243, 156, 165, 0.12);
}

#aschke-chatbot-popup .aschke-send-btn {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 24px rgba(243, 156, 165, 0.22);
}

#aschke-chatbot-popup .aschke-links {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 13px;
}

#aschke-chatbot-popup .aschke-links strong {
  display: block;
  margin-bottom: 6px;
}

#aschke-chatbot-popup .aschke-links ul {
  margin: 0;
  padding-left: 18px;
}

#aschke-chatbot-popup .aschke-links li {
  margin-bottom: 4px;
}

#aschke-chatbot-popup .aschke-links a {
  color: #d96f7c;
  text-decoration: none;
  font-weight: 600;
}

#aschke-chatbot-popup .aschke-links a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  #aschke-chatbot-toggle {
    right: 14px;
    bottom: 14px;
    width: 58px;
    height: 58px;
  }

  #aschke-chatbot-popup {
    right: 12px;
    bottom: 82px;
    width: calc(100vw - 24px);
  }

  #aschke-chatbot-popup .aschke-chatbot-messages {
    height: 360px;
  }
}