/*
Theme Name: TSA
Theme URI:
Author: AMS (Ruven Pelka)
Author URI:
Description: The TSA block theme.
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 7.0
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl.html
Template: groundbreaker
Text Domain: groundbreaker-child
*/

/**
 * TSA Classes
 */

.tsa-classes-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}

.tsa-classes-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
  min-width: 600px;
}

.tsa-classes-table table thead tr th {
  text-align: left;
  padding: 0.5rem 1rem;
  border-bottom: 2px solid #ddd;
  background-color: #f8f9fa;
  font-weight: 600;
  white-space: nowrap;
}

.tsa-classes-table table tbody tr {
  transition: background-color 0.3s ease;
}

.tsa-classes-table table tbody tr:hover {
  background-color: #f5f5f5;
}

.tsa-classes-table table tbody tr td {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #ddd;
  white-space: nowrap;
}

.tsa-classes-table table tbody tr:last-child td {
  border-bottom: none;
}

/**
 * TSA Accident Statistics
 */

.tsa-accident-statistics {
  margin-bottom: 2rem;
}

.tsa-accident-statistics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-left: 0;
  list-style: none;
}

.tsa-accident-statistics-link {
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
  display: inline-block;
  background-color: var(--wp--preset--color--base-200);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  color: var(--wp--preset--color--base);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.tsa-accident-statistics-link:hover {
  color: var(--wp--preset--color--primary-500);
  background-color: var(--wp--preset--color--custom-secondary);
}
