.pcgpt-chat-wrapper {
  max-width: 700px;
  margin: 20px 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
    Cantarell, "Helvetica Neue", sans-serif;
}

.pcgpt-title {
  margin: 0 0 5px;
  color: var(--TEXT, #3f3d3d);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%; /* 21.7px */
  letter-spacing: -0.14px;
}

.pcgpt-form {
  margin: 0;
}

.pcgpt-input-group {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  position: relative;
}

.pcgpt-textarea-wrapper {
  flex: 1;
  position: relative;
}

.pcgpt-input-icon {
  position: absolute;
  top: 20px;
  left: 20px;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.pcgpt-input-icon svg {
  width: 30px;
  height: 26px;
}

.pcgpt-question {
  width: 100%;
  padding: 9px 60px 9px 60px;
  background: #fff;
  box-sizing: border-box;
  transition: all 0.3s ease;
  color: var(--TEXT, #3f3d3d);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  line-height: 17px;
  border-radius: 12px;
  border: 2px solid transparent;

  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(45deg, #ff6000, #b664db) border-box;

  box-shadow: 0 0 63.553px 10.472px rgba(255, 96, 0, 0.25);
  min-height: 73px;
  resize: vertical;

  padding-top: 26px;
}

.pcgpt-question:focus {
  outline: none;
  border-color: #2271b1;
  box-shadow: 0 0 63.553px 10.472px #2271b1;
}

.pcgpt-submit {
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
  position: absolute;
  right: 20px;
  top: 12px;
}

.pcgpt-submit:hover {
  opacity: 0.8;
}

.pcgpt-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pcgpt-submit-icon svg {
  display: block;
  width: 50px;
  height: 50px;
}

.pcgpt-response {
  margin-top: 20px;
  padding: 20px;
  background: #f6f7f7;
  border: 1px solid #dcdde1;
  border-radius: 8px;
  line-height: 1.7;
  font-size: 15px;
}

.pcgpt-response-content {
  color: #1d2327;
}

.pcgpt-response-content p {
  margin: 0 0 12px;
}

.pcgpt-response-content p:last-child {
  margin-bottom: 0;
}

.pcgpt-response-content ul,
.pcgpt-response-content ol {
  margin: 8px 0 12px 20px;
}

.pcgpt-response.pcgpt-error {
  background: #fcf0f1;
  border-color: #d63638;
}

.pcgpt-response.pcgpt-error .pcgpt-response-content {
  color: #8a1116;
}

.pcgpt-response.pcgpt-loading {
  background: #f0f6fc;
  border-color: #2271b1;
}

.pcgpt-response.pcgpt-loading .pcgpt-response-content {
  color: #2271b1;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Fade-in animation */
.pcgpt-response.pcgpt-fade-in {
  animation: pcgptFadeIn 0.3s ease-in-out;
}
.pcgpt-loading-spinner {
  position: absolute;
  width: 24px;
  height: 24px;
  top: 12px;
  right: 10px;
}
@keyframes pcgptFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
