/* Tabela LifeDent - estilo clean com borda levemente arredondada */

.views-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: 6px;
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
  font-size: 15px;
}

/* Cabeçalho fixo com cor e sombra */
.views-table thead {
  background: #0077cc;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: sticky;
  top: 0;
  z-index: 3;
}

/* Células do cabeçalho */
.views-table thead th {
  border-bottom: 2px solid #0055aa;
  font-size: 14px;
}

/* Células padrão */
.views-table th,
.views-table td {
  padding: 14px 22px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
  font-size: 15px;
}

/* Listras alternadas */
.views-table tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}

/* Hover com leve sombra */
.views-table tbody tr:hover {
  background-color: #f0f8ff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Primeira coluna (Paciente) com destaque e ícone */
.views-table td:first-child {
  color: #0055aa !important;
  font-weight: 700 !important;
  padding-left: 28px !important;
  position: relative;
}

.views-table td:first-child::before {
  content: "🧍";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

/* Links no conteúdo */
.views-table td a {
  color: inherit;
  text-decoration: none;
}

.views-table td a:hover {
  text-decoration: underline;
}

/* Última coluna centralizada */
.views-table td:last-child {
  text-align: center;
}

/* Largura mínima para a primeira coluna */
.views-table th:first-child,
.views-table td:first-child {
  min-width: 250px;
}

/* Arredondamento no topo */
.views-table thead th:first-child {
  border-top-left-radius: 6px;
}

.views-table thead th:last-child {
  border-top-right-radius: 6px;
}

/* 🔁 Responsivo */
@media (max-width: 768px) {
  .views-table th,
  .views-table td {
    font-size: 13px;
    padding: 10px 12px;
  }

  .views-table th:first-child,
  .views-table td:first-child {
    min-width: 180px;
  }
}
