/* Mercado Fácil Online - Estilos Globais Unificados */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  color: #1e293b;
  width: 100%;
}

body.page-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

/* Gradients por Página */
body.bg-home {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
}

body.bg-admin {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
}

body.bg-cadastro {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

body.bg-painel {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

/* Container de Cartão Centralizado */
.container {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px 20px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
}

@media (min-width: 768px) {
  .container {
    max-width: 850px;
    padding: 50px 40px;
  }
}

.container-wide {
  max-width: 580px;
}

@media (max-width: 480px) {
  body {
    padding: 10px;
  }
  .container {
    padding: 20px 14px;
    border-radius: 16px;
  }
}

/* Cabeçalho do Cartão */
.icone {
  text-align: center;
  font-size: 40px;
  margin-bottom: 10px;
}

h1 {
  text-align: center;
  color: #1e40af;
  font-size: 24px;
  margin-bottom: 5px;
  font-weight: bold;
}

body.bg-admin h1 {
  color: #dc2626;
}

body.bg-cadastro h1 {
  color: #d97706;
}

body.bg-painel h1 {
  color: #16a34a;
}

.subtitulo {
  text-align: center;
  color: #64748b;
  margin-bottom: 25px;
  font-size: 15px;
}

/* Botões Globais */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  margin-bottom: 12px;
  transition: all 0.2s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn:active {
  transform: translateY(0);
}

.btn-azul {
  background: #2563eb;
  color: white;
}
.btn-azul:hover {
  background: #1d4ed8;
}

.btn-vermelho {
  background: #ef4444;
  color: white;
}
.btn-vermelho:hover {
  background: #dc2626;
}

.btn-laranja {
  background: #f59e0b;
  color: white;
}
.btn-laranja:hover {
  background: #d97706;
}

.btn-verde {
  background: #22c55e;
  color: white;
}
.btn-verde:hover {
  background: #16a34a;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 6px;
  width: auto;
  margin-bottom: 0;
}

/* Botão Voltar */
.btn-voltar, .voltar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 18px;
  transition: all 0.2s ease;
  text-align: center;
  cursor: pointer;
}

.btn-voltar:hover, .voltar:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: translateY(-1px);
}

/* Indicadores de Páginas */
.indicadores {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.ponto {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e5e7eb;
  transition: background 0.3s ease;
}

.ponto.ativo {
  background: #3b82f6;
}

body.bg-admin .ponto.ativo {
  background: #ef4444;
}

body.bg-cadastro .ponto.ativo {
  background: #f59e0b;
}

body.bg-painel .ponto.ativo {
  background: #22c55e;
}

/* Alert Boxes */
.alert {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 18px;
  display: none;
  line-height: 1.4;
}

.alert-erro {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.alert-sucesso {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.alert-aviso {
  background: #fefce8;
  color: #854d0e;
  border: 1px solid #fef08a;
}

/* Formulários */
.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

label {
  font-size: 14px;
  font-weight: bold;
  color: #334155;
}

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  background-color: #f8fafc;
  transition: all 0.2s ease;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

input:focus, textarea:focus, select:focus {
  background-color: #ffffff;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

body.bg-cadastro input:focus, body.bg-cadastro textarea:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

body.bg-admin input:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

/* Menu do Painel */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 15px;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  background-color: #f0fdf4;
  border: 2px solid #bbf7d0;
  border-radius: 12px;
  color: #166534;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-item:hover {
  background-color: #bbf7d0;
  border-color: #16a34a;
  transform: translateX(4px);
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.12);
}

/* Caixa de Explicação */
.caixa-explicacao {
  background: #f8fafc;
  border-left: 4px solid #16a34a;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: #334155;
  margin-bottom: 18px;
  line-height: 1.4;
}

/* Lista e Tabela de Produtos */
.produtos-lista {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.produto-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.produto-card:hover {
  border-color: #16a34a;
  background: #ffffff;
}

.produto-info h4 {
  font-size: 15px;
  color: #0f172a;
  margin-bottom: 4px;
}

.produto-info p {
  font-size: 13px;
  color: #64748b;
}

.produto-acoes {
  display: flex;
  gap: 6px;
}

.btn-editar {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
}

.btn-editar:hover {
  background: #2563eb;
}

.btn-excluir {
  background: #ef4444;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
}

.btn-excluir:hover {
  background: #dc2626;
}

/* Cards de Estatísticas / Vendas */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.stat-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 14px;
  border-radius: 10px;
  text-align: center;
}

.stat-valor {
  font-size: 18px;
  font-weight: bold;
  color: #15803d;
  margin-top: 4px;
}

.stat-rotulo {
  font-size: 12px;
  color: #166534;
  font-weight: bold;
}

.stat-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

/* Responsividade e Utilitários Mobile */
.tabela-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 12px;
}

.tabela-responsive table {
  width: 100%;
  min-width: 320px;
}

@media (max-width: 600px) {
  .btn {
    padding: 12px 14px;
    font-size: 14px;
  }
  .icone {
    font-size: 32px;
    margin-bottom: 6px;
  }
  h1 {
    font-size: 20px;
  }
  .subtitulo {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .menu-item {
    padding: 12px 14px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .produto-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .produto-acoes {
    width: 100%;
    justify-content: flex-end;
  }
}

/* ==========================================================================
   ESTILOS DO AGENTE ASSISTENTE TÉCNICO & HEALTH CHECK
   ========================================================================== */
.assistente-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeIn 0.25s ease;
}

.assistente-header-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  border-radius: 14px;
  padding: 18px 16px;
  border: 1px solid #334155;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
}

.assistente-header-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.assistente-avatar {
  font-size: 34px;
  background: #1e293b;
  border: 2px solid #38bdf8;
  border-radius: 12px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
  flex-shrink: 0;
}

.assistente-title {
  font-size: 18px;
  font-weight: bold;
  color: #38bdf8;
  margin-bottom: 2px;
  line-height: 1.2;
}

.assistente-subtitle {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
}

.assistente-health-bar {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media(min-width: 600px) {
  .assistente-health-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.assistente-health-info {
  font-size: 12px;
  color: #cbd5e1;
}

.btn-assistente-scan {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
  white-space: nowrap;
}

.btn-assistente-scan:hover {
  background: linear-gradient(135deg, #0369a1, #075985);
  transform: translateY(-1px);
}

.assistente-health-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

@media(min-width: 600px) {
  .assistente-health-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.health-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 16px;
  font-size: 13px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.health-card {
  background: #1e293b;
  border-radius: 8px;
  padding: 10px 12px;
  border-left: 4px solid #64748b;
  font-size: 12px;
}

.health-card.ok {
  border-left-color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
}

.health-card.warn {
  border-left-color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
}

.health-card.error {
  border-left-color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

.health-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.health-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
}

.health-badge.ok { background: #166534; color: #bbf7d0; }
.health-badge.warn { background: #854d0e; color: #fef08a; }
.health-badge.error { background: #991b1b; color: #fecaca; }

.health-card-desc {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.3;
}

/* Tabs do Assistente */
.assistente-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-tab-assistente {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-tab-assistente:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.btn-tab-assistente.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0369a1;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

/* Painel de Formulário */
.assistente-body-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.assistente-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #0f172a;
  margin-bottom: 8px;
}

.assistente-hint {
  font-size: 11px;
  color: #64748b;
  font-weight: normal;
}

.assistente-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  color: #1e293b;
  resize: vertical;
  min-height: 80px;
  box-sizing: border-box;
}

.assistente-textarea:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.assistente-chips-wrapper {
  margin-top: 10px;
}

.chips-label {
  font-size: 11px;
  font-weight: bold;
  color: #64748b;
  display: block;
  margin-bottom: 6px;
}

.assistente-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip-item {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip-item:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-1px);
}

/* Dropzone de Imagem */
.assistente-dropzone {
  border: 2px dashed #94a3b8;
  border-radius: 10px;
  background: #f8fafc;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.assistente-dropzone:hover, .assistente-dropzone.drag-active {
  border-color: #0284c7;
  background: #f0f9ff;
}

.dropzone-icon {
  font-size: 32px;
  margin-bottom: 6px;
}

.dropzone-text {
  font-size: 13px;
  color: #1e293b;
  margin-bottom: 4px;
}

.dropzone-sub {
  font-size: 11px;
  color: #64748b;
}

.assistente-image-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px;
  margin-top: 10px;
}

.preview-img-box {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.preview-img-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.img-badge {
  font-size: 11px;
  font-weight: bold;
  color: #0369a1;
  background: #e0f2fe;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

.btn-remover-img-assistente {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
}

.assistente-input-text {
  width: 100%;
  padding: 8px 10px;
  font-size: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-sizing: border-box;
}

/* Botão Principal */
.btn-assistente-principal {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
  transition: all 0.2s ease;
}

.btn-assistente-principal:hover {
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  transform: translateY(-1px);
}

/* Área de Resultado */
.assistente-result-box {
  background: #ffffff;
  border: 2px solid #0284c7;
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.12);
  animation: fadeIn 0.3s ease;
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 6px;
}

.result-badge-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-severidade {
  font-size: 11px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 6px;
  background: #e0f2fe;
  color: #0369a1;
}

.badge-severidade.crítica, .badge-severidade.alta {
  background: #fee2e2;
  color: #dc2626;
}

.badge-severidade.média {
  background: #fef3c7;
  color: #d97706;
}

.badge-categoria {
  font-size: 11px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
}

.result-time {
  font-size: 11px;
  color: #64748b;
}

.result-section {
  margin-bottom: 14px;
}

.result-title {
  font-size: 13px;
  font-weight: bold;
  color: #0f172a;
  margin-bottom: 6px;
}

.result-diag-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0284c7;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #334155;
}

.result-files-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
}

.files-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.func-badge {
  font-size: 10px;
  background: #e2e8f0;
  color: #475569;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

.prompt-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.btn-copiar-prompt {
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-copiar-prompt:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.btn-copiar-prompt.copiado {
  background: #16a34a;
}

.prompt-instructions {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 6px;
}

.prompt-code-block {
  background: #0f172a;
  color: #f8fafc;
  padding: 12px;
  border-radius: 8px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 11px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid #334155;
}

.auto-reparo-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.auto-reparo-icon {
  font-size: 24px;
}

.auto-reparo-info {
  flex: 1;
  font-size: 12px;
  color: #166534;
}

.btn-auto-reparo {
  background: #16a34a;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
}

.btn-auto-reparo:hover {
  background: #15803d;
}

/* Histórico */
.assistente-history-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
}

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

.history-title {
  font-size: 13px;
  font-weight: bold;
  color: #334155;
}

.btn-limpar-history {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 11px;
  cursor: pointer;
  text-decoration: underline;
}

.btn-limpar-history:hover {
  color: #ef4444;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-empty {
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  padding: 12px;
}

.history-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.history-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.history-tag-origem {
  font-size: 10px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
}

.history-item-info strong {
  font-size: 12px;
  color: #0f172a;
  display: block;
}

.history-item-meta {
  font-size: 10px;
  color: #64748b;
}

.btn-history-view {
  background: #0284c7;
  color: #ffffff;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-history-view:hover {
  background: #0369a1;
}

