.gt-conversation-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  min-height: 5em;
  color: #8c96a5;
}

.gt-chat-spinner {
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #3b75c3;
  border-radius: 50%;
  animation: gt-spin 0.8s linear infinite;
}

@keyframes gt-spin {
  to { transform: rotate(360deg); }
}

.gt-chat-message-row.user {
  justify-content: flex-end;
}

.gt-chat-message-row.assistant {
  justify-content: flex-start;
}

.gt-chat-message span {
  display: block;
  overflow-wrap: anywhere;
  word-break: break-word;
  margin: 0;
}

.gt-chat-message p {
  margin: 0;
  padding: 0;
}

.gt-chat-message pre,
.gt-chat-message code {
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.gt-chat-message.user {
  background: #2858a8;
  color: #fff;
}

.gt-chat-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.gt-chat-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

.gt-order-pill.expandable {
  cursor: pointer;
}

.gt-order-pill.expandable:hover {
  background: linear-gradient(180deg, #3b75c3, #2858a8);
  transform: translateY(-1px);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.gt-order-pill-wrapper.open .gt-order-pill-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.gt-order-pill-wrapper.open .gt-order-pill-dropdown {
  max-height: 500px;
  opacity: 1;
}

.gt-order-field-label::after {
  content: ": ";
}

.gt-order-empty {
  margin: 1em 0;
  padding: 1em 1.25em;
  border: 1px solid #d97706;
  border-left: 4px solid #f59e0b;
  border-radius: 0.5em;
  background: #422d13;
  color: #ffdb9b;
  text-align: center;
}

.gt-offer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1em;
}

.gt-offer-header h3 {
  margin-top: 0;
}

.gt-offer-date {
  color: #9aa7bb;
  font-size: 0.85em;
}

.gt-offer-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2em;
  color: #a8b3c2;
  text-align: right;
  white-space: nowrap;
}

.gt-offer-price strong {
  color: #8ee0ae;
  font-size: 1.25em;
}

.gt-offer-price small {
  color: #9aa7bb;
}

.gt-offer-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12em, 1fr));
  gap: 0.75em 1.25em;
  margin-top: 1em;
}

.gt-offer-detail {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  min-width: 0;
}

.gt-offer-detail span {
  color: #9aa7bb;
  font-size: 0.85em;
}

.gt-offer-detail strong {
  color: #f1f4f8;
  overflow-wrap: anywhere;
}

.gt-offers-empty-action {
  display: block;
  margin: 1em auto 0;
  padding: 0.65em 1em;
  border: 0;
  border-radius: 0.5em;
  background: #3b75c3;
  color: #fff;
  cursor: pointer;
}
