/* [project]/widget/src/styles.css.css [app-client] (css) */
.pisd-chat-root {
  z-index: 99999;
  font-family: system-ui, -apple-system, sans-serif;
  position: fixed;
}

.pisd-chat-root.bottom-right {
  bottom: 20px;
  right: 20px;
}

.pisd-chat-root.bottom-left {
  bottom: 20px;
  left: 20px;
}

.pisd-chat-toggle {
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px #0003;
}

.pisd-chat-panel {
  background: #fff;
  border-radius: 16px;
  flex-direction: column;
  width: 360px;
  max-width: calc(100vw - 24px);
  height: 520px;
  min-height: 0;
  max-height: calc(100vh - 120px);
  margin-bottom: 12px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 16px 40px #0000002e;
}

.pisd-chat-header {
  color: #fff;
  flex-shrink: 0;
  padding: 12px 16px;
  font-weight: 600;
}

.pisd-chat-messages {
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  background: #f8fafc;
  flex-direction: column;
  flex: auto;
  gap: 8px;
  min-height: 0;
  padding: 12px;
  display: flex;
  overflow: hidden auto;
}

.pisd-chat-messages-anchor {
  flex-shrink: 0;
  height: 1px;
}

.pisd-chat-bubble {
  border-radius: 12px;
  max-width: 85%;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.4;
}

.pisd-chat-bubble.user {
  background: #e2e8f0;
  align-self: flex-end;
}

.pisd-chat-bubble.assistant {
  background: #fff;
  border: 1px solid #e2e8f0;
  align-self: flex-start;
}

.pisd-chat-bubble-thinking {
  align-items: center;
  gap: 6px;
  min-height: 36px;
  display: inline-flex;
}

.pisd-chat-thinking-text {
  color: #64748b;
  font-size: 13px;
}

.pisd-chat-thinking-dots {
  align-items: center;
  gap: 4px;
  height: 12px;
  display: inline-flex;
}

.pisd-chat-thinking-dots span {
  background: #94a3b8;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  animation: 1.2s ease-in-out infinite pisd-thinking-dot;
}

.pisd-chat-thinking-dots span:nth-child(2) {
  animation-delay: .15s;
}

.pisd-chat-thinking-dots span:nth-child(3) {
  animation-delay: .3s;
}

@keyframes pisd-thinking-dot {
  0%, 80%, 100% {
    opacity: .35;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.pisd-chat-input-row {
  border-top: 1px solid #e2e8f0;
  flex-shrink: 0;
  gap: 8px;
  padding: 12px;
  display: flex;
}

.pisd-chat-input-row input {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  flex: 1;
  padding: 8px 10px;
}

.pisd-chat-input-row button {
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
}

.pisd-chat-feedback {
  flex-shrink: 0;
  gap: 8px;
  padding: 0 12px 8px;
  display: flex;
}

.pisd-chat-feedback button {
  cursor: pointer;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
}

.pisd-form-overlay {
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  z-index: 100000;
  background: #0f172a8c;
  justify-content: center;
  align-items: center;
  padding: 16px;
  display: flex;
  position: fixed;
  inset: 0;
}

.pisd-form-modal {
  background: #fff;
  border-radius: 16px;
  flex-direction: column;
  width: min(480px, 100%);
  max-height: min(92vh, 720px);
  display: flex;
  overflow: hidden;
  box-shadow: 0 24px 60px #0f172a38;
}

.pisd-form-header {
  color: #fff;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  display: flex;
}

.pisd-form-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.pisd-form-header p {
  opacity: .92;
  margin: 6px 0 0;
  font-size: .8125rem;
  line-height: 1.45;
}

.pisd-form-close {
  color: #fff;
  cursor: pointer;
  background: #fff3;
  border: none;
  border-radius: 8px;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  font-size: 1.25rem;
  line-height: 1;
}

.pisd-form-body {
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  display: flex;
  overflow-y: auto;
}

.pisd-form-fields {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

.pisd-field label {
  color: #0f172a;
  margin-bottom: 6px;
  font-size: .8125rem;
  font-weight: 500;
  display: block;
}

.pisd-field-required {
  color: #dc2626;
  margin-left: 4px;
}

.pisd-field input, .pisd-field textarea, .pisd-field select {
  color: #0f172a;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  width: 100%;
  padding: 9px 11px;
  font-size: .875rem;
  line-height: 1.4;
}

.pisd-field input:focus, .pisd-field textarea:focus, .pisd-field select:focus {
  border-color: #0f766e;
  outline: 2px solid #0f766e40;
}

.pisd-field textarea {
  resize: vertical;
  min-height: 96px;
}

.pisd-field-help {
  color: #64748b;
  margin: 6px 0 0;
  font-size: .75rem;
}

.pisd-field-paragraph .pisd-paragraph-title {
  color: #0f172a;
  margin: 0 0 6px;
  font-size: .875rem;
  font-weight: 600;
}

.pisd-field-paragraph .pisd-paragraph-body {
  color: #475569;
  white-space: pre-wrap;
  margin: 0;
  font-size: .8125rem;
  line-height: 1.5;
}

.pisd-privacy {
  color: #334155;
  cursor: pointer;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  font-size: .75rem;
  line-height: 1.45;
  display: flex;
}

.pisd-privacy input {
  flex-shrink: 0;
  margin-top: 2px;
}

.pisd-form-error {
  color: #b91c1c;
  margin: 0;
  font-size: .8125rem;
}

.pisd-form-actions {
  justify-content: flex-end;
  gap: 8px;
  padding-top: 4px;
  display: flex;
}

.pisd-btn-secondary, .pisd-btn-primary {
  cursor: pointer;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: .875rem;
  font-weight: 500;
}

.pisd-btn-secondary {
  color: #0f172a;
  background: #fff;
  border: 1px solid #cbd5e1;
}

.pisd-btn-primary {
  color: #fff;
  border: none;
}

.pisd-btn-primary:disabled {
  opacity: .7;
  cursor: not-allowed;
}

/*# sourceMappingURL=widget_src_styles_css_1x3bdkr8pt4hw.css.map*/