#airarm-ai-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  font-family: Arial, sans-serif;
}

.airarm-ai-toggle {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.airarm-ai-toggle:hover {
  background: #333;
}

.airarm-ai-panel {
  position: absolute;
  right: 0;
  bottom: 58px;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #fff;
  color: #222;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
  border: 1px solid #ddd;
}

.airarm-ai-closed .airarm-ai-panel {
  display: none;
}

.airarm-ai-open .airarm-ai-panel {
  display: block;
}

.airarm-ai-header {
  background: #111;
  color: #fff;
  padding: 13px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.airarm-ai-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.airarm-ai-intro {
  padding: 12px 14px;
  background: #f5f5f5;
  font-size: 13px;
  line-height: 1.4;
  color: #444;
  border-bottom: 1px solid #e5e5e5;
}

.airarm-ai-messages {
  height: 260px;
  overflow-y: auto;
  padding: 14px;
  background: #fafafa;
}

.airarm-ai-message {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.airarm-ai-message-bot {
  background: #eee;
  color: #222;
  margin-right: 28px;
}

.airarm-ai-message-user {
  background: #111;
  color: #fff;
  margin-left: 28px;
  text-align: left;
}

.airarm-ai-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #e5e5e5;
  background: #fff;
}

.airarm-ai-question {
  flex: 1;
  resize: none;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 9px;
  font-size: 14px;
  line-height: 1.35;
}

.airarm-ai-question:focus {
  outline: none;
  border-color: #111;
}

.airarm-ai-send {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}

.airarm-ai-send:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.airarm-ai-note {
  padding: 9px 12px 12px;
  font-size: 12px;
  color: #666;
  background: #fff;
}

@media (max-width: 600px) {
  #airarm-ai-widget {
    right: 14px;
    bottom: 14px;
  }

  .airarm-ai-panel {
    width: calc(100vw - 28px);
    right: 0;
    bottom: 56px;
  }

  .airarm-ai-messages {
    height: 240px;
  }

  .airarm-ai-toggle {
    padding: 12px 17px;
    font-size: 14px;
  }
}