.antx-replies {
  border-top: 1px solid #e2e8f0;
  padding-top: 8px;
}

.antx-replies-title {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  font-family: "Manrope", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.antx-replies-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 7px;
  border: 1px solid #fecaca;
  background: #ffe4e6;
  color: #ef4444;
  font-size: 11px;
  font-weight: 700;
}

.antx-replies-list {
  max-height: 180px;
  overflow-y: auto;
  overflow-x: hidden;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.antx-replies-empty {
  margin: 0 0 4px;
  font-size: 12px;
  color: #475569;
}

.antx-reply-item {
  border: 1px solid #e8edf5;
  border-radius: 12px;
  background: #f8fafc;
  padding: 10px 12px;
  margin: 0 0 6px;
}

.antx-reply-meta {
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.antx-reply-meta-left {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.antx-reply-avatar {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #0f172a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.antx-reply-author {
  font-size: 12px;
  color: #0f172a;
  font-weight: 700;
}

.antx-reply-date {
  font-size: 10px;
  color: #64748b;
  white-space: nowrap;
}

.antx-reply-body {
  margin: 0;
  font-size: 12px;
  color: #0f172a;
  line-height: 1.45;
}

.antx-reply-edit-wrap {
  display: none;
  margin: 6px 0 0;
}

.antx-reply-edit-input {
  display: block;
  width: 100%;
  min-height: 64px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #0f172a;
  background: #fff;
  resize: vertical;
  box-shadow: none;
  outline: none;
}

.antx-reply-edit-error {
  display: none;
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.3;
  color: #b91c1c;
  font-weight: 600;
}

.antx-reply-item-actions {
  display: inline-flex;
  gap: 6px;
  margin: 0;
}

.antx-reply-item-edit-actions {
  display: none;
  gap: 6px;
  margin: 0;
}

.antx-reply-item-edit,
.antx-reply-item-delete,
.antx-reply-item-save,
.antx-reply-item-cancel {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 7px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.antx-reply-item-edit {
  background: #e0e7ff;
  color: #3730a3;
}

.antx-reply-item-delete {
  background: #fee2e2;
  color: #b91c1c;
}

.antx-reply-item-save {
  background: #dcfce7;
  color: #166534;
}

.antx-reply-item-cancel {
  background: #e2e8f0;
  color: #0f172a;
}

.antx-reply-input {
  width: 100% !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 8px 10px !important;
  font-size: 12px !important;
  font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: #0f172a !important;
  resize: vertical !important;
  min-height: 60px !important;
  margin-bottom: 6px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
  outline: none !important;
}

.antx-reply-input::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.antx-reply-actions {
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

.antx-reply-send {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
  color: #fff !important;
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  border: 0 !important;
  pointer-events: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4) !important;
  outline: none !important;
  transition: background 0.15s ease, box-shadow 0.15s ease !important;
}

.antx-reply-send:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
  box-shadow: 0 3px 12px rgba(99, 102, 241, 0.5) !important;
}
