/* Start Reset CSS */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  text-size-adjust: none;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
}

h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentcolor;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

textarea:not([rows]) {
  min-height: 10em;
}

:target {
  scroll-margin-block: 5ex;
}

/** End Reset CSS */

body {
  min-height: 100vh;
  margin-block-end: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.title-section {
  margin-bottom: 30px;
  text-align: center;
  color: #2c3e50;
}

.title-section span {
  font-size: 18px;
}

.title-section a {
  text-decoration: none;
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid #ddd;
}

.tab-button {
  padding: 12px 24px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.tab-button:hover {
  color: #2c3e50;
  background-color: #f0f0f0;
}

.tab-button.active {
  color: #2c3e50;
  border-bottom-color: #3498db;
}

.tab-content {
  display: none;
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
  animation: fade-in 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.subtitle {
  margin-bottom: 20px;
  color: #2c3e50;
}

.section-description {
  margin-bottom: 15px;
}

/* Generic table styles - reusable for all tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: white;
}

table thead {
  background-color: #3498db;
  color: white;
}

table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

table tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s ease;
}

table tbody tr:hover {
  background-color: #f8f9fa;
}

table tbody tr:last-child {
  border-bottom: none;
}

table td {
  padding: 14px 16px;
  color: #555;
}

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

table tbody tr:nth-child(even):hover {
  background-color: #f0f0f0;
}

/* Responsive table */
@media (width <= 768px) {
  table {
    font-size: 14px;
  }

  table th,
  table td {
    padding: 10px 12px;
  }
}

/* Accordion styles */
.accordion {
  margin-top: 20px;
}

.accordion-item {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background-color: #f8f9fa;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #e9ecef;
}

.accordion-item.active .accordion-header {
  background-color: #3498db;
  color: white;
}

.accordion-title {
  text-align: left;
}

.accordion-subtitle {
  text-align: right;
  margin-right: 25px;
}

.accordion-icon {
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
  background-color: white;
}

.accordion-item.active .accordion-content {
  padding: 20px;
}

.accordion-content p {
  margin-bottom: 12px;
  color: #555;
  line-height: 1.6;
}

.accordion-content ul {
  margin-left: 20px;
  margin-top: 10px;
}

.accordion-content li {
  margin-bottom: 8px;
  color: #666;
}
