/* Horses-specific styles */

/* Minecraft table styling */
.minecraft-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: 'Minecraft', 'Press Start 2P', monospace;
  color: #ffffff;
  border: 4px solid var(--minecraft-primary-darker);
  background-color: rgba(0, 0, 0, 0.3);
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.1), 
              inset -2px -2px 0 rgba(0, 0, 0, 0.3);
}

/* Table header */
.minecraft-table-header {
  background-color: var(--minecraft-primary-darker);
  color: #ffffff;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.minecraft-table-header th {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 4px solid var(--minecraft-primary-darkest);
  border-right: 2px solid var(--minecraft-primary-darkest);
}

.minecraft-table-header th:last-child {
  border-right: none;
}

/* Table rows with zebra striping */
.minecraft-table-row:nth-child(odd) {
  background-color: rgba(32, 178, 170, 0.2); /* Light teal */
}

.minecraft-table-row:nth-child(even) {
  background-color: rgba(22, 122, 115, 0.3); /* Darker teal */
}

/* Table cells */
.minecraft-table-cell {
  padding: 10px 15px;
  border-bottom: 2px solid var(--minecraft-primary-darker);
  border-right: 2px solid var(--minecraft-primary-darker);
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.7);
}

.minecraft-table-cell:last-child {
  border-right: none;
}

/* Hover effect for rows */
.minecraft-table-row:hover {
  background-color: rgba(45, 212, 204, 0.3); /* Lighter teal highlight */
}

/* Small button variant for tables */
.minecraft-button.minecraft-small {
  padding: 5px 10px;
  font-size: 0.7rem;
  border-width: 3px;
}

/* Improved font readability for table content */
.minecraft-table-cell {
  font-family: 'Minecraft', 'Press Start 2P', monospace;
  letter-spacing: 1px;
  line-height: 1.5;
}

/* Horse lineage links styling */
.horse-lineage-link {
  color: #4fc3f7;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
  padding: 2px 5px;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.2);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.horse-lineage-link:hover {
  color: #81d4fa;
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 8px rgba(79, 195, 247, 0.6);
  transform: translateY(-2px);
  text-decoration: none;
}

.horse-lineage-link:active {
  transform: translateY(0);
  box-shadow: 0 0 4px rgba(79, 195, 247, 0.4);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .minecraft-table-header th,
  .minecraft-table-cell {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
  
  .minecraft-button.minecraft-small {
    padding: 4px 8px;
    font-size: 0.6rem;
  }
}
