.bookly-support-root {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  font-family: "Google Sans", system-ui, -apple-system, sans-serif;
}

.bookly-support-launcher {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: #1a5f4a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.bookly-support-launcher:hover {
  background: #144a3a;
}

.bookly-support-panel {
  display: none;
  flex-direction: column;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 100px);
  margin-bottom: 12px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.bookly-support-panel.is-open {
  display: flex;
}

.bookly-support-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #1a5f4a;
  color: #fff;
}

.bookly-support-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.bookly-support-close {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.bookly-support-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #f7f7f5;
}

.bookly-support-message {
  max-width: 85%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.bookly-support-message.is-user {
  margin-left: auto;
  background: #dcefe8;
  color: #123528;
}

.bookly-support-message.is-agent {
  background: #fff;
  border: 1px solid #e4e4e0;
  color: #222;
}

.bookly-support-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: #fff;
}

.bookly-support-input {
  flex: 1;
  border: 1px solid #d0d0cb;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
}

.bookly-support-send {
  border: none;
  border-radius: 10px;
  padding: 0 14px;
  background: #1a5f4a;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.bookly-support-send:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.bookly-support-status {
  padding: 0 16px 8px;
  font-size: 12px;
  color: #666;
  background: #fff;
}

.bookly-support-toolbar {
  display: flex;
  justify-content: flex-end;
  padding: 0 12px 8px;
  background: #fff;
  border-top: 1px solid #e4e4e0;
}

.bookly-support-reset {
  border: none;
  background: transparent;
  color: #1a5f4a;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bookly-support-reset:hover:not(:disabled) {
  color: #144a3a;
}

.bookly-support-reset:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
