#chatpoint-ai-widget-root {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
  font-family: Arial, sans-serif;
}

.chatpoint-ai-launcher {
  border: 0;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.25);
}

.chatpoint-ai-panel {
  width: min(360px, calc(100vw - 32px));
  height: 480px;
  margin-bottom: 12px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
}

.chatpoint-ai-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0f766e, #115e59);
  color: #fff;
}

.chatpoint-ai-close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.chatpoint-ai-panel__messages {
  flex: 1;
  padding: 16px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8fafc;
}

.chatpoint-ai-message {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.4;
}

.chatpoint-ai-message--bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.chatpoint-ai-message--user {
  align-self: flex-end;
  background: #0f766e;
  color: #fff;
}

.chatpoint-ai-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

.chatpoint-ai-input {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
}

.chatpoint-ai-send {
  border: 0;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 640px) {
  #chatpoint-ai-widget-root {
    right: 16px;
    left: 16px;
    bottom: 16px;
  }

  .chatpoint-ai-panel {
    width: 100%;
    height: 70vh;
  }
}
