* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #00883a;
  --secondary-color: #0f1987;
  --accent-color: #00883a;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

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

/* Header */
.header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-color) 100%
  );
  color: white;
  padding: 60px 0;
  text-align: center;
  box-shadow: var(--shadow);
}

.logo {
  font-size: 2.5em;
  margin-bottom: 10px;
  font-weight: bold;
}

.tagline {
  font-size: 1.1em;
  opacity: 0.95;
  font-weight: 300;
}

/* Navigation */
.navbar {
  background-color: var(--bg-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 20px 0;
}

.nav-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

/* Sections */
.section {
  background-color: var(--bg-white);
  margin: 40px 0;
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  scroll-margin-top: 100px;
}

.section h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: var(--primary-color);
  border-bottom: 3px solid var(--accent-color);
  padding-bottom: 10px;
  display: inline-block;
}

.section-content {
  margin-top: 20px;
}

/* Cards */
.card {
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.2em;
}

.card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* Participants List */
.participants-list {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.participants-alphabetical {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.participants-alphabetical li {
  background-color: white;
  padding: 12px 16px;
  border-radius: 6px;
  border-left: 3px solid var(--accent-color);
  color: var(--text-dark);
  font-size: 1em;
  transition: all 0.3s ease;
}

.participants-alphabetical li:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow);
  border-left-color: var(--primary-color);
}

/* Agenda */
.agenda-content {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.agenda-content h3,
.agenda-content h4 {
  color: var(--primary-color);
  margin-top: 20px;
  margin-bottom: 10px;
}

.agenda-content h3 {
  font-size: 1.3em;
}

.agenda-content h4 {
  font-size: 1.1em;
}

.agenda-content ul,
.agenda-content ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.agenda-content li {
  margin-bottom: 8px;
  color: var(--text-light);
}

.agenda-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}

/* Tables */
.agenda-content table,
.participants-list table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: white;
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}

.agenda-content table th,
.participants-list table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: bold;
  padding: 15px;
  text-align: left;
  border: 1px solid var(--border-color);
  font-size: 1.1em;
}

.agenda-content table td,
.participants-list table td {
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
}

.agenda-content table tr:nth-child(even),
.participants-list table tr:nth-child(even) {
  background-color: var(--bg-light);
}

.agenda-content table tr:hover,
.participants-list table tr:hover {
  background-color: #e0f2fe;
}

/* Participants table - make date columns narrower */
.participants-list table td:nth-child(n + 3),
.participants-list table th:nth-child(n + 3) {
  width: 80px;
  text-align: center;
}

.loading {
  text-align: center;
  color: var(--text-light);
  padding: 20px;
  font-style: italic;
}

.note {
  background-color: #fef3c7;
  border-left: 4px solid var(--accent-color);
  padding: 15px;
  margin-top: 20px;
  border-radius: 4px;
  font-size: 0.95em;
  color: #92400e;
}

.note a {
  color: var(--secondary-color);
  font-weight: bold;
  text-decoration: none;
}

.note a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: white;
  text-align: center;
  padding: 30px 0;
  margin-top: 60px;
}

.footer p {
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .logo {
    font-size: 1.8em;
  }

  .tagline {
    font-size: 1em;
  }

  .nav-links {
    gap: 15px;
    font-size: 0.9em;
  }

  .section {
    padding: 20px;
  }

  .section h2 {
    font-size: 1.5em;
  }

  .participant-list {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .participant-card {
    padding: 20px;
  }

  .participant-avatar {
    width: 50px;
    height: 50px;
    font-size: 1.5em;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.4em;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .section {
    padding: 15px;
    margin: 20px 0;
  }

  .section h2 {
    font-size: 1.3em;
  }

  .participant-list {
    grid-template-columns: 1fr;
  }
}

/* Tabs Styling */
.tabs-container {
  margin-top: 20px;
}

/* Agenda notice/banner */
.agenda-notice {
  display: none;
  background-color: #fef3c7;
  border-left: 4px solid var(--accent-color);
  padding: 12px 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  color: #92400e;
  font-size: 0.95em;
  text-align: center;
}

.agenda-notice strong {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.tabs-buttons {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tab-button {
  padding: 12px 24px;
  background-color: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-light);
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tab-button:hover {
  color: var(--primary-color);
  background-color: var(--bg-light);
}

.tab-button.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  font-weight: 600;
}

.tabs-content {
  min-height: 300px;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tab content styling */
.tab-panel h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.5em;
}

.tab-panel table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-top: 10px;
  background-color: white;
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}

.tab-panel table th,
.tab-panel table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  white-space: normal;
  word-wrap: break-word;
}

.tab-panel table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

/* Fixed width for Time column */
.col-time {
  width: 80px;
}

/* Fixed width for Speaker column */
.col-speaker {
  width: 200px;
}

/* Details column takes remaining space */
.col-details {
  width: auto;
}

.tab-panel table tr:hover {
  background-color: var(--bg-light);
}

.tab-panel table tr:last-child td {
  border-bottom: none;
}

/* Responsive tabs */
@media (max-width: 768px) {
  .tabs-buttons {
    flex-direction: column;
    border-bottom: none;
  }

  .tab-button {
    border-bottom: none;
    border-left: 3px solid transparent;
    text-align: left;
  }

  .tab-button.active {
    border-left-color: var(--primary-color);
    border-bottom-color: transparent;
  }
}
