h1 {
  text-transform: uppercase;
  font-weight: 300;
  text-align: center;
  margin-bottom: 15px;
}

/* Enhanced Table Styles */
table {
  width: 100%;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tbl-header {
  background: linear-gradient(135deg, #670000 0%, #8b0000 100%);
  position: sticky;
  top: 0;
  z-index: 10;
}

.tbl-header th {
  color: white !important;
  font-weight: 600;
  padding: 16px 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}

.tbl-col1 {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff !important;
  box-shadow: 3px 0 8px rgba(0, 0, 0, 0.1);
}

.tbl-header .tbl-col1 {
  background: linear-gradient(135deg, #670000 0%, #8b0000 100%) !important;
  z-index: 11;
  box-shadow: 3px 0 8px rgba(0, 0, 0, 0.15);
}

.tbl-content {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  border-radius: 8px;
  background: white;
  /* Smooth scrolling for better UX */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

th, td {
  padding: 15px;
  font-size: 16px;
  color: #000;
}

th {
  font-weight: 600;
  background: linear-gradient(135deg, #670000 0%, #8b0000 100%);
  color: white;
  text-transform: uppercase;
}

td {
  font-weight: 400;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
}

tbody tr {
  transition: all 0.3s ease;
  background: white;
}

tbody tr:nth-child(even) {
  background: #fafafa;
}

tbody tr:nth-child(even) .tbl-col1 {
  background: #fafafa !important;
}

tbody tr:hover,
tbody tr:focus {
  background: #fff5f5 !important;
  cursor: pointer;
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(103, 0, 0, 0.1);
  position: relative;
}

tbody tr:focus {
  outline: 3px solid #670000;
  outline-offset: -3px;
}

tbody tr:hover td {
  color: #670000;
}

tbody tr:hover .tbl-col1 {
  font-weight: 600;
  background: #fff5f5 !important;
  box-shadow: 3px 0 8px rgba(0, 0, 0, 0.15);
}

tbody tr:active {
  transform: scale(0.99);
}

tbody tr:active .tbl-col1 {
  background: #fff5f5 !important;
}

td:first-child, th:first-child {
  white-space: nowrap;
  min-width: 120px;
  text-align: left;
  padding-left: 15px;
  font-weight: 600;
}

/* Click Indicator */
tbody tr::after {
  content: '→';
  position: absolute;
  right: 20px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  color: #670000;
  font-weight: bold;
  transform: translateX(-10px);
}

tbody tr:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Custom Scrollbar for Tables */
.tbl-content::-webkit-scrollbar {
  height: 8px;
  width: 3px;
}

.tbl-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.tbl-content::-webkit-scrollbar-thumb {
  background: rgba(103, 0, 0, 0.4);
  border-radius: 4px;
  transition: background 0.3s ease;
}

.tbl-content::-webkit-scrollbar-thumb:hover {
  background: rgba(103, 0, 0, 0.6);
}

/* General Scrollbar */
::-webkit-scrollbar {
  width: 3px;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
}

@media (max-width: 900px) {
  .tbl-content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  th, td {
    font-size: 14px;
    white-space: nowrap;
    padding: 12px 10px;
  }

  td:first-child, th:first-child {
    min-width: 100px;
    padding-left: 10px;
  }

  .tbl-header th {
    padding: 14px 10px;
    font-size: 0.85rem;
  }

  /* Maintain sticky column on tablet */
  .tbl-col1 {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.12);
  }

  tbody tr:hover {
    transform: none;
  }

  tbody tr::after {
    display: none;
  }
}

@media (max-width: 480px) {
  th, td {
    font-size: 13px;
    padding: 10px 8px;
  }

  td:first-child, th:first-child {
    min-width: 90px;
    padding-left: 8px;
  }

  .tbl-header th {
    padding: 12px 8px;
    font-size: 0.8rem;
  }

  /* Enhance sticky column visibility on mobile */
  .tbl-col1 {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.15);
  }

  .tbl-content::-webkit-scrollbar {
    height: 6px;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

.sec-center {
  margin-top: 1rem;
  position: relative;
  max-width: 100%;
  text-align: center;
  z-index: 2;
}

[type="checkbox"]:checked,
[type="checkbox"]:not(:checked) {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.dropdown:checked + label,
.dropdown:not(:checked) + label {
  position: relative;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 2;
  height: 50px;
  transition: background-color 200ms linear, transform 200ms linear;
  border-radius: 4px;
  width: 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: none;
  background-color: #670000;
  cursor: pointer;
  color: #fff;
  box-shadow: 0 12px 35px 0 rgba(255, 235, 167, .15);
}

.dropdown:checked + label:before,
.dropdown:not(:checked) + label:before {
  position: fixed;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  z-index: -1;
  cursor: auto;
  pointer-events: none;
}

.dropdown:checked + label:before {
  pointer-events: auto;
}

.section-dropdown {
  position: absolute;
  padding: 5px;
  background-color: #111;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 220px;
  border-radius: 4px;
  display: block;
  box-shadow: 0 14px 35px 0 rgba(9, 9, 12, 0.4);
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: all 200ms linear;
}

.dropdown:checked ~ .section-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.section-dropdown:before {
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  content: '';
  display: block;
  z-index: 1;
}

.section-dropdown:after {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #111;
  content: '';
  display: block;
  z-index: 2;
  transition: all 200ms linear;
}

.section-dropdown a {
  position: relative;
  color: #fff;
  transition: all 200ms linear;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 15px;
  border-radius: 2px;
  padding: 5px 0;
  padding-left: 20px;
  padding-right: 15px;
  margin: 2px 0;
  text-align: left;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-dropdown a:hover {
  color: #fff;
  background-color: #670000;
}