.AiChatWidget {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
}
.AiChatWidget.d-none {
  display: none;
}

.AiChatWidget-panel {
  width: 100%;
  max-width: 1050px;
  height: 640px;
  max-height: 88vh;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.AiChatWidget .Button:not(.AiChat-recording) {
  background-color: #3d9be5;
  border-color: #3d9be5;
  color: #fff;
  box-shadow: none;
  text-shadow: none;
}
.AiChatWidget .Button:not(.AiChat-recording):hover:not(:disabled) {
  border-color: #1667a6;
}
.AiChatWidget .Button:not(.AiChat-recording):focus {
  outline: 2px solid #13598f;
  outline-offset: 2px;
  box-shadow: none;
}
.AiChatWidget .Button:not(.AiChat-recording):disabled {
  opacity: 0.45;
}

.AiChatWidget .AiChat-offer-options {
  gap: 8px;
}
.AiChatWidget .AiChat-offer-options .Button.AiChat-offer-option {
  margin: 0;
}

.AiChat-action-card {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #2f80c4;
  border-radius: 8px;
  background: #f4f9fd;
  overflow-wrap: anywhere;
}
.AiChat-action-card-title {
  font-weight: 600;
}
.AiChat-action-card-description {
  margin-top: 6px;
  font-size: 13px;
  color: #555;
  white-space: pre-wrap;
}
.AiChat-action-card-status, .AiChat-action-card-hint {
  margin-top: 8px;
  font-size: 12px;
}
.AiChat-action-card-status-pending, .AiChat-action-card-hint {
  color: #666;
}
.AiChat-action-card-status-success {
  color: #267b32;
}
.AiChat-action-card-status-uncertain {
  color: #b3261e;
}
.AiChat-action-card-authorization {
  border-color: #e0a800;
  background: #fffaf0;
}
.AiChat-action-card-authorization .AiChat-action-card-title {
  color: #8a6100;
}

.AiChatWidget-header {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background-color: #3d9be5;
  color: #fff;
}
.AiChatWidget-header .Icon:first-child {
  font-size: 16px;
}

.AiChatWidget-header-title {
  flex: 1;
  font-weight: 600;
  font-size: 15px;
}

.AiChatWidget-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.AiChatWidget-header-btn {
  cursor: pointer;
  opacity: 1;
  font-size: 20px;
  font-weight: 900;
}
.AiChatWidget-header-btn:hover {
  opacity: 1;
}

.AiChatWidget .AiChat {
  flex: 1;
  display: flex;
  overflow: hidden;
  background-color: #f4f6f9;
}

.AiChatWidget .AiChat-sidebar {
  flex: 0 0 250px;
  width: 250px;
  min-width: 250px;
  max-width: 250px;
  background-color: #fff;
  border-right: 1px solid #e2e6ea;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.AiChatWidget .AiChat-sidebar-header {
  padding: 7.5px;
  border-bottom: 1px solid #e2e6ea;
}

.AiChatWidget .AiChat-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}

.AiChatWidget .AiChat-list,
.AiChatWidget .AiChat-messages {
  scrollbar-width: thin;
  scrollbar-color: #d7dde2 transparent;
}
.AiChatWidget .AiChat-list::-webkit-scrollbar,
.AiChatWidget .AiChat-messages::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.AiChatWidget .AiChat-list::-webkit-scrollbar-track,
.AiChatWidget .AiChat-messages::-webkit-scrollbar-track {
  background: transparent;
}
.AiChatWidget .AiChat-list::-webkit-scrollbar-thumb,
.AiChatWidget .AiChat-messages::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: #d7dde2;
}
.AiChatWidget .AiChat-list::-webkit-scrollbar-thumb:hover,
.AiChatWidget .AiChat-messages::-webkit-scrollbar-thumb:hover {
  background: #c7cfd6;
}

.AiChatWidget .AiChat-list-empty {
  padding: 24px 12px;
  color: #888;
  font-size: 13px;
  text-align: center;
}

.AiChatWidget .AiChat-list-item {
  display: flex;
  align-items: center;
}
.AiChatWidget .AiChat-list-item.active {
  background-color: #3d9be5;
  border-color: #3d9be5;
  text-shadow: none;
}
.AiChatWidget .AiChat-list-item:hover .AiChat-list-item-actions, .AiChatWidget .AiChat-list-item:focus-within .AiChat-list-item-actions {
  opacity: 1;
}
.AiChatWidget .AiChat-list-item.active .AiChat-list-item-btn {
  color: #fff;
}

.AiChatWidget .AiChat-list-item-title {
  flex: 1;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 8px;
}

.AiChatWidget .AiChat-list-item-actions {
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 100ms linear;
}

.AiChatWidget .AiChat-list-item-btn {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 4px 6px;
  font-size: 12px;
  border-radius: 4px;
  opacity: 0.7;
}
.AiChatWidget .AiChat-list-item-btn:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.08);
}

.AiChatWidget .AiChat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.AiChatWidget .AiChat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.AiChatWidget .AiChat-empty {
  margin: auto;
  text-align: center;
  color: #888;
  padding: 12px;
}

.AiChatWidget .AiChat-empty-icon {
  font-size: 36px;
  color: #000;
  opacity: 0.5;
  margin-bottom: 12px;
}

.AiChatWidget .AiChat-empty-title {
  font-size: 15px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}

.AiChatWidget .AiChat-empty-list {
  color: #444;
  font-size: 12px;
  margin-top: 8px;
  padding-left: 22px;
  text-align: left;
}
.AiChatWidget .AiChat-empty-list > * {
  line-height: 2.2;
}
.AiChatWidget .AiChat-empty-list > * .Icon {
  margin-right: 8px;
}

.AiChatWidget .AiChat-message {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.AiChatWidget .AiChat-message-bubble {
  padding: 9px 12px;
  border-radius: 12px;
  max-width: 80%;
  word-wrap: break-word;
  line-height: 1.4;
  font-size: 15px;
}
.AiChatWidget .AiChat-message-bubble > :last-child {
  margin-bottom: 0;
}
.AiChatWidget .AiChat-message-bubble h3 {
  font-size: 120%;
  font-weight: bold;
}
.AiChatWidget .AiChat-message-bubble h4 {
  font-size: 110%;
  font-weight: bold;
}
.AiChatWidget .AiChat-message-bubble ul,
.AiChatWidget .AiChat-message-bubble ol {
  margin: 6px 0;
  padding-left: 20px;
}
.AiChatWidget .AiChat-message-bubble ol {
  list-style: decimal;
}
.AiChatWidget .AiChat-message-bubble ul {
  list-style: disc;
}
.AiChatWidget .AiChat-message-bubble li {
  margin-bottom: 3px;
}
.AiChatWidget .AiChat-message-bubble table {
  margin: 10px 0 16px 0;
  border-collapse: collapse;
  font-size: 11px;
}
.AiChatWidget .AiChat-message-bubble table th,
.AiChatWidget .AiChat-message-bubble table td {
  padding: 4px 8px;
  border: 1px solid #dfe4e8;
  text-align: left;
  vertical-align: top;
}
.AiChatWidget .AiChat-message-bubble table th {
  background-color: #f2f5f7;
  font-weight: 600;
  color: #333;
}
.AiChatWidget .AiChat-message-bubble table tbody tr:nth-child(even) td {
  background-color: #fafbfc;
}

.AiChatWidget .AiChat-message-user {
  align-items: flex-end;
}
.AiChatWidget .AiChat-message-user .AiChat-message-bubble {
  background-color: #3d9be5;
  color: #fff;
  border-bottom-right-radius: 3px;
}

.AiChatWidget .AiChat-message-has-audio .AiChat-message-bubble {
  width: min(100%, 234px);
}

.AiChatWidget .AiChat-message-has-audio .AiChat-message-attachment-audio,
.AiChatWidget .AiChat-message-has-audio .AiChat-audio-player {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.AiChatWidget .AiChat-message-assistant {
  align-items: flex-start;
}
.AiChatWidget .AiChat-message-assistant .AiChat-message-bubble {
  background-color: #fff;
  color: #333;
  border: 1px solid #e2e6ea;
  border-bottom-left-radius: 3px;
}

.AiChatWidget .AiChat-thinking .AiChat-message-bubble {
  padding: 9px 12px;
}

.AiChatWidget .AiChat-thinking-text {
  color: inherit;
  font: inherit;
}

.AiChatWidget .AiChat-thinking-dots::after {
  content: ".";
  animation: aichatwidget-pensando-dots 1.2s steps(1, end) infinite;
}

@keyframes aichatwidget-pensando-dots {
  0%, 33.333% {
    content: ".";
  }
  33.334%, 66.666% {
    content: "..";
  }
  66.667%, 100% {
    content: "...";
  }
}
.AiChatWidget .AiChat-message-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

.AiChatWidget .AiChat-message-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6b7280;
  cursor: pointer;
  font-size: 11px;
  transition: color 100ms linear;
}
.AiChatWidget .AiChat-message-export-btn:hover {
  color: #3d9be5;
}

.AiChatWidget .AiChat-message-export-icon {
  font-size: 10px;
}

.AiChatWidget .AiChat-message-clock {
  margin-top: 6px;
  padding: 0 4px;
  color: #9aa5b1;
  font-size: 12px;
}

.AiChatWidget .AiChat-thinking-notice {
  color: #6b5100;
  font-size: 12px;
  margin-top: 6px;
}

.AiChatWidget .AiChat-load-older {
  display: flex;
  justify-content: center;
}

.AiChatWidget .AiChat-load-older-btn {
  background-color: #fff;
  border: 1px solid #e2e6ea;
  color: #3d9be5;
  cursor: pointer;
  padding: 5px 14px;
  font-size: 12px;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: background-color 100ms linear;
}
.AiChatWidget .AiChat-load-older-btn:hover {
  background-color: rgba(61, 155, 229, 0.1);
}
.AiChatWidget .AiChat-load-older-btn:disabled {
  cursor: default;
  opacity: 0.6;
}

.AiChatWidget .AiChat-input {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 14px;
  background-color: #fff;
  border-top: 1px solid #e2e6ea;
}
.AiChatWidget .AiChat-input .FormControl {
  resize: none;
  line-height: 18px;
  min-height: 36px;
  max-height: 90px;
  overflow-y: hidden;
  font-size: 15px;
  padding: 8px 10px;
  border-color: #cad2d9;
  color: #0f1112;
}
.AiChatWidget .AiChat-input .FormControl::placeholder {
  color: #adb5bd;
  opacity: 1;
}
.AiChatWidget .AiChat-input .FormControl:focus:not(:disabled):not(.disabled) {
  background-color: #fff !important;
  border-color: #3d9be5 !important;
  box-shadow: none;
}

.AiChatWidget .AiChat-actionsbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.AiChatWidget .AiChat-actionsbar-text {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  color: #3d9be5;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}

.AiChatWidget .AiChat-actionsbar-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

#aichat-widget .AiChat-actionsbar-buttons .Button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  margin-left: 0;
  font-size: 14px;
  line-height: 1;
}
#aichat-widget .AiChat-actionsbar-buttons .Button:disabled {
  opacity: 0.45;
}

.AiChatWidget #aichat-record-button.AiChat-recording {
  background-color: #c0392b;
  border-color: #c0392b;
  animation: aichatwidget-piscar 1.4s ease-in-out infinite;
}

@keyframes aichatwidget-piscar {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}
.AiChatWidget .AiChat-disabled-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 14px;
  padding: 8px 12px;
  background-color: #fff3cd;
  border: 1px solid #ffe69c;
  border-radius: 6px;
  color: #664d03;
  font-size: 13px;
}
.AiChatWidget .AiChat-disabled-banner.d-none {
  display: none;
}

.AiChatWidget .AiChat-attachment-queue,
.ReportChat .AiChat-attachment-queue {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px;
}
.AiChatWidget .AiChat-attachment-queue.d-none,
.ReportChat .AiChat-attachment-queue.d-none {
  display: none;
}

.AiChatWidget .AiChat-attachment-chip,
.ReportChat .AiChat-attachment-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 220px;
  padding: 6px 10px;
  border-radius: 16px;
  background-color: #f4f6f9;
  border: 1px solid #e2e6ea;
  font-size: 13px;
  color: #444;
}
.AiChatWidget .AiChat-attachment-chip img,
.ReportChat .AiChat-attachment-chip img {
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: 3px;
}
.AiChatWidget .AiChat-attachment-chip span,
.ReportChat .AiChat-attachment-chip span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.AiChatWidget .AiChat-attachment-chip-remove,
.ReportChat .AiChat-attachment-chip-remove {
  cursor: pointer;
  color: #999;
  font-size: 13px;
}
.AiChatWidget .AiChat-attachment-chip-remove:hover,
.ReportChat .AiChat-attachment-chip-remove:hover {
  color: #c0392b;
}

.AiChatWidget button.AiChat-attachment-chip-remove,
.ReportChat button.AiChat-attachment-chip-remove {
  background: transparent;
  border: 0;
  padding: 0 3px;
  flex-shrink: 0;
}
.AiChatWidget button.AiChat-attachment-chip-remove:focus-visible,
.ReportChat button.AiChat-attachment-chip-remove:focus-visible {
  outline: 2px solid #3d9be5;
  outline-offset: 2px;
}

.AiChatWidget .AiChat-message-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.AiChatWidget .AiChat-message-attachment {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.05);
  font-size: 13px;
}
.AiChatWidget .AiChat-message-attachment .Icon {
  font-size: 16px;
}
.AiChatWidget .AiChat-message-attachment img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}
.AiChatWidget .AiChat-message-attachment .AiChat-audio-player {
  flex: 1 1 auto;
  min-width: 0;
}

.AiChatWidget .AiChat-message-print {
  max-width: 100%;
  padding: 6px;
}
.AiChatWidget .AiChat-message-print a {
  display: block;
  max-width: 100%;
}
.AiChatWidget .AiChat-message-print img {
  display: block;
  width: 420px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.AiChat-audio-player {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 160px;
}

.AiChat-audio-player-element {
  display: none;
}

.AiChat-audio-player-button,
.AiChat-audio-player-speed,
.AiChat-audio-player-volume {
  border: 0;
  appearance: none;
  font: inherit;
  cursor: pointer;
  background: rgba(61, 155, 229, 0.12);
  color: #3d9be5;
}
.AiChat-audio-player-button:hover,
.AiChat-audio-player-speed:hover,
.AiChat-audio-player-volume:hover {
  background: rgba(61, 155, 229, 0.22);
}

.AiChat-audio-player-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.AiChat-audio-player-button .fa-solid {
  display: flex;
  align-items: center;
  justify-content: center;
}

.AiChat-audio-player-volume {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.AiChat-audio-player-speed.AiChat-audio-player-speed-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  padding: 0;
}

.AiChat-audio-player-bar {
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px 0;
  cursor: pointer;
}
.AiChat-audio-player-bar:focus-visible {
  outline: 2px solid #3d9be5;
  outline-offset: 2px;
}

.AiChat-audio-player-track {
  position: relative;
  height: 4px;
  border-radius: 2px;
  background: rgba(61, 155, 229, 0.2);
}

.AiChat-audio-player-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: #3d9be5;
}

.AiChat-audio-player-thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3d9be5;
  box-shadow: 0 0 0 2px #fff;
  transform: translate(-50%, -50%);
}

.AiChat-audio-player-speed {
  flex: 0 0 auto;
  padding: 3px 6px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1;
}

.AiChat-audio-player-time {
  flex: 0 0 auto;
  min-width: 30px;
  color: #6c7a89;
  font-size: 11px;
  line-height: 1;
  text-align: right;
}

.AiChat-audio-player-preview {
  padding: 3px 10px;
  border-radius: 999px;
  background: #f1f7fb;
}
.AiChat-audio-player-preview .AiChat-audio-player-button,
.AiChat-audio-player-preview .AiChat-audio-player-speed,
.AiChat-audio-player-preview .AiChat-audio-player-volume {
  background: rgba(47, 141, 204, 0.12);
  color: #2f8dcc;
}
.AiChat-audio-player-preview .AiChat-audio-player-button:hover,
.AiChat-audio-player-preview .AiChat-audio-player-speed:hover,
.AiChat-audio-player-preview .AiChat-audio-player-volume:hover {
  background: rgba(47, 141, 204, 0.22);
}
.AiChat-audio-player-preview .AiChat-audio-player-track {
  background: rgba(47, 141, 204, 0.18);
}
.AiChat-audio-player-preview .AiChat-audio-player-fill,
.AiChat-audio-player-preview .AiChat-audio-player-thumb {
  background: #2f8dcc;
}
.AiChat-audio-player-preview .AiChat-audio-player-thumb {
  box-shadow: 0 0 0 2px #f1f7fb;
}
.AiChat-audio-player-preview .AiChat-audio-player-time {
  color: #2570a3;
}
.AiChat-audio-player-preview .AiChat-audio-player-button:focus-visible,
.AiChat-audio-player-preview .AiChat-audio-player-speed:focus-visible,
.AiChat-audio-player-preview .AiChat-audio-player-volume:focus-visible,
.AiChat-audio-player-preview .AiChat-audio-player-bar:focus-visible {
  outline-color: #2f8dcc;
}

.AiChatWidget .AiChat-attachment-chip-audio,
.ReportChat .AiChat-attachment-chip-audio {
  width: 100%;
  flex: 0 0 100%;
  max-width: none;
  margin-right: 0;
  padding: 4px 8px 4px 10px;
  border-color: #d9e8f2;
  background: #f8fbfd;
}

.AiChatWidget .AiChat-attachment-chip-audio .AiChat-attachment-chip-remove,
.ReportChat .AiChat-attachment-chip-audio .AiChat-attachment-chip-remove {
  flex: 0 0 auto;
  margin-left: 6px;
  color: #c0392b;
  font-size: 16px;
  line-height: 1;
}

.AiChat-attachment-chip-audio-icon {
  flex: 0 0 auto;
  color: #2f8dcc;
  font-size: 13px;
}

.AiChat-audio-player-button i,
.AiChat-audio-player-volume i,
.AiChat-audio-player-speed-icon i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  margin: 0;
}

.AiChat-attachment-chip-audio-player {
  flex: 1 1 auto;
  min-width: 0;
}

.AiChat-attachment-chip-audio-label {
  flex: 0 1 auto;
  min-width: 0;
  margin-right: 10px;
  overflow: hidden;
  color: #607672;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 700px) {
  .AiChatWidget .AiChat-sidebar {
    flex: 0 0 185px;
    width: 185px;
    min-width: 185px;
    max-width: 185px;
  }
}
@media (max-width: 576px) {
  .AiChatWidget {
    padding: 0;
  }

  .AiChatWidget-panel {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }

  .AiChatWidget .AiChat {
    flex-direction: column;
  }

  .AiChatWidget .AiChat-sidebar {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    max-height: 140px;
    border-right: 0;
    border-bottom: 1px solid #e2e6ea;
  }
}

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