* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.chat-container {
  width: 100%;
  max-width: var(--chat-max-width);
  height: 90vh;
  max-height: var(--chat-max-height);
  background: var(--chat-bg);
  background-image: var(--chat-bg-pattern);
  border-radius: var(--chat-border-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--chat-shadow);
  border: var(--chat-border);
}

/* Header */
.chat-header {
  background: linear-gradient(var(--header-gradient-direction), var(--header-bg-start) 0%, var(--header-bg-end) 100%);
  padding: var(--header-padding);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.avatar {
  width: var(--avatar-size);
  height: var(--avatar-size);
  border-radius: var(--avatar-border-radius);
  overflow: hidden;
  background: var(--avatar-bg);
  flex-shrink: 0;
  position: relative;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Status online indicator */
.avatar::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: var(--status-size);
  height: var(--status-size);
  background: var(--status-color);
  border-radius: 50%;
  border: 2px solid var(--header-bg-start);
  display: var(--status-display, block);
}

.avatar.no-status::after {
  display: none;
}

.header-info {
  display: flex;
  flex-direction: column;
}

.header-info .name {
  color: var(--header-text);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
}

.header-info .status {
  color: var(--header-text);
  opacity: 0.8;
  font-size: var(--font-size-small);
}

/* Messages Area */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: var(--bubble-gap);
  background: var(--chat-bg);
  background-image: var(--chat-bg-pattern);
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

/* Message Bubbles */
.message {
  max-width: var(--bubble-max-width);
  padding: var(--bubble-padding);
  border-radius: var(--bubble-border-radius);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.message.bot {
  background: var(--bubble-bot-bg);
  color: var(--bubble-bot-text);
  box-shadow: var(--bubble-bot-shadow);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.message.user {
  background: var(--bubble-user-bg);
  color: var(--bubble-user-text);
  box-shadow: var(--bubble-user-shadow);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* ==================== MÍDIA (Imagem, Áudio, Vídeo) ==================== */

.message.image,
.message.bot.image {
  padding: 0;
  background: transparent;
  box-shadow: none;
  max-width: 300px;
}

.message.image img,
.message.bot.image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Áudio */
.message.audio,
.message.bot.audio {
  padding: 8px;
  background: var(--bubble-bot-bg);
  border-radius: 12px;
  max-width: 300px;
}

.message.audio audio,
.message.bot.audio audio {
  width: 100%;
  min-width: 250px;
  max-width: 300px;
  height: 40px;
  display: block;
}

/* Vídeo */
.message.video,
.message.bot.video {
  padding: 0;
  background: transparent;
  box-shadow: none;
  max-width: 400px;
  width: 100%;
}

.message.video video,
.message.bot.video video {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Iframe de vídeo (YouTube, Vimeo) */
.message.video > div,
.message.bot.video > div {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  overflow: hidden;
}

.message.video iframe,
.message.bot.video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Embed */
.message.embed,
.message.bot.embed {
  padding: 0;
  background: transparent;
  box-shadow: none;
  max-width: 100%;
  width: 100%;
}

.message.embed iframe,
.message.bot.embed iframe {
  width: 100%;
  border: none;
  display: block;
  border-radius: 8px;
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: var(--bubble-padding);
  background: var(--bubble-bot-bg);
  border-radius: var(--bubble-border-radius);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  animation: fadeInUp 0.3s ease;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background: var(--button-bg);
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

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

/* Input Area */
.chat-input {
  padding: 15px 20px;
  background: var(--input-bg);
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--input-border);
  flex-shrink: 0;
}

.chat-input input {
  flex: 1;
  padding: var(--input-padding);
  height: var(--input-height);
  border: 1px solid var(--input-border);
  border-radius: var(--input-border-radius);
  background: var(--input-bg);
  color: var(--input-text);
  font-size: var(--font-size-base);
  font-family: var(--font-family);
  outline: none;
  transition: border-color var(--transition-fast);
}

.chat-input input:focus {
  border-color: var(--button-bg);
}

.chat-input input::placeholder {
  color: var(--input-placeholder);
}

.chat-input button {
  padding: var(--button-padding);
  background: var(--button-bg);
  color: var(--button-text);
  border: none;
  border-radius: var(--button-border-radius);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  font-family: var(--font-family);
  cursor: pointer;
  transition: background var(--transition-fast);
  box-shadow: var(--button-shadow);
}

.chat-input button:hover {
  background: var(--button-hover);
}

/* Buttons Area */
.chat-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: transparent;
  flex-shrink: 0;
}

.chat-buttons:empty {
  display: none;
}

/* Botões normais */
.option-btn {
  padding: var(--button-padding);
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text);
  border: 2px solid var(--button-secondary-border);
  border-radius: var(--button-border-radius);
  font-size: var(--font-size-base);
  font-weight: 500;
  font-family: var(--font-family);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.option-btn:hover {
  background: var(--button-bg);
  color: var(--button-text);
  border-color: var(--button-bg);
}

.option-btn:active {
  transform: scale(0.98);
}

/* ==================== BOTÕES COM IMAGEM ==================== */
.image-buttons-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.image-option-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--widget-verification-bg);
  border: 2px solid var(--widget-verification-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  width: 100%;
}

.image-option-btn:hover {
  border-color: var(--button-bg);
  background: rgba(47, 165, 24, 0.05);
}

.image-option-btn:active {
  transform: scale(0.98);
}

.image-option-btn img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.image-btn-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.image-btn-label {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  color: var(--bubble-bot-text);
  line-height: 1.3;
}

.image-btn-sublabel {
  font-size: 11px;
  color: var(--button-bg);
  font-weight: 500;
}

/* ==================== VERIFICAÇÃO ==================== */

@keyframes vbPopIn {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes vbFadeSlide {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.verification-box {
  width: 100%;
  max-width: 340px;
  font-family: var(--font-family);
  display: flex;
  flex-direction: column;
  background: var(--widget-verification-bg);
  border: 1px solid var(--widget-verification-border);
  border-radius: 16px;
  padding: 20px;
  align-self: flex-start;
  animation: fadeInUp 0.4s ease;
}

.vb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.vb-header-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--widget-verification-text);
}

.vb-header-percent {
  font-size: 13px;
  color: var(--widget-verification-icon);
  font-weight: 700;
}

.vb-progress-bar {
  height: 4px;
  background: var(--widget-verification-border);
  border-radius: 4px;
  margin-bottom: 16px;
  overflow: hidden;
}

.vb-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--widget-verification-icon);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.vb-content {
  display: flex;
  gap: 12px;
  flex: 1;
}

.vb-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}

.vb-timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--widget-verification-border);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.vb-timeline-dot.done { background: var(--widget-verification-icon); }
.vb-timeline-dot.active { background: #fbbf24; animation: vbPopIn 0.3s ease; }

.vb-timeline-line {
  width: 2px;
  height: 40px;
  background: var(--widget-verification-border);
  transition: background 0.3s ease;
}

.vb-timeline-line.done { background: var(--widget-verification-icon); }

.vb-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.vb-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: transparent;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.vb-step.done {
  background: var(--chat-bg);
  border: 1px solid var(--widget-verification-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.vb-step-icon {
  font-size: 18px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.vb-step.done .vb-step-icon,
.vb-step.active .vb-step-icon { opacity: 1; }

.vb-step-info { flex: 1; min-width: 0; }

.vb-step-label { font-size: 11px; color: var(--widget-verification-label); }

.vb-step-value {
  font-size: 13px;
  color: var(--widget-verification-text);
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vb-step.done .vb-step-value { opacity: 1; }

.vb-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 16px;
  padding: 40px 0;
}

.vb-loading.show { display: flex; }

.vb-loading-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--widget-analysis-bg-start), var(--widget-analysis-bg-end));
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vbPopIn 0.5s ease;
  font-size: 24px;
}

.vb-loading-text { color: var(--widget-verification-label); font-size: 13px; font-weight: 500; }

.vb-data {
  display: none;
  flex-direction: column;
  flex: 1;
  animation: vbFadeSlide 0.4s ease;
}

.vb-data.show { display: flex; }

.vb-data-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px;
  background: #dcfce7;
  border-radius: 12px;
}

.vb-data-header-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--widget-verification-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vb-data-header-title { font-size: 13px; font-weight: 700; color: #166534; }
.vb-data-header-subtitle { font-size: 11px; color: #16a34a; }

.vb-data-list { display: flex; flex-direction: column; gap: 6px; flex: 1; }

.vb-data-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--chat-bg);
  border-radius: 8px;
  border: 1px solid var(--widget-verification-border);
}

.vb-data-item-label { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--widget-verification-label); }

.vb-data-item-value {
  font-size: 12px;
  color: var(--widget-verification-text);
  font-weight: 600;
  text-align: right;
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vb-steps-phase { display: flex; flex-direction: column; flex: 1; }
.vb-steps-phase.vb-hide { display: none; }
.vw-hidden { display: none !important; }

/* ==================== ANÁLISE ==================== */

.analysis-box {
  width: 100%;
  max-width: 340px;
  background: var(--chat-bg);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--widget-shadow);
  border: 1px solid var(--widget-verification-border);
  align-self: flex-start;
  animation: fadeInUp 0.4s ease;
}

.ab-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ab-header-title { font-size: 14px; font-weight: 600; color: var(--bubble-bot-text); }
.ab-header-percent { font-size: 20px; font-weight: 700; color: var(--widget-verification-icon); }

.ab-progress-bar { height: 8px; background: var(--widget-verification-border); border-radius: 4px; overflow: hidden; margin-bottom: 24px; }
.ab-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--widget-analysis-bg-start), var(--widget-analysis-bg-end)); border-radius: 4px; transition: width 1s ease; }

.ab-steps { display: flex; flex-direction: column; gap: 6px; }

.ab-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--widget-verification-bg);
  border-radius: 10px;
  border: 1px solid var(--widget-verification-border);
  transition: all 0.3s ease;
}

.ab-step.done { background: #f0fdf4; border-color: #bbf7d0; }

.ab-step-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--widget-verification-border);
  color: var(--widget-verification-label);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.ab-step.done .ab-step-icon { background: var(--widget-verification-icon); color: #fff; }
.ab-step-label { font-size: 13px; color: var(--widget-verification-label); font-weight: 400; transition: all 0.3s ease; flex: 1; }
.ab-step.done .ab-step-label { color: #166534; font-weight: 500; }
.ab-step-check { color: var(--widget-verification-icon); font-size: 12px; opacity: 0; transition: opacity 0.3s ease; }
.ab-step.done .ab-step-check { opacity: 1; }

.ab-spinner { width: 14px; height: 14px; border: 2px solid var(--widget-verification-label); border-top-color: var(--widget-verification-icon); border-radius: 50%; animation: spin 0.8s linear infinite; }
.ab-check-svg { width: 14px; height: 14px; }

.ab-mensagem-final {
  margin-top: 20px;
  padding: 14px;
  background: linear-gradient(135deg, var(--widget-analysis-bg-start), var(--widget-analysis-bg-end));
  border-radius: 10px;
  text-align: center;
  color: var(--widget-analysis-text);
  font-weight: 600;
  font-size: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.ab-mensagem-final.show { opacity: 1; transform: translateY(0); }

/* ==================== SLIDER ==================== */

.slider-box {
  width: 100%;
  max-width: 340px;
  min-height: 580px !important;
  background: var(--chat-bg);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  align-self: flex-start;
  animation: fadeInUp 0.4s ease;
}

.sb-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--bubble-bot-text);
  margin-bottom: 8px;
}

.sb-subtitulo {
  font-size: 14px;
  color: var(--widget-verification-label);
  margin-bottom: 12px;
}

/* Valor em destaque (estilo da segunda imagem) */
.sb-valor-destaque {
  font-size: 36px;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 20px;
  line-height: 1.1;
}

/* Container do slider */
.sb-slider-container {
  margin-bottom: 24px;
}

.sb-slider {
  width: 100%;
  height: 10px;
  border-radius: 10px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  outline: none;
  background: linear-gradient(to right, var(--widget-verification-icon) 0%, var(--widget-verification-border) 0%);
}

.sb-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--widget-slider-thumb);
  border: 4px solid #22c55e;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.5);
  transition: transform 0.15s ease;
}

.sb-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.sb-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--widget-slider-thumb);
  border: 4px solid #22c55e;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.5);
}

.sb-slider:disabled { opacity: 0.6; cursor: not-allowed; }

/* Labels do slider (min e max) */
.sb-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 13px;
  color: var(--widget-verification-label);
}

/* Grid de parcelas - fontes maiores */
.sb-parcelas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.sb-parcela-btn {
  padding: 14px 10px;
  background: var(--widget-verification-bg);
  border: 2px solid var(--widget-verification-border);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--bubble-bot-text);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sb-parcela-btn:hover { background: var(--widget-verification-border); border-color: #d1d5db; }
.sb-parcela-btn.active { background: #dcfce7; border-color: var(--widget-verification-icon); color: #166534; }
.sb-parcela-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Info de juros - fontes maiores */
.sb-info-juros {
  background: var(--widget-slider-bg);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid #dcfce7;
}

.sb-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  text-align: center;
}

.sb-info-item { padding: 0 12px; }
.sb-info-item:first-child { padding-left: 0; }
.sb-info-item:last-child { border-left: 1px solid #d1fae5; padding-right: 0; }
.sb-info-label { font-size: 13px; color: var(--widget-verification-label); margin-bottom: 6px; }
.sb-info-value { font-size: 20px; font-weight: 700; color: #166534; }

/* Botão confirmar - maior */
.sb-btn-confirmar {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.sb-btn-confirmar:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(34, 197, 94, 0.35); }
.sb-btn-confirmar:disabled { opacity: 0.8; cursor: not-allowed; }
.sb-btn-confirmar.hide { display: none; }
.sb-btn-content { display: flex; align-items: center; justify-content: center; gap: 8px; }
.sb-spinner { width: 20px; height: 20px; border: 2px solid #fff; border-top-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }

/* Mensagem de sucesso - maior */
.sb-sucesso {
  background: #dcfce7;
  color: #166534;
  padding: 18px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  display: none;
  text-align: center;
}

.sb-sucesso.show { display: block; }

/* ==================== RECIBO ==================== */

.receipt-box {
  position: relative;
  width: 100%;
  max-width: 340px;
  font-family: 'Courier New', monospace;
  align-self: flex-start;
  animation: fadeInUp 0.4s ease;
}

.rc-recibo { background: var(--widget-receipt-bg); padding: 24px 20px 30px; box-shadow: var(--widget-shadow); position: relative; border-radius: 8px 8px 0 0; }

.rc-header { border-bottom: 2px dashed var(--widget-receipt-border); padding-bottom: 16px; margin-bottom: 16px; text-align: center; }
.rc-subtitle { font-size: 10px; color: var(--widget-verification-label); text-transform: uppercase; letter-spacing: 2px; }
.rc-title { font-size: 18px; font-weight: 700; color: var(--widget-receipt-text); margin-top: 4px; }
.rc-dots { font-size: 10px; color: var(--widget-verification-label); margin-top: 4px; }

.rc-dados { margin-bottom: 16px; }
.rc-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.rc-label { font-size: 11px; color: var(--widget-verification-label); }
.rc-value { font-size: 12px; font-weight: 600; color: var(--widget-receipt-text); text-align: right; max-width: 200px; word-break: break-word; }

.rc-linha-tracejada { border-top: 1px dashed var(--widget-receipt-border); margin: 16px 0; }
.rc-linha-dupla { border-top: 2px dashed var(--widget-receipt-border); margin: 16px 0; }

.rc-composicao-title { font-size: 10px; color: var(--widget-verification-label); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.rc-item-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.rc-item-nome { font-size: 11px; color: var(--widget-verification-label); }
.rc-item-valor { font-size: 11px; color: var(--widget-receipt-text); }

.rc-total-box { display: flex; justify-content: space-between; align-items: center; background: var(--widget-receipt-header); padding: 12px; border-radius: 4px; border: 1px dashed var(--widget-receipt-border); }
.rc-total-label { font-size: 12px; font-weight: 600; color: var(--bubble-bot-text); }
.rc-total-value { font-size: 22px; font-weight: 700; color: var(--widget-receipt-total); }

.rc-codigo-barras { margin-top: 20px; text-align: center; }
.rc-barras { display: flex; justify-content: center; gap: 2px; margin-bottom: 6px; }
.rc-barra { height: 30px; background: var(--widget-receipt-text); }
.rc-codigo-numero { font-size: 9px; color: var(--widget-verification-label); letter-spacing: 2px; }

.rc-papel-rasgado { position: relative; height: 20px; overflow: hidden; }
.rc-papel-rasgado svg { display: block; }

.rc-bolinhas { position: absolute; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; }
.rc-bolinhas-esq { left: -6px; }
.rc-bolinhas-dir { right: -6px; }
.rc-bolinha { width: 12px; height: 12px; border-radius: 50%; background: var(--chat-bg); border: 1px solid var(--chat-bg); }

/* Error Message */
.error-message { background: var(--color-error) !important; color: #fff !important; }

/* ==================== PIX CHECKOUT ==================== */
.pix-checkout-container {
  width: 100%;
  max-width: 100%;
  margin: 10px 0;
  border-radius: 12px;
  overflow: hidden;
  animation: fadeInUp 0.4s ease;
}

.pix-checkout-container iframe {
  display: block;
  background: #fff;
}

/* Mobile */
@media (max-width: 480px) {
  body { padding: 0; }
  .chat-container { height: 100vh; max-height: none; border-radius: 0; }
  .image-option-btn img { width: 50px; height: 50px; }
  .image-btn-label { font-size: 12px; }
  .image-btn-sublabel { font-size: 10px; }
}
