/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilo geral */
body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    color: #333;
    padding: 20px;
}

/* Cabeçalho */
header {
    background-color: #1e88e5;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Painel principal */
.painel {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.painel h2 {
    margin-bottom: 15px;
    color: #1e88e5;
}

/* Botão padrão */
button {
    padding: 10px 20px;
    background-color: #1e88e5;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #1565c0;
}

/* Rodapé */
footer {
    margin-top: 40px;
    text-align: center;
    color: #777;
    font-size: 0.9em;
}

.card {
  border-radius: 12px;
  padding: 1.5rem;
}

form input, form button {
  font-size: 1rem;
  border-radius: 8px;
}

.btn {
  padding: 0.75rem 1rem;
}

h2, h4 {
  color: #343a40;
}

@media (max-width: 800px) {
  .d-md-block {
    display: none !important;
  }
  .d-md-none {
    display: block !important;
  }
}

.sticky-table thead th {
  position: sticky;
  top: 0;
  background-color: #f8f9fa; /* cor do cabeçalho */
  z-index: 2;
}

.sticky-table {
  max-height: 540px; /* altura visível antes da rolagem */
  overflow-y: auto;
}

.info-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}

.info-box {
  background: #fff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.info-btn {
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  white-space: nowrap;
}

.linha-confirmado      { background-color: #DAF2D0 !important; }
.linha-deslocado       { background-color: #FFFFD5 !important; }
.linha-nao-encontrada  { background-color: #FFC9C9 !important; }
.linha-ausente         { background-color: #D9D9D9 !important; }
.linha-outro-local     { background-color: #CAEDFB !important; }

.table tbody tr.linha-confirmado td,
.table tbody tr.linha-deslocado td,
.table tbody tr.linha-nao-encontrada td,
.table tbody tr.linha-ausente td,
.table tbody tr.linha-outro-local td {
  background-color: inherit !important;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilo geral */
body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    color: #333;
    padding: 20px;
}

/* Cabeçalho */
header {
    background-color: #1e88e5;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Painel principal */
.painel {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.painel h2 {
    margin-bottom: 15px;
    color: #1e88e5;
}

/* Botão padrão */
button {
    padding: 10px 20px;
    background-color: #1e88e5;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #1565c0;
}

/* Rodapé */
footer {
    margin-top: 40px;
    text-align: center;
    color: #777;
    font-size: 0.9em;
}

.card {
  border-radius: 12px;
  padding: 1.5rem;
}

form input, form button {
  font-size: 1rem;
  border-radius: 8px;
}

.btn {
  padding: 0.75rem 1rem;
}

h2, h4 {
  color: #343a40;
}

@media (max-width: 800px) {
  .d-md-block {
    display: none !important;
  }
  .d-md-none {
    display: block !important;
  }
}

.sticky-table thead th {
  position: sticky;
  top: 0;
  background-color: #f8f9fa; /* cor do cabeçalho */
  z-index: 2;
}

.sticky-table {
  max-height: 540px; /* altura visível antes da rolagem */
  overflow-y: auto;
}

.info-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}

.info-box {
  background: #fff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.info-btn {
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  white-space: nowrap;
}

.linha-confirmado      { background-color: #DAF2D0 !important; }
.linha-deslocado       { background-color: #FFFFD5 !important; }
.linha-nao-encontrada  { background-color: #FFC9C9 !important; }
.linha-ausente         { background-color: #D9D9D9 !important; }
.linha-outro-local     { background-color: #CAEDFB !important; }
.linha-sem-etiqueta        { background-color: #eac4c4 !important; } /* ← nova cor para Sem Etiq. */

.table tbody tr.linha-confirmado td,
.table tbody tr.linha-deslocado td,
.table tbody tr.linha-nao-encontrada td,
.table tbody tr.linha-ausente td,
.table tbody tr.linha-outro-local td,
.table tbody tr.linha-sem-etiqueta td { /* ← adiciona a nova classe aqui também */
  background-color: inherit !important;
}


.table tbody tr td {
  border-bottom: 2px solid #555; /* cinza escuro */
}

.table thead th {
  background-color: #1e88e5; /* azul do cabeçalho */
  color: white;              /* texto branco */
  font-weight: 600;
  text-align: center;
  border-top: 2px solid #1565c0;   /* linha superior */
  border-bottom: 2px solid #1565c0; /* linha inferior */
  padding: 12px;
}

.etiqueta-destacada {
  background-color: #ffeeba; /* amarelo claro */
  border: 2px solid #ffc107; /* borda amarela */
  transition: background-color 0.3s ease;
}


.linha-destaque {
  animation: flash 1.5s ease-in-out;
  background-color: #ffffcc;
}

@keyframes flash {
  0% { background-color: #ffffcc; }
  100% { background-color: transparent; }
}