/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 1rem;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #ddd;
}

.table th {
  background-color: #f4f6f8;
  color: #333;
  font-weight: 600;
  text-align: left;
  padding: 0.75em 1em;
  border-bottom: 2px solid #ccc;
}

.table td {
  padding: 0.75em 1em;
  border-bottom: 1px solid #e0e0e0;
  color: #444;
  vertical-align: top;
}

.table tr:hover {
  background-color: #fafafa;
}

.table .highlight {
  color: #32d296;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .table {
    font-size: 0.875rem;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/*Miguel */
.borde-formulario {
	border: 2px solid #123456;
	padding: 30px;
	border-radius: 20px;
}
thead th {
  background-color: #f5f5f5; /* Fondo gris suave */
  font-weight: bold;
  border-bottom: 2px solid #ddd;
  padding: 12px 8px;
}

tbody td {
  border: 1px solid #e0e0e0; /* Líneas sutiles */
  padding: 10px 8px;
}

/* Primera columna destacada */
tbody td:first-child, thead th:first-child {
  background-color: #f9f9f9; /* Un poco más oscuro que el resto */
  font-weight: bold;
  color: #333;
  text-align: left; /* Mejor alineación a la izquierda */
  border-right: 2px solid #ddd; /* Línea más marcada a la derecha */
}
tbody tr:nth-child(even) {
  background-color: #fafafa; /* Zebra para más legibilidad */
}

tbody tr:hover {
  background-color: #f0f8ff; /* Hover suave */
}

td:first-child, th:first-child {
  border-left: none; /* Sin borde a la izquierda */
}

td:last-child, th:last-child {
  border-right: none; /* Sin borde a la derecha */
}