@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&display=swap');
:root {
  --ocean-start: #023e8a;
  --ocean-end: #00b5ff;
  --gold-accent: #FFD700;
  --card-bg: #ffffff;
}
body, h1, h2, h3, h4, h5, h6, p, span, div, a, li, button, input {
  font-family: 'Kanit', sans-serif !important;
}
html, body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #f4f7fa;
}
.page-header-modern {
  position: relative;
  background: linear-gradient(135deg, var(--ocean-start) 0%, var(--ocean-end) 100%);
  padding: 9rem 0 6rem 0;
  margin-bottom: -3rem;
  color: #fff;
  box-shadow: 0 10px 30px rgba(2, 62, 138, 0.2);
  z-index: 1;
}
.page-header-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 30px 30px, 30px 30px, 60px 60px;
  z-index: -1;
}
.page-header-modern::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  transform: rotate(-15deg);
  z-index: -1;
}
.page-header-title {
  font-weight: 700;
  font-size: 3.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  position: relative;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.page-header-subtitle {
  font-weight: 300;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.15);
  display: inline-block;
  padding: 6px 25px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}
.search-box-wrapper {
  position: relative;
  z-index: 10;
  margin-top: 3rem;
  padding: 0 15px;
}
.search-box-container {
  background: rgba(255, 255, 255, 0.98);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  border: 1px solid #fff;
}
.search-input-modern {
  border: none;
  background: transparent;
  font-size: 1.1rem;
  color: #333;
  padding: 10px 20px;
  flex-grow: 1;
  font-weight: 400;
  width: 100%;
}
.search-input-modern:focus {
  outline: none;
}
.btn-search-icon {
  background: linear-gradient(135deg, var(--ocean-start), var(--ocean-end));
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.3s;
  cursor: pointer;
  flex-shrink: 0;
}
.btn-search-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(2, 62, 138, 0.3);
}
.main-content-card {
  position: relative;
  z-index: 5;
  padding-bottom: 3rem;
  margin-top: 4rem;
}
.meeting-item {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 5px solid var(--ocean-end);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 20px;
}
.meeting-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 181, 255, 0.15);
  border-left-color: var(--ocean-start);
}
.meeting-date-box {
  text-align: center;
  min-width: 90px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}
.meeting-date-day {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ocean-start);
  line-height: 1;
}
.meeting-date-month {
  font-size: 1rem;
  color: #555;
}
.meeting-date-year {
  font-size: 0.85rem;
  color: #888;
}
.meeting-info h5 {
  margin: 0 0 10px 0;
  color: #222;
  font-weight: 600;
  font-size: 1.25rem;
}
.meeting-meta {
  font-size: 0.95rem;
  color: #666;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.meeting-meta i {
  color: var(--ocean-end);
}
.meeting-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
}
.btn-download-file {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.btn-pdf {
  background: #ffebee;
  color: #c62828;
  border: 1px solid rgba(198, 40, 40, 0.2);
}
.btn-pdf:hover {
  background: #c62828;
  color: #fff;
}
.btn-doc {
  background: #e3f2fd;
  color: #1565c0;
  border: 1px solid rgba(21, 101, 192, 0.2);
}
.btn-doc:hover {
  background: #1565c0;
  color: #fff;
}
.pagination-modern .page-link {
  border: none;
  color: #666;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 3px;
  transition: all 0.3s;
}
.pagination-modern .page-link:hover {
  background-color: #e3f2fd;
  color: var(--ocean-end);
}
.pagination-modern .page-item.active .page-link {
  background: linear-gradient(135deg, var(--ocean-start), var(--ocean-end));
  color: white;
  box-shadow: 0 4px 10px rgba(0, 181, 255, 0.3);
}
.pagination-modern .page-item.disabled .page-link {
  background: transparent;
  color: #ccc;
}
[data-theme="dark"] body {
  background-color: #121212;
}
[data-theme="dark"] .meeting-item {
  background: #1e1e1e;
  box-shadow: none;
  border: 1px solid #333;
  border-left: 5px solid var(--ocean-end);
}
[data-theme="dark"] .meeting-info h5 {
  color: #e0e0e0;
}
[data-theme="dark"] .meeting-date-box {
  background: #2c2c2c;
  border-color: #444;
}
[data-theme="dark"] .meeting-meta {
  color: #aaa;
}
@media (max-width: 768px) {
  .page-header-modern {
    padding-top: 6rem;
    padding-bottom: 3rem;
    margin-bottom: -2rem;
  }
  .page-header-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }
  .page-header-subtitle {
    font-size: 0.9rem;
    padding: 4px 15px;
  }
  .search-box-wrapper {
    margin-top: 1.5rem;
  }
  .search-box-container {
    padding: 5px;
  }
  .search-input-modern {
    font-size: 0.95rem;
    padding: 8px 15px;
  }
  .btn-search-icon {
    width: 42px;
    height: 42px;
  }
  .main-content-card {
    margin-top: 4rem;
    padding-bottom: 0rem;
  }
  .meeting-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 0;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background: #fff;
    margin-bottom: 1.5rem;
  }
  .meeting-date-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    min-width: auto;
    padding: 10px 20px;
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    border: none;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
  }
  .meeting-date-day {
    font-size: 1.4rem;
    color: var(--ocean-start);
    margin-right: 5px;
  }
  .meeting-date-month {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
  }
  .meeting-date-year {
    font-size: 1rem;
    color: #666;
    opacity: 0.8;
    display: inline-block;
    margin-left: 5px;
  }
  .meeting-date-year::before {
    content: '/';
    margin-right: 5px;
    opacity: 0.5;
  }
  .meeting-info {
    padding: 15px 20px 5px 20px;
    width: 100%;
    box-sizing: border-box;
  }
  .meeting-info h5 {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 8px;
  }
  .meeting-meta {
    font-size: 0.85rem;
    background: #f9f9f9;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
  }
  .meeting-actions {
    width: 100%;
    margin: 0;
    padding: 0 20px 20px 20px;
    box-sizing: border-box;
  }
  .btn-download-file {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }
  .btn-pdf {
    background-color: #fff0f0;
    border: 1px solid #ffdcdc;
    color: #d32f2f;
  }
}