/********************************************
 * HISTÓRICO DE AÇÕES (COMPONENTE TIMELINE)
 * Autor: Darlan Paiva | EPDP MPMG
 ********************************************/

/* Container principal */
.hist-premium {
  background: #ffffff;          /* Branco puro para PDF */
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  max-width: 520px;
  margin: auto;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

/* Título */
.hist-title {
  text-align: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
  color: #8b0000;              /* Vermelho escuro */
  font-weight: 700;
}

/* Grupo por dia */
.hist-dia {
  margin-bottom: 16px;
}

.hist-dia-titulo {
  font-weight: 700;
  margin: 10px 0 6px;
  color: #333333;
  font-size: 0.9rem;
}

/* Item */
.hist-item {
  display: flex;
  gap: 10px;
  background: #fafafa;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
  border-left: 4px solid #cccccc;
  transition: transform 0.25s ease, background 0.25s ease;
}

.hist-item:hover {
  transform: translateX(5px);
  background: #f0f0f0;
}

/* Tipos de ação */
.hist-item.envio { border-left-color: #0072ff; }
.hist-item.envio .hist-acao { color: #0072ff; }

.hist-item.alteracao { border-left-color: #ffaa00; }
.hist-item.alteracao .hist-acao { color: #ffaa00; }

.hist-item.cancelamento { border-left-color: #d00000; }
.hist-item.cancelamento .hist-acao { color: #d00000; }

.hist-item.concluido { border-left-color: #009933; }
.hist-item.concluido .hist-acao { color: #009933; }

.hist-item.padrao { border-left-color: #888888; }
.hist-item.padrao .hist-acao { color: #444444; }

/* Avatar */
.hist-avatar {
  width: 28px;
  height: 28px;
  background: #8b0000;
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Corpo do item */
.hist-body {
  flex: 1;
}

/* Linha 1 */
.hist-linha1 {
  display: flex;
  gap: 6px;
  align-items: center;
  font-weight: 600;
}

.hist-icone { font-size: 1.1rem; }

/* Badge "Novo" */
.hist-novo {
  background: #d00000;
  padding: 1px 4px;            /* menor */
  border-radius: 4px;
  color: #ffffff;
  font-size: 0.55rem;          /* menor */
  margin-left: auto;
  font-weight: bold;
}

/* Linha 2 */
.hist-linha2 {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 2px;
  display: flex;
  justify-content: space-between;
}

/* Botão exportar */
.hist-botao-export {
  background: #8b0000;
  color: #ffffff;
  border: none;
  padding: 4px 10px;     /* DIMINUÍDO */
  font-size: 12px;       /* DIMINUÍDO */
  border-radius: 6px;    /* Mais compacto */
  margin-bottom: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hist-botao-export:hover {
  background: #600000;
  transform: translateY(-2px);
}

/* Animações */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.07); }
  100% { transform: scale(1); }
}























