/* ====== 🌐 Global Reset ====== */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --grid-size: 35px;
  --bg-dark: #1a1a1a;
  --sidebar-bg: #202020;
  --card-bg: #fff;
  --accent-green: #0ac500;
  --accent-blue: #007bff;
  --accent-purple: #6123a7;
  --border-light: #eee;
  --text-light: #f0f0f0;
  --text-dark: #222;
  --radius: 12px;
  --transition: 0.3s ease;
  --max-width: 1920px;
  --max-width-table: 1130px;
  --sidebar-width: 250px;
  --sidebar-collapsed: 0px;
}

/* ====== Base Reset ====== */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background-color: white;
  overflow-x: hidden;
}

/* ====== Root Font Size ====== */
html {
  scroll-behavior: smooth;
}
/* html {
  font-size: calc(16px + (56.9 - 16) * ((100vw - 1440px) / (5120 - 1440)));
} */
body {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}
.container {
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.container.homepage {
  max-width: 100vw;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

/* Tablets */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
}

/* Small tablets and large phones */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
}

/* ====== 🧩 Wrapper ====== */
.wrapper {
  width: 100%;
  /* background-color: #203643; */
  /* background-image: repeating-linear-gradient(
to right,
rgba(255, 255, 255, 0.05) 0,
rgba(255, 255, 255, 0.05) 1.65px,
transparent 1.65px,
transparent var(--grid-size)
),
repeating-linear-gradient(
to bottom,
rgba(255, 255, 255, 0.05) 0,
rgba(255, 255, 255, 0.05) 1.65px,
transparent 1.65px,
transparent var(--grid-size)
); */
  background-size: var(--grid-size) var(--grid-size);
  display: flex;
  /* min-height: 590px; */
  flex-direction: column;
  color: #000;
  padding-bottom: 0;
}
.top-bar {
  width: 100%;
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.top-bar-inner {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-title {
  font-size: 1.5625rem;
  font-weight: 500;
  color: #fff;
  line-height: 100%;
  letter-spacing: 0;
}

.top-divider {
  width: 100%;
  height: 1px;
  top: 70px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.25);
  position: absolute;
  max-width: 1200px;
}
.home {
  flex: 1 1 auto;
  width: 100%;
  padding-bottom: 1.125rem;
  display: flex;
  align-items: stretch;
}

.home-header {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: nowrap;
  align-items: center;
}

.home-header-right {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  width: 20%;
  min-width: 237px;
  position: relative;
}
.home-header-left {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 58%;
  gap: 1rem;
}

.header-image {
  max-width: 237px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.breadcrumb {
  font-size: 0.875rem;
  color: #000;
  text-transform: uppercase;
}

.breadcrumb span {
  color: #000;
  /* font-weight: 600; */
}

.title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
  color: #000;
}

.subtitle {
  font-size: 1rem;
  max-width: 701px;
  color: #000;
  line-height: 130%;
  text-align: left;
  display: inline-block;
  font-weight: 300;
}

.home-search {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  margin-top: 20px;
  position: relative;
  background-color: #00007b;
  padding: 15px;
  border-radius: 20px;
}

.search-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  width: 100%;
}
/* Toggle switch container */
.toggle-field {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto; /* push to row end */
}

/* The switch container */
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}

/* Hide default checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

/* When checked */
.switch input:checked + .slider {
  background-color: #102d3d;
}

.switch input:checked + .slider:before {
  transform: translateX(20px);
}

.search-label {
  font-size: 18px;
  font-weight: 600;
  color: #f5f8f9;
  margin-left: 0.5rem;
}

.search-box {
  flex: 1;
  min-width: 350px;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  padding: 0.5rem;
}

.search-box svg {
  cursor: pointer;
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 1rem 0.75rem;
  color: #203643;
}

.search-box input::placeholder {
  color: #999;
}

.search-links {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  height: 100%;
  gap: 0.3rem;
  min-width: 230px;
  flex-wrap: wrap;
  padding-top: 10px;
}

.search-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  text-decoration: underline;
  text-decoration-style: double;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-decoration-thickness: 1px;
  transition: color 0.3s;
}

.search-links a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (min-width: 1920px) {
  .subtitle {
    font-size: 1.2rem;
  }

  .top-title {
    font-size: 2rem;
  }
}
.secondContainer {
  background-color: #fff;
  width: 100vw;
  color: #203643;
  position: relative;
  display: flex;
  justify-content: center;
  padding-block: 3.8125rem;
  min-height: 600px;
  margin: 0 auto;
}

.assembly-card {
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  position: relative;
  flex-direction: column;
  flex: 1 1 auto;
  max-width: 550px;
  margin: 0 auto;
}

.assembly-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.assembly-title {
  font-size: 22px;
  font-weight: 600;
  color: #203643;
  line-height: 100%;
  margin-top: 1rem;
}

.assembly-desc {
  color: rgba(32, 54, 67, 0.8);
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.8);
  line-height: 130%;
  margin-block: 1rem;
}

.assembly-date-card {
  background-color: rgba(164, 164, 164, 0.19);
  border-radius: 0.75rem;
  padding: 1rem;
  padding-right: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  margin-bottom: 9px;
}

.arrow-date {
  position: absolute;
  right: 15px;
  font-size: 1.5rem;
  color: #203643;
  cursor: pointer;
}

.date-box {
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  position: relative;
  display: flex;
  text-align: center;
  justify-content: flex-start;
  align-items: center;
  max-width: 100px;
  border: 1px solid rgba(32, 54, 67, 0.1);
}

.date-day {
  font-size: 1.5rem;
  font-weight: 600;
  display: block;
  color: #203643;
}

.date-top {
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  border-radius: 0.5rem 0.5rem 0 0;
  width: 100%;
  background-color: rgba(32, 54, 67, 1);
}

.date-month {
  font-size: 0.9rem;
  text-transform: uppercase;
  display: block;
  color: #4b6777;
}

.date-year {
  font-size: 0.75rem;
  color: #6b8595;
  display: block;
}

.date-month-year {
  display: flex;
  flex-direction: column;
  margin-left: 8px;
  justify-content: center;
  align-items: center;
}

.date-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #000;
}

.date-info p {
  font-size: 0.85rem;
  color: #000;
  font-weight: 400;
}

.assembly-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.5rem;
  flex: 1 1 auto;
  align-items: stretch;
}

.assembly-links-intro {
  grid-column: 1 / -1;
  font-size: 1rem;
  font-weight: 500;
  color: #203643;
  margin-bottom: 0.25rem;
  line-height: 1.5;
}

.arrow-info {
  position: absolute;
  top: 16px;
  right: 16px;
  transition: transform 0.25s ease;
}
.info-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.link-card:hover .arrow-info {
  transform: translateX(5px);
}

.icon {
  font-size: 1.5rem;
  color: #203643;
}

.secondWrapper {
  border-radius: 1.25rem;
  background-color: #d9d9d95e;
  padding: 1.25rem;
  display: flex;
  gap: 40px;
  width: 100%;
  align-items: stretch;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

@media screen and (max-width: 1280px) {
  .wrapper,
  .secondContainer {
    padding-inline: 3.5rem;
  }
}
@media screen and (max-width: 1024px) {
  .wrapper,
  .secondContainer {
    padding-inline: 3rem;
  }

  .subtitle {
    font-size: 0.95rem;
  }
}
@media (max-width: 1200px) {
  .top-divider {
    max-width: calc(100% - 70px);
    left: 35px;
  }
}
@media (max-width: 1000px) {
  .secondWrapper {
    flex-wrap: wrap;
  }
  .assembly-title {
    font-size: 1.5rem;
  }
  .assembly-links-intro {
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .wrapper,
  .secondContainer {
    width: 100%;
    padding-inline: 4%;
  }
  .secondWrapper {
    flex-wrap: wrap;
  }

  .title {
    text-align: center;
  }

  .subtitle {
    margin: 0 auto;
    max-width: 480px;
  }

  .home-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .home-header-right {
    order: -1;
  }

  .home-header-left {
    align-items: center;
    text-align: center;
    min-width: 100%;
  }

  .home-search {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .search-links {
    align-items: center;
  }
  .search-box {
    min-width: 250px;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .search-box input {
    font-size: 0.9rem;
  }

  .home-header-right {
    order: -1;
    top: 0;
    justify-content: center;
  }
}
@media (min-width: 2560px) {
  .wrapper {
    width: 100vw;
    padding: 0 4rem;
  }
  .secondContainer {
    width: 1920px;
    padding-inline: 4rem;
  }
}
/* 
 Search Page
*/
.custom-box {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.625rem;
  position: relative;
  top: 70px;
  padding: 0.625rem;
  margin-bottom: 20px;
  gap: 10px;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transform: rotate(0deg);
  max-width: 1200px;
  margin: 0 auto;
}
.custom-box p {
  line-height: 1;
  font-size: 1rem;
  color: white;
  font-weight: 400;
}
.searchPage {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 1.3%;
  /* padding-top: 1.25rem; */
  max-height: 1000px;
  max-width: 1920px;
  /* background-color: #18313e; */
}
.search-white {
  position: relative;
  width: 100%;
  max-width: 1920px;
  top: 20rem;
  margin: 0 auto;
}
.searchLeft {
  position: relative;
  /* top: 10rem; */
  left: 0;
  width: 100%;
  display: flex;
  aspect-ratio: 3.4/1;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
}
.searchLeft .find {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.helpSearch {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 0.25rem;
  justify-content: flex-end;
}
.searchLeft .searchBox {
  margin-top: 20px;
  width: 100%;
  aspect-ratio: 3.56 / 1;
  padding: 1.75rem;
  border: 1px solid #d2d2d2;
  border-radius: 1.25rem;
  background: #f4f4f4;
  position: relative;
  z-index: 9999;
  box-sizing: border-box;
}

.searchBox form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.searchBox .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.row.second {
  align-items: flex-end;
}
.searchBox .row .field {
  flex: 1 1 auto;
  min-width: 250px;
}
.searchBox .row .houseOptions {
  min-width: 373px;
  flex-wrap: wrap;
  display: flex;
}

.searchBox .field {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 200px;
}

.searchBox label {
  font-weight: 600;
  color: #000;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}
.searchBox input[type='text'],
.searchBox input[type='date'],
.searchBox select {
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  border: 1px solid #d2d2d2;
  border-radius: 2rem;
  background-color: #fff;
  color: #333;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.searchBox select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* border-radius: 6px; */
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='12' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M2 4l4 4 4-4z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 0.8rem;
  cursor: pointer;
}

.searchBox input:focus,
.searchBox select:focus {
  outline: none;
}

.searchBox select:hover {
  border-color: #888;
}

.searchBox .houseOptions {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid #d2d2d2;
  border-radius: 2.75rem;
  background: #fff;
}

.searchBox .houseOptions label {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  border: 1px solid rgba(24, 49, 62, 1);
  gap: 0.3rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 19px;
  color: #333;
  flex: 1 1 0;
  width: auto;
  padding: 0.8rem 1rem;
  text-align: center;
  max-width: 135px;
}
.searchBox .searchBtn {
  display: flex;
  flex: 1 1 427px;
  flex-wrap: nowrap;
  max-width: 427px;
  align-items: center;
  white-space: nowrap;
  justify-content: center;
  margin: 0 auto;
  gap: 0.4rem;
  min-width: 25%;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 2rem;
  background: #00007b;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.searchBox .searchBtn:hover {
  background: #00007b;
}

@media (prefers-color-scheme: dark) {
  .searchBox {
    background: #203643;
  }

  .searchBox label,
  .searchBox .houseOptions label {
    color: #eee;
  }

  /* .searchBox select  */
  .searchBox input {
    background-color: #203643;
    border-color: #555;
    color: #fff;
  }

  /* .searchBox select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='12' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M2 4l4 4 4-4z'/></svg>");
  } */
}

@media (max-width: 768px) {
  .searchBox {
    padding: 1.25rem;
  }
  .searchBox .row {
    justify-content: center;
  }
  .searchBox .row .houseOptions {
    min-width: 100%;
  }
}

.searchBox .note {
  font-size: 1rem;
  line-height: 19px;
  color: #555;
  margin-top: 0.5rem;
}
.search-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(24, 49, 62, 0.2);
  position: relative;
  left: 0;
}
.toggle-field {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

.toggle-label {
  font-size: 0.95rem;
  color: #333;
}
.footer {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1920px;
  height: 60px;
  padding-inline: 8.3%;
  padding-bottom: 40px;
  position: relative;
  bottom: 20px;
  left: 0px;
  margin: 0 auto;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-links a {
  position: relative;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #151515;
  text-decoration: none;
}

.footer-links a::after {
  content: '';
  display: block;
  height: 1px;
  background: rgba(0, 0, 0, 0.2);
  margin-top: 2px;
  transition: background 0.3s;
}

.footer-links a:hover::after {
  background: rgba(24, 49, 62, 1);
}
.footer-icon {
  position: fixed;
  right: 15px;
  bottom: 80px;
  z-index: 9999;
}
@media (min-width: 2560px) {
  .footer-icon {
    position: absolute;
  }
}

@media (max-width: 480px) {
  .searchLeft .find {
    flex-direction: column;
    margin-top: 40px;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  .searchLeft {
    margin-bottom: 50px;
  }
  .footer {
    flex-direction: column;
    gap: 20px;
  }
  .footer-links {
    flex-wrap: wrap;
    order: 1;
  }
  .footer-left {
    order: 2;
  }
}

/* 
 Calender Page css
*/
.calendar-header {
  background: #18313e;
  color: #fff;
  margin: 0 auto;
  width: 100%;
  max-width: 1920px;
  padding-block: 1.3%;
}
.calender-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}
.calendar-breadcrumb {
  margin-top: 5rem;
  margin-bottom: 1.25rem;
  opacity: 0.9;
  padding-inline: 2rem;
}

@media screen and (max-width: 768px) {
  .title.calender {
    text-align: left;
  }
}

.calendar-breadcrumb a {
  color: #00007b;
  text-decoration: none;
}

.calendar-breadcrumb a:hover {
  text-decoration: underline;
}
.calendar-main {
  width: 100%;
  margin: 2rem auto;
  max-width: 1200px;
  color: #333;
}
#nextMonth,
#prevMonth {
  background-color: white;
  width: 40px;
  height: 40px;
}
.day-name {
  color: #a4a4a4;
}
.month-selector {
  position: relative;
  display: inline-block;
}

.month-year-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-chevron-down {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: url('data:image/svg+xml;utf8,<svg width="12" height="7" viewBox="0 0 12 7" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.0415 0.274748L12 1.23411L6.77639 6.45949C6.69269 6.54372 6.59315 6.61057 6.48352 6.65618C6.37389 6.7018 6.25631 6.72528 6.13757 6.72528C6.01882 6.72528 5.90125 6.7018 5.79161 6.65618C5.68198 6.61057 5.58245 6.54372 5.49875 6.45949L0.272461 1.23411L1.23091 0.275652L6.13621 5.18004L11.0415 0.274748Z" fill="%2318313E"/></svg>')
    center/contain no-repeat;
  transform: translateY(2px);
}

.month-picker {
  position: absolute;
  top: 130%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 10px;
  width: 200px;
  z-index: 99999;
}

.month-picker.hidden {
  display: none;
}

.month-picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  margin-bottom: 10px;
}

.month-picker-header button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.month-grid button {
  border: none;
  padding: 6px 0;
  cursor: pointer;
  border-radius: 6px;
  background: #f6f8fa;
  transition: background 0.2s;
}

.month-grid button:hover {
  background: #e2edf3;
}

.month-grid button.active {
  background: #18313e;
  color: white;
}

.icon-chevron-down {
  width: 12px;
  height: 7px;
  margin-left: auto;
  display: inline-block;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7' fill='none'><path d='M11.0415 0.274748L12 1.23411L6.77639 6.45949C6.69269 6.54372 6.59315 6.61057 6.48352 6.65618C6.37389 6.7018 6.25631 6.72528 6.13757 6.72528C6.01882 6.72528 5.90125 6.7018 5.79161 6.65618C5.68198 6.61057 5.58245 6.54372 5.49875 6.45949L0.272461 1.23411L1.23091 0.275652L6.13621 5.18004L11.0415 0.274748Z' fill='%2318313E'/></svg>")
    no-repeat center;
  background-size: contain;
}

.calendar-layout {
  display: flex;
  gap: 2rem;
}

.calendar-section {
  width: 364px;
  flex: 0 0 364px;
  margin: 0 auto;
  /* box-shadow: 0 0 3px rgba(0, 0, 0, 0.1); */
}
.calendar-wrapper {
  border-radius: 1rem;
  padding: 1rem;
  background-color: #f8f9fa;
}

.calendar-section h3 {
  font-size: 1.5rem;
  color: #151515;
  line-height: 100%;
  font-weight: 500;
}

.calendar-month select {
  width: 100%;
  padding: 0.4rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.calendar-legend {
  display: flex;
  flex-direction: row;
  border: 1px;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-size: 0.8rem;
  padding: 1rem;
  border-radius: 15px;
  border-radius: 1rem;
  background-color: #f8f9fa;
  margin: 0 auto;
  margin-top: 0.8rem;
  justify-content: space-between;
  align-items: center;
}

.calendar-legend label {
  display: flex;
  gap: 5px;
}

.calendar-downloads {
  margin: 0 auto;
  max-width: 364px;
  margin-top: 2rem;
  background: #f8f9fa;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.08);
}

.calendar-downloads h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  color: #1e293b;
}

.calendar-downloads p {
  color: #6b7280;
  font-size: 0.95rem;
  margin: 0;
}
.calendar-download-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(224, 214, 197, 0.37);
  border-radius: 0.6rem;
  padding: 0.5rem 0.75rem;
  margin-top: 0.75rem;
}

.calendar-download-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-download-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.calendar-download-info strong {
  font-size: 0.85rem;
  color: #1e293b;
}

.calendar-download-btn span {
  font-size: 0.75rem;
  color: #4b5563;
}

.calendar-download-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem;
  background: white;
  color: #00496e;
  border: 1px solid #00496e;
  border-radius: 1.5rem;
  padding: 0.3rem 0.75rem;
  font-weight: 500;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calendar-download-btn:hover {
  background: #00007b;
  color: white;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1rem;
  color: #333;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.radio-btn {
  appearance: none;
  -webkit-appearance: none;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 0.25rem;
  border: 0px solid #bbb;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease-in-out;
}

.radio-btn.selectedDate {
  border-color: #00007b;
}
.radio-btn.selectedContent {
  border-color: rgba(220, 229, 234, 1);
}
.radio-btn.selectedWeekend {
  background-color: rgba(0, 0, 123, 1);
  border-color: rgba(164, 164, 164, 1);
}

.radio-btn:checked.selectedDate {
  background-color: rgba(224, 214, 197, 1);
  border-color: rgba(164, 164, 164, 1);
}
.radio-btn:checked.selectedContent {
  background-color: rgba(220, 229, 234, 1);
  border-color: rgba(220, 229, 234, 1);
}
.radio-btn:checked.selectedWeekend {
  background-color: rgba(234, 234, 234, 1);
  border-color: rgba(234, 234, 234, 1);
}

.radio-btn:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.radio-btn:hover {
  filter: brightness(1.1);
}

.radio-btn:focus-visible {
  outline: 2px solid #555;
  outline-offset: 2px;
}

.houseOptions input[type='radio'] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  width: 17px;
  height: 17px;
  border: 2px solid #f1f4f5;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
}
.houseOptions input[type='radio']:checked::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background-color: #0d0d0d;
}

.calendar-day.weekend {
  background-color: rgba(238, 238, 238, 1);
  color: rgba(24, 49, 62, 0.3);
  font-weight: 500;
}

.calendar-day.future-date {
  background-color: rgba(247, 249, 250, 1);
  color: rgba(24, 49, 62, 0.4);
  cursor: not-allowed;
}

/* Optional: if you want them not clickable */
.calendar-day.future-date:hover {
  background-color: rgba(247, 249, 250, 1);
  color: rgba(24, 49, 62, 0.4);
}

.calendar-download-details {
  background: white;
  border-radius: 0.8rem;
  margin-top: 1rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.calendar-download-details summary {
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 500;
  color: #1e293b;
  list-style: none;
}

.calendar-download-details summary::-webkit-details-marker {
  display: none;
}

.calendar-download-details summary::after {
  content: '▾';
  float: right;
  transition: transform 0.3s ease;
}

.calendar-download-details[open] summary::after {
  transform: rotate(180deg);
}

.calendar-update-note {
  font-size: 0.9rem;
}
.calendar-update-note h3 {
  font-size: 2.5rem;
  line-height: 1;
}
.custom-note {
  margin-bottom: 1rem;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(113, 145, 162, 0.2);
  display: flex;
  font-size: 1rem;
  font-weight: 400;
  justify-content: flex-start;
  align-items: flex-start;
}
.calendar-content {
  /*width: 781px;*/
  width: 100%;
  margin: 0 auto;
}
.calendar-container {
  max-width: 1200px;
  margin: 0 auto;
}
.calendar-content h3 {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: normal;
}

.calendar-accordion {
  margin: 2rem auto;
}

.calendar-accordion details {
  border-radius: 0.8rem;
  background: white;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
}

.calendar-accordion {
  margin: 2rem auto;
}

.calendar-accordion > details {
  border-radius: 0.8rem;
  background: white;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
}

.calendar-accordion details details {
  border: none;
  box-shadow: none;
  margin: 0.5rem 0 0.5rem 1.5rem;
  padding-left: 0.75rem;
  background: #fff;
}

.calendar-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f4f6f8;
  padding: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: background 0.3s ease;
  border-radius: 0.8rem 0.8rem 0 0;
}

.calendar-accordion details details > summary {
  background: #f9fafb;
  padding-left: 1.5rem;
  border-radius: 0.8rem 0.8rem 0 0;
}

.calendar-accordion summary:hover {
  background: #e9eef3;
}

.calendar-accordion summary::-webkit-details-marker {
  display: none;
}

.summary-left {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.summary-left {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.summary-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.summary-text strong {
  font-weight: 600;
  font-size: 1.5625rem;
  line-height: normal;
  color: #000;
}

.summary-text p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
  position: relative;
  right: 30px;
}

.calendar-accordion summary .chevron {
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}

.calendar-accordion details[open] > summary .chevron {
  transform: rotate(180deg);
}

.calendar-accordion details > p {
  background: #f4f6f8;
  margin: 0;
  padding: 0.75rem 1rem;
  color: #555;
  border-top: 1px solid #e3e6ea;
  border-bottom: 1px solid #e3e6ea;
}

.calendar-accordion details > *:not(summary) {
  padding-left: 2.5rem;
}

.calendar-accordion details details > *:not(summary) {
  padding-left: 3rem;
}

.calendar-accordion ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: white;
}

.calendar-accordion li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-top: 1px solid #f0f0f0;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.3;
  font-weight: 500;
}

.calendar-accordion li:hover {
  background: #f8fafc;
}

.calendar-accordion li::after {
  content: '↗';
  font-size: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #545758;
  background-color: rgba(220, 229, 234, 1);
}

/* FOOTER */
.calendar-footer {
  color: black;
  position: relative;
  padding-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 auto;
}

.calendar-footer-links a {
  color: rgba(255, 255, 255, 0.8);
  color: black;
  margin-left: 1rem;
  text-decoration: none;
}

.calendar-footer-links a:hover {
  color: #fff;
  color: black;
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .calendar-main,
  .calendar-footer {
    padding-inline: 2rem;
  }
}
@media (max-width: 600px) {
  .calendar-main,
  .calendar-footer {
    padding-inline: 0.8rem;
  }
}
@media (max-width: 1000px) {
  .calendar-layout {
    flex-direction: column;
  }

  .calendar-sidebar {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .calendar-downloads {
    height: inherit;
    flex: 1 1 280px;
    margin-top: 0;
  }
  .calendar-content h3 {
    font-size: 2rem;
  }

  .calendar-footer {
    flex-direction: column;
    text-align: center;
  }

  .calendar-footer-links a {
    margin: 0 0.5rem;
  }
}
@media (max-width: 380px) {
  .calendar-section {
    flex: 1 1 100%;
    width: 100%;
  }
}

.popup-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: rgba(24, 49, 62, 0.6);
  overflow: hidden;
  transition: width 0.4s ease;
  z-index: 99999;
}

.popup-overlay:target {
  width: 100%;
}

.popup-box {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  max-width: 720px;
  height: 100%;
  background: #fff;
  padding: 2rem 2.5rem;
  overflow-y: auto;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.popup-overlay:target .popup-box {
  transform: translateX(0);
}

.popup-box::-webkit-scrollbar {
  display: none;
}
.popup-box {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.popup-close {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: #18313e;
  font-weight: 600;
  margin-bottom: 1rem;
}

.popup-close svg {
  vertical-align: middle;
}

.popup-close:hover span {
  text-decoration: underline;
}
#lisbon-popup {
  color: #000;
}
.popup-volume {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 1rem;
  justify-content: center;
  color: black;
}
.popup-volume span.gray {
  color: #7c7c7c;
}
.popup-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.popup-header-top h2 {
  font-size: 1.8rem;
  margin-top: 0.5rem;
}

.popup-header-top h3 {
  font-size: 1rem;
  margin-top: 0.3rem;
}

.popup-body p {
  line-height: 1.7;
  margin: 1rem 0;
}

.popup-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid #e5e9ec;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.popup-close {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: #18313e;
  font-weight: 600;
}

.popup-close:hover span {
  text-decoration: underline;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  text-decoration: none;
  color: #18313e;
  font-weight: 600;
  border: 1px solid #e5e9ec;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  transition: background 0.2s ease;
}

.download-btn:hover {
  background: #f4f8fa;
}
@media (max-width: 768px) {
  .popup-box {
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
    margin: 0;
  }

  .popup-body {
    max-height: none;
    flex-grow: 1;
  }

  .popup-topbar {
    padding: 0.75rem 1rem;
  }

  .popup-close span,
  .download-btn span {
    font-size: 0.9rem;
  }
}

ul li a {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  padding: 0.25rem 0;
}
ul li a:hover {
  background-color: rgba(24, 49, 62, 0.05);
  border-radius: 4px;
}
ul li {
  list-style: none;
  padding: 0.25rem 0;
}
.date-picker-wrapper {
  position: relative;
  margin: 0 auto;
  max-width: 400px;
  width: 100%;
}

.calendar {
  width: 100%;
  display: none;
  z-index: 10;
}
.calendar.show {
  display: block;
}

.calendar-header-picker {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
  color: rgba(0, 0, 0, 0.7);
}
.calendar-header-picker div #monthYear {
  padding: 10px;
  background-color: white;
  width: 100%;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.calendar-header-picker div {
  flex: 1;
}

.calendar-header-picker h2 {
  font-size: 1rem;
  margin: 0;
}

.calendar-header-picker button {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: color 0.2s;
}

.calendar-header-picker button:hover {
  color: #007bff;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  gap: 0.25rem;
  position: relative;
  z-index: 9999;
}

.day-name {
  font-weight: 600;
  font-size: 0.85rem;
}

.calendar-day {
  background-color: rgba(220, 229, 234, 1);
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.calendar-day:hover {
  background: #f0f0f0;
}
.calendar-day.selected {
  background-color: #00007b;
  color: #fff;
}

.calendar-day.today {
  border: 1px solid #007bff;
}

/* 
  SEARCH RESULT CSS
   */
.searchResult {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 3.25rem;
  top: 12.37rem;
  left: 0;
  margin: 0 auto;
  color: black;
  line-height: 1;
  z-index: 9999;
  margin: 0 auto;
}
.result-container {
  width: 100%;
  max-width: 1920px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.3rem;
  align-items: flex-start;
  padding-bottom: 3.125rem;
  /* border-bottom: 1px solid rgba(24, 49, 62, 0.2); */
}
.result-row-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.super-head-title {
  padding-right: 1.75rem;
  position: relative;
}
.super-head-title h2 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  margin-block-start: 0;
  margin-block-end: 0;
}
.super-head-title span {
  /* position: absolute; */
  top: 0;
  right: 0;
  font-size: 1rem;
  line-height: 1.3;
}
.view-result-btn {
  padding-inline: 2rem;
  padding-block: 1rem;
  border: 1px solid rgba(113, 145, 162, 0.2);
  background-color: white;
  border-radius: 3.2rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  line-height: 1;
  letter-spacing: 0%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}

.view-result-btn:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12), 0 3px 6px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.result-grid-container {
  display: grid;
  justify-content: flex-start;
  gap: 1rem;
  width: 100%;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fill, minmax(300px, 580px));
}
.result-card {
  background: #fff;
  border: 1px solid rgba(113, 145, 162, 0.2);
  border-radius: 1.25rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  margin: 0;
  cursor: pointer;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1.875rem;
  max-width: 590px;
  margin: 0 auto;
}
.result-card-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}
.result-body h3 {
  font-size: 1.5625rem;
  line-height: 1.3;
  font-weight: 500;
}
.result-body p,
.result-bottom-text span {
  color: rgba(0, 0, 0, 0.5);
  font-weight: 400;
  line-height: 1.3;
  font-size: 0.875rem;
}
.result-bottom-text {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.round-point {
  background-color: #000;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 100%;
}
.pop-card {
  background: #fff;
  border: 1px solid rgba(113, 145, 162, 0.2);
  border-radius: 1.25rem;
  padding: 1.25rem;
  cursor: pointer;
  width: 100%;
  max-width: 590px;
  margin: 0 auto;
}
.pop-icon {
  margin-left: auto;
}
.result-custom {
  background-color: white;
  border: 1px solid rgba(113, 145, 162, 0.2);
  padding: 0.625rem;
  border-radius: 0.625rem;
  gap: 0.625rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #000;
  font-weight: 400;
}
.result-span {
  font-size: 1.2rem;
}
.result-card-head .popup-volume {
  margin: 0;
}

@media (max-width: 1280px) {
  .result-grid-container {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
  }
}
@media (max-width: 600px) {
  .super-head-title {
    padding-right: 1.5rem;
  }
  .super-head-title h2 {
    font-size: 1rem;
    padding-block: 1rem;
  }
}

@media (min-width: 1024px) {
  .search-white {
    top: 13rem;
  }
}
@media (min-width: 1280px) {
  .result-grid-container {
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 1.5rem;
  }
}
@media (min-width: 1920px) {
  .result-grid-container {
    grid-template-columns: repeat(auto-fill, minmax(580px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .result-grid-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.assembly-section {
  display: grid;
  gap: 2rem;
  padding: 1rem;
}

.assembly-links {
  display: grid;
  grid-template-columns: 1fr;
}
.link-card {
  position: relative;
  gap: 1rem;
  padding: 1rem;
  position: relative;
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #e4e4e4;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}

.link-card > div:nth-child(2) {
  position: relative;
  width: 100%;
}

.link-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #203643;
  margin-bottom: 0.25rem;
  margin-top: 40px;
  line-height: 23px;
}

.link-card p {
  font-size: 14px;
  color: #203643;
  line-height: normal;
  font-weight: 300;
}

.link-card:hover {
  background: #f8f8f8;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .assembly-date-card {
    flex-direction: column;
  }

  .secondContainer {
    padding-bottom: 120px;
  }
}

@media (min-width: 768px) {
  .assembly-links {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (min-width: 1920px) {
  .assembly-card {
    max-width: 650px;
  }
}

.px-responsive {
  padding-inline: 1rem;
}
@media (max-width: 600px) {
  .px-responsive {
    padding-inline: 2rem;
  }
}
@media (max-width: 480px) {
  .px-responsive {
    padding-inline: 1rem;
  }
}

@media (min-width: 640px) {
  .px-responsive {
    padding-inline: 2rem;
  }
}

@media (min-width: 1024px) {
  .px-responsive {
    padding-inline: 3rem;
  }
}

.dashboard-wrapper {
  background: #fff9e5;
  min-height: 100vh;
  width: 100%;
}

.dashboard-wrapper .content {
  background: #fff9e5;
  align-items: stretch;
}

@media (min-width: 1440px) {
  .px-responsive {
    padding-inline: 0rem;
  }
}

.dashboard-container {
  background-color: rgba(247, 248, 249, 1);
}

.dashboard {
  display: flex;
  min-height: 100vh;
  background-color: white;
}
.sidebar {
  min-width: 250px;
  background-color: #5c766f;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.875rem;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 200;
  transition: width var(--transition), transform var(--transition);
  overflow: hidden;
}
.logo-text {
  color: rgba(24, 49, 62, 1);
  font-weight: 500;
  transition: color 0.2s ease-in-out, font-weight 0.2s ease-in-out,
    text-shadow 0.2s ease-in-out;
}

/* .logo-text:hover {
  color: hsl(205, 92%, 59%);
  font-weight: 700;
  text-shadow: 0 0 8px hsl(205, 92%, 59%);
} */

#menu-toggle {
  display: none;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 150;
}
.stats span {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.5);
}
.stats strong {
  font-size: 1.125rem;
}
@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
  }
  #menu-toggle:checked ~ .sidebar {
    transform: translateX(0);
  }
  #menu-toggle:checked ~ .overlay {
    opacity: 1;
    visibility: visible;
  }
  #menu-toggle:checked ~ .menu-btn {
    display: none;
  }
}

.content {
  flex: 1;
  background: #f7f8fa;
  padding-block: 1.875rem;
  margin-left: var(--sidebar-width);
  transition: margin-left var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (min-width: 1680px) {
  .content {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* ====== Sidebar Content ====== */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}
.menu {
  margin-top: 2rem;
}
.menu .menu-span {
  color: rgba(21, 21, 21, 0.5);
  font-weight: 600;
  line-height: 1;
  display: inline-block;
  margin-bottom: 1rem;
  line-height: 100%;
  font-size: 14px;
}

.menu a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px;
  color: rgba(24, 49, 62, 1);
  text-decoration: none;
  border-radius: 10px;
  font-size: 16px;
  line-height: 100%;
  width: 190px;
  background-color: rgba(237, 244, 248, 1);
}

.user {
  text-align: center;
  margin-top: auto;
}
.user .names {
  border: 1px solid rgba(113, 145, 162, 0.2);
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
  justify-content: center;
  gap: 10px;
  width: 190px;
  padding: 10px;
  border-radius: 10px;
  align-items: center;
}

.user .names p {
  color: #fff;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #4b9782;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.logout {
  display: flex;
  margin-bottom: 20px;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
}
.logout a {
  text-align: start;
  text-decoration: none;
  color: rgba(24, 49, 62, 1);
}
.logout-span {
  color: rgba(24, 49, 62, 1);
  font-weight: 500;
  font-size: 14px;
}

/* ====== Hamburger (for mobile) ====== */
.menu-btn {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  background: var(--sidebar-bg);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 300;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 40px;
}
@media (max-width: 900px) {
  .menu-btn {
    display: flex;
  }
  .header {
    padding-inline: 2.5rem;
    margin-left: 1rem;
  }
}

/* ====== Header ====== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
  gap: 1rem;
}

.header h1 {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: 0%;
}

/* ====== Stats ====== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  justify-self: self-start;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 2rem;
  max-width: 590px;
  width: fit-content;
}

.card {
  background: var(--card-bg);
  padding: 0.625rem;
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  border-radius: 0.625rem;
  gap: 3px;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.card.sitting-card {
  align-items: center;
}

/* ====== Table Section ====== */
.table-section {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  max-width: var(--max-width-table);
}

.table-section::-webkit-scrollbar {
  display: none;
}
.table-section h2 {
  font-size: 22px;
  line-height: 100%;
  font-weight: 600;
  letter-spacing: 0%;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
  margin-top: 1rem;
}
th,
td {
  padding: 10px;
  text-align: left;
  white-space: nowrap;
}
thead {
  width: 100%;
}
thead tr {
  color: rgba(21, 21, 21, 0.5);
  font-weight: 600;
  border-radius: 10px;
  margin-bottom: 20px;
  /* background-color: rgba(247, 248, 249, 1); */
  background-color: oklab(0.9 0.002615 0.029886 / 0.5);
}

td {
  border-top: 1px solid var(--border-light);
  text-align: left;
}

/* ====== Tag Styles ====== */
.tag {
  pointer-events: none;
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  padding: 4px 9px 5px 9px;
  border-radius: 999px;
  text-align: center;
  line-height: 100%;
  white-space: nowrap;
}
.tag.date {
  text-decoration: underline;
  font-size: 14px;
  text-decoration-style: solid;
  letter-spacing: 0%;
  font-weight: 400;
  line-height: 100%;
}
td span {
  width: fit-content;
}
.upload-icon {
  display: inline-block;
  width: 8px;
  height: 11px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg width='11' height='13' viewBox='0 0 11 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.86667 11.2667H8.33333C8.72232 11.2667 9.09537 11.1121 9.37042 10.8371C9.64548 10.562 9.8 10.189 9.8 9.8V3.93333L6.86667 1H2.46667C2.07768 1 1.70463 1.15452 1.42958 1.42958C1.15452 1.70463 1 2.07768 1 2.46667V9.8C1 10.189 1.15452 10.562 1.42958 10.8371C1.70463 11.1121 2.07768 11.2667 2.46667 11.2667H3.93333' stroke='%233388B4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3.19995 6.13335L5.39995 3.93335M5.39995 3.93335L7.59995 6.13335M5.39995 3.93335V12' stroke='%233388B4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.eye-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: transform 0.2s ease;
  background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='30' height='30' rx='15' fill='%23F4F4F4'/%3E%3Cpath d='M15 10.895C19.447 10.895 21.5 15 21.5 15C21.5 15 19.447 19.105 15 19.105C10.553 19.105 8.5 15 8.5 15C8.5 15 10.553 10.895 15 10.895Z' stroke='%23222222' stroke-width='0.929' stroke-linejoin='round'/%3E%3Cpath d='M16.9399 15C16.9459 15.2663 16.8986 15.5312 16.8008 15.779C16.703 16.0268 16.5566 16.2526 16.3704 16.443C16.1841 16.6335 15.9617 16.7848 15.7161 16.8882C15.4706 16.9915 15.2068 17.0447 14.9404 17.0447C14.674 17.0447 14.4103 16.9915 14.1647 16.8882C13.9192 16.7848 13.6968 16.6335 13.5105 16.443C13.3242 16.2526 13.1779 16.0268 13.0801 15.779C12.9823 15.5312 12.935 15.2663 12.9409 15C12.9409 14.4696 13.1516 13.9609 13.5267 13.5858C13.9018 13.2107 14.4105 13 14.9409 13C15.4714 13 15.9801 13.2107 16.3551 13.5858C16.7302 13.9609 16.9409 14.4696 16.9409 15H16.9399Z' stroke='%23222222' stroke-width='0.929' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.download-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: transform 0.2s ease;
  background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='30' height='30' rx='15' fill='%23F4F4F4'/%3E%3Cpath d='M15 18.577L11.461 15.039L12.169 14.319L14.5 16.65V8H15.5V16.65L17.83 14.32L18.539 15.039L15 18.577ZM9.616 22C9.15533 22 8.771 21.846 8.463 21.538C8.155 21.23 8.00067 20.8453 8 20.384V17.961H9V20.384C9 20.538 9.064 20.6793 9.192 20.808C9.32 20.9367 9.461 21.0007 9.615 21H20.385C20.5383 21 20.6793 20.936 20.808 20.808C20.9367 20.68 21.0007 20.5387 21 20.384V17.961H22V20.384C22 20.8447 21.846 21.229 21.538 21.537C21.23 21.845 20.8453 21.9993 20.384 22H9.616Z' fill='%23222222'/%3E%3C/svg%3E");
}

.download-icon.active:hover,
.eye-icon.active:hover,
.btn:hover {
  transform: scale(1.1);
}

.eye-icon.active {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='30' height='30' rx='15' fill='rgba(93, 120, 109, 1)'/%3E%3Cpath d='M15 10.895C19.447 10.895 21.5 15 21.5 15C21.5 15 19.447 19.105 15 19.105C10.553 19.105 8.5 15 8.5 15C8.5 15 10.553 10.895 15 10.895Z' stroke='rgba(256, 249, 231, 1)' stroke-width='0.929' stroke-linejoin='round'/%3E%3Cpath d='M16.9399 15C16.9459 15.2663 16.8986 15.5312 16.8008 15.779C16.703 16.0268 16.5566 16.2526 16.3704 16.443C16.1841 16.6335 15.9617 16.7848 15.7161 16.8882C15.4706 16.9915 15.2068 17.0447 14.9404 17.0447C14.674 17.0447 14.4103 16.9915 14.1647 16.8882C13.9192 16.7848 13.6968 16.6335 13.5105 16.443C13.3242 16.2526 13.1779 16.0268 13.0801 15.779C12.9823 15.5312 12.935 15.2663 12.9409 15C12.9409 14.4696 13.1516 13.9609 13.5267 13.5858C13.9018 13.2107 14.4105 13 14.9409 13C15.4714 13 15.9801 13.2107 16.3551 13.5858C16.7302 13.9609 16.9409 14.4696 16.9409 15H16.9399Z' stroke='rgba(256, 249, 231, 1)' stroke-width='0.929' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.download-icon.active {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='30' height='30' rx='15' fill='rgba(93, 120, 109, 1)'/%3E%3Cpath d='M15 18.577L11.461 15.039L12.169 14.319L14.5 16.65V8H15.5V16.65L17.83 14.32L18.539 15.039L15 18.577ZM9.616 22C9.15533 22 8.771 21.846 8.463 21.538C8.155 21.23 8.00067 20.8453 8 20.384V17.961H9V20.384C9 20.538 9.064 20.6793 9.192 20.808C9.32 20.9367 9.461 21.0007 9.615 21H20.385C20.5383 21 20.6793 20.936 20.808 20.808C20.9367 20.68 21.0007 20.5387 21 20.384V17.961H22V20.384C22 20.8447 21.846 21.229 21.538 21.537C21.23 21.845 20.8453 21.9993 20.384 22H9.616Z' fill='rgba(256, 249, 231, 1)'/%3E%3C/svg%3E");
}

.eye-icon.inactive,
.download-icon.inactive {
  opacity: 0.5;
  pointer-events: none;
}

.tag.draft {
  background: #fefac6;
  color: #c9831c;
}
.tag.published {
  background: #5d786d;
  color: #fef9e7;
}
.tag.ready {
  background: #f4ebff;
  color: var(--accent-purple);
}
.tag.noupload {
  background: #f0f0f0;
  color: #666;
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  margin-right: 5px;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 7px 7px 8px 7px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 5px;
  cursor: pointer;
  background: transparent;
  white-space: nowrap;
  border: 1px solid transparent;
  letter-spacing: 0%;
  line-height: 100%;
  transition: var(--transition);
}
.btn.sitting {
  background-color: rgba(0, 0, 123, 1);
  color: white;
  font-size: 1rem;
  border-radius: 20px;
  padding: 10px;
  width: 190px;
  border: 0;
  font-size: 14px;
  line-height: normal;
}
.btn.sitting span {
  margin-right: 2px;
}
.btn.sitting.two {
  border-radius: 5px;
  width: auto;
  background: #5c766f;
}

.btn.publish {
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.btn.move {
  color: #666;
  border-color: #ccc;
}

.btn.upload {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}
@media (max-width: 768px) {
  .stats {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    max-width: 100%;
    justify-content: center;
  }
  .hansard-date-wrap h2 {
    font-size: 26px !important;
  }
  .calendar-sidebar {
    order: 2;
  }
}
@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 600px) {
  .table-section {
    padding: 1rem;
  }
  .table-section h2 {
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  .content {
    margin-left: 0;
  }
}
.help-span {
  color: white;
}

/*  Large Screen Dashboard */

@media (min-width: 1920px) {
  .dashboard-wrapper {
    width: 100%;
    padding: 4rem;
    margin: 0 auto;
  }
  .content,
  .table-section {
    max-width: 1400px;
    margin: 0 auto;
  }

  header.header h1 {
    font-size: 2.5rem;
  }

  .stats .card {
    padding: 2.5rem;
    font-size: 1.5rem;
  }

  table {
    font-size: 16px !important;
    font-weight: 400;
  }

  th,
  td {
    padding: 1.5rem 2rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
  }

  .tag {
    font-size: 12px;
    /* padding: 0.4rem 0.8rem; */
  }
}

@media (min-width: 2560px) {
  .dashboard-wrapper {
    max-width: 2200px;
    margin: 0 auto;
  }
  .table-section,
  .content {
    max-width: 1920px;
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }

  table {
    font-size: 1.25rem;
  }

  th,
  td {
    padding: 1.75rem 2.25rem;
  }

  header.header h1 {
    font-size: 3rem;
  }

  .btn {
    font-size: 1.1rem;
    padding: 1rem 1.75rem;
  }
}

/* ============================================================
   ?? HANSARDAI � COMPLETE UI COMPONENTS + UTILITIES
   Fully responsive: forms, uploads, buttons, alerts, auth, etc.
   ============================================================ */

/* ---------- Form Elements ---------- */
.form-wrapper {
  background: #fff;
  border: 1px solid rgba(113, 145, 162, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #203643;
  margin-bottom: 0.5rem;
}

.form-control {
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(32, 54, 67, 0.2);
  border-radius: 0.5rem;
  font-size: 1rem;
  background: #fff;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
  outline: none;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ---------- Inline Forms & Sizes ---------- */
.form-inline {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.form-inline .form-control {
  flex: 1 1 200px;
}
.input-sm {
  padding: 0.4rem 0.7rem;
  font-size: 0.875rem;
}
.input-lg {
  padding: 0.9rem 1.25rem;
  font-size: 1.1rem;
}
.input-error {
  border-color: #b92d2d;
  background: rgba(185, 45, 45, 0.05);
}
.input-success {
  border-color: #0ac500;
  background: rgba(10, 197, 0, 0.05);
}
.required::after {
  content: ' *';
  color: #b92d2d;
  font-weight: bold;
}

/* ---------- Selects ---------- */
.select-box {
  position: relative;
}
.select-box select {
  width: 100%;
  cursor: pointer;
}
.select-box::after {
  content: '?';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #203643;
  font-size: 0.8rem;
  pointer-events: none;
}

/* ---------- Uploads ---------- */
.upload-box {
  position: relative;
  border: 2px dashed rgba(32, 54, 67, 0.3);
  border-radius: 0.75rem;
  background: rgba(247, 248, 249, 1);
  text-align: center;
  padding: 2rem 1rem;
  color: #607988;
  transition: border-color 0.2s ease;
}
.upload-box:hover {
  border-color: #007bff;
}
.upload-box input[type='file'] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-progress {
  margin-top: 1rem;
  height: 8px;
  width: 100%;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  overflow: hidden;
}
.upload-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: #007bff;
  transition: width 0.3s ease;
}
.upload-thumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8fafc;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #203643;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  /* border-radius: 2rem; */
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.25s ease, transform 0.1s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: #5c766f;
  color: #fff;
}
.btn-primary:hover {
  background: #1a3f56;
}
.btn-secondary {
  background: #dce5ea;
  color: #203643;
}
.btn-secondary:hover {
  background: #c9d8de;
}
.btn-danger {
  background: #b92d2d;
  color: #fff;
}
.btn-danger:hover {
  background: #991b1b;
}
.btn-outline {
  background: #fff;
  border: 1px solid #203643;
  color: #203643;
}
.btn-outline:hover {
  background: #203643;
  color: #fff;
}
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #102d3d;
  color: #fff;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-icon:hover {
  background: #1a3f56;
}
.btn-light {
  background: #f8f9fa;
  color: #203643;
}
.btn-light:hover {
  background: #e4e9ec;
}

.btn--sit {
  background: #4b9782;
  color: #fff;
  margin-bottom: 10px;
  width: 100%;
  justify-content: start;
}

/* ---------- Login / Auth ---------- */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #18313e;
  background-image: linear-gradient(135deg, #102d3d 0%, #18313e 100%);
  color: #fff;
}
.login-card {
  background: #fff;
  color: #203643;
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.login-card h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.login-card .form-control {
  width: 100%;
}
.login-card .btn {
  width: 100%;
  margin-top: 1.5rem;
}

/* ---------- Alerts / Notices ---------- */
.alert {
  padding: 0.9rem 1.25rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
}
.alert-success {
  background: rgba(10, 197, 0, 0.1);
  border-left: 4px solid #0ac500;
  color: #0f5132;
}
.alert-error {
  background: rgba(185, 45, 45, 0.1);
  border-left: 4px solid #b92d2d;
  color: #842029;
}
.alert-info {
  background: rgba(0, 123, 255, 0.1);
  border-left: 4px solid #007bff;
  color: #0c4a6e;
}

/* ---------- Loaders / Spinners ---------- */
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(32, 54, 67, 0.15);
  border-top-color: #102d3d;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: auto;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Cards / Panels ---------- */
.card-panel {
  background: #fff;
  border: 1px solid rgba(113, 145, 162, 0.2);
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.card-panel h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: #203643;
}
.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ---------- Tables / States ---------- */
.table-empty {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
  font-style: italic;
}
.table-loading {
  position: relative;
  min-height: 80px;
}
.table-loading::after {
  content: 'Loading...';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #607988;
}
th.sortable {
  cursor: pointer;
}
th.sortable::after {
  content: '?';
  margin-left: 0.3rem;
  font-size: 0.75rem;
  color: #999;
}
tbody tr:hover {
  background-color: rgba(32, 54, 67, 0.05);
}
tr.selected {
  background: #dce5ea;
}

/* ---------- Modals ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.modal-box {
  background: #fff;
  border-radius: 1rem;
  max-width: 500px;
  width: 90%;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ---------- Filters & Pagination ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: #f8f9fa;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}
.filter-bar input,
.filter-bar select {
  flex: 1 1 200px;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.pagination button {
  border: none;
  background: #dce5ea;
  color: #203643;
  padding: 0.5rem 0.9rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
}
.pagination button.active,
.pagination button:hover {
  background: #203643;
  color: #fff;
}

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 999px;
  background: #dce5ea;
  color: #203643;
  font-weight: 600;
}
.badge.admin {
  background: #007bff;
  color: #fff;
}
.badge.editor {
  background: #0ac500;
  color: #fff;
}

/* ---------- Utility Classes ---------- */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.hidden {
  display: none !important;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.w-100 {
  width: 100%;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------- Dark Mode ---------- */
@media (prefers-color-scheme: dark) {
  .form-control,
  .upload-box {
    background: #00007b;
    color: #fff;
    border-color: #555;
  }
  .btn-outline {
    border-color: #eee;
    color: #eee;
  }
  .btn-outline:hover {
    background: #eee;
    color: #203643;
  }
  .card-panel {
    background: #2c3e4a;
    border-color: #3a4c5b;
  }
}

/* ---------- Responsive Enhancements ---------- */
@media (max-width: 600px) {
  .form-wrapper,
  .card-panel,
  .modal-box {
    padding: 1.25rem;
  }
  .form-inline {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .btn,
  .btn-icon {
    width: 100%;
  }
  .pagination {
    flex-wrap: wrap;
  }
  .login-card {
    padding: 1.5rem;
  }
}

.modal-overlay {
  transition: opacity 0.25s ease;
}
.modal-overlay.show {
  display: flex;
  opacity: 1;
}

/* ===== UPDATE THIS IN YOUR style.css FILE ===== */

/* Calendar day with sitting content - BLACK background */
.calendar-day.has-content {
  background-color: #00007b;
  color: white;
  font-weight: 600;
}

.calendar-day.has-content:hover {
  background-color: #00007b;
  color: white;
}

/* Keep weekend styling but lower priority than has-content */
.calendar-day.weekend {
  background-color: rgba(238, 238, 238, 1);
  color: rgba(24, 49, 62, 0.3);
  font-weight: 500;
}

/* If a weekend has content, content wins */
.calendar-day.weekend.has-content {
  background-color: #00007b;
  color: white;
  font-weight: 600;
}

.calendar-day.weekend.has-content:hover {
  background-color: #00007b;
  color: white;
}

/* Selected day styling - keep distinct */
.calendar-day.selected {
  background-color: #e0d6c5;
  color: black;
  border: 2px solid #e0d6c5;
}

/* Selected day with sitting should stay blue */
.calendar-day.selected.has-content {
  background-color: #00007b !important;
  color: white !important;
  border: 2px solid #00007b !important;
}

/* Future dates stay lighter */
.calendar-day.future-date {
  background-color: rgba(247, 249, 250, 1);
  color: rgba(24, 49, 62, 0.4);
  cursor: not-allowed;
}

.calendar-day.future-date:hover {
  background-color: rgba(247, 249, 250, 1);
  color: rgba(24, 49, 62, 0.4);
}

/* Today styling */
.calendar-day.today {
  border: 2px solid #007bff;
}

/* Base calendar day */
.calendar-day {
  background-color: rgba(238, 238, 238, 1);
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.calendar-day:hover {
  background: #f0f0f0;
}

.link-card {
  text-decoration: none;
}

/* ====== my custom css ====== */

.header-wrap {
  background: #00007b;
  padding-block: 10px;
  margin-bottom: 2.5rem;
  padding-inline: 2rem;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  position: relative;
}

.hansard-date-wrap {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hansard-date-wrap h2 {
  font-size: 38px;
  font-weight: 600;
}

.hansard-date-top {
  padding: 1px 30px;
  background-color: rgba(224, 214, 197, 0.58);
  border-radius: 50px;
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 300;
}

.top-sub-title {
  font-size: 20px;
  line-height: 100%;
  color: #fff;
  font-weight: 300;
  padding-top: 5px;
}

.topics-container {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 20px;
  margin-top: 20px;
}

.footer-wrapper {
  background: #00007b;
  padding-block: 20px;
  color: #fff;
}

.footer-wrapper a {
  color: #fff;
}
.footer-wrapper a:hover {
  color: #e0d6c5;
}
.footer-wrapper .calendar-footer {
  padding-bottom: 0px;
  color: #fff;
}

.footer-wrapper .calendar-footer-links a {
  color: #fff;
  margin-left: 1rem;
  text-decoration: none;
  font-size: 12px;
}

.share-icon {
  position: absolute;
  top: 60px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  z-index: 2;
}

.share-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #d9dee4;
  border-radius: 999px;
  background: #fff;
  color: #18313e;
  font-size: 14px;
  font-weight: 300;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.share-button:hover {
  background: #203643;
  color: #fff;
  border-color: #203643;
}

.share-button:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.share-button img {
  width: 20px;
  height: 20px;
}

.share-button-arrow {
  transition: transform 0.2s ease;
}

.share-icon.open .share-button-arrow {
  transform: rotate(180deg);
}

.share-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border: 1px solid #d9dee4;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(17, 34, 51, 0.15);
  overflow: hidden;
  min-width: 200px;
}

.share-icon.open .share-menu {
  display: flex;
}

.share-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #18313e;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.share-link:hover {
  background: #f0f4f7;
  color: #18313e;
}

.share-link i {
  font-size: 1rem;
}

.share-link.share-facebook i {
  color: #1877f2;
}

.share-link.share-twitter i {
  color: #111;
}

.share-link.share-linkedin i {
  color: #0a66c2;
}

.share-link.share-whatsapp i {
  color: #25d366;
}

.share-link.share-email i {
  color: #18313e;
}

.search-result-speech-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #e1e8ed;
}

.chatbot-header {
  background: linear-gradient(135deg, #00007b 0%, #e1d6c2 100%) !important;
}

.chatbot-send {
  background: #00007b !important;
}

/* .sty-table table th {
  padding-inline: 20px;
} */

@media (min-width: 1300px) {
  .sidebar {
    position: relative !important;
    height: auto !important;
  }
}

@media only screen and (min-width: 1300px) and (max-width: 1680px) {
  .dashboard-wrapper .content {
    margin-left: 0;
  }
}

/* ====== Subscribe Banner (Homepage) ====== */
.subscribe-banner {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #f8f9ff 0%, #eef1f8 100%);
  border: 1px solid #e0e4ed;
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.sb-icon {
  background: white;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 2px 6px rgba(0,0,123,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sb-text {
  flex: 1;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
}

.sb-text strong {
  color: #00007b;
}

.sb-form {
  display: flex;
  gap: 8px;
  align-items: stretch;
  flex-shrink: 0;
}

.sb-form input[type="email"] {
  padding: 10px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  background: white;
  width: 200px;
}

.sb-form input[type="email"]:focus {
  outline: none;
  border-color: #00007b;
  box-shadow: 0 0 0 2px rgba(0,0,123,0.1);
}

.sb-form input[type="email"]::placeholder {
  color: #999;
}

.sb-form button {
  padding: 10px 18px;
  background: #00007b;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.sb-form button:hover {
  background: #000066;
}

@media (max-width: 700px) {
  .subscribe-banner {
    flex-direction: column;
    text-align: center;
  }

  .sb-form {
    width: 100%;
    flex-direction: column;
  }

  .sb-form input[type="email"] {
    width: 100%;
  }

  .sb-form button {
    width: 100%;
  }
}

/* ==========================================
   ACCESSIBILITY TOOLBAR
   ========================================== */

/* Wrapper */
.acc-wrapper {
  position: relative;
  display: inline-block;
}

/* Trigger Button - Inline in header */
.acc-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  transition: background 0.2s ease;
}

.acc-trigger:hover {
  background: rgba(255,255,255,0.25);
}

.acc-trigger:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

.acc-trigger svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Panel - Dropdown */
.acc-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 100000;
  width: 260px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.acc-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.acc-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  font-weight: 600;
  color: #1a2b3c;
}

.acc-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #607988;
  line-height: 1;
  padding: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.acc-close:hover {
  background: #f5f5f5;
  color: #333;
}

.acc-close:focus {
  outline: 2px solid #00007b;
  outline-offset: 1px;
}

.acc-panel-body {
  padding: 12px;
}

.acc-option {
  margin-bottom: 10px;
}

.acc-option:last-child {
  margin-bottom: 0;
}

.acc-label {
  display: block;
  font-size: 13px;
  color: #607988;
  margin-bottom: 6px;
}

/* Font Size Controls */
.acc-font-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.acc-font-controls button {
  width: 40px;
  height: 36px;
  border: 1px solid #ddd;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.acc-font-controls button:hover {
  background: #e9ecef;
  border-color: #ccc;
}

.acc-font-controls button:focus {
  outline: 2px solid #00007b;
  outline-offset: 1px;
}

.acc-size-display {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #1a2b3c;
}

/* Toggle Buttons */
.acc-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
}

.acc-toggle:hover {
  background: #e9ecef;
  border-color: #ccc;
}

.acc-toggle:focus {
  outline: 2px solid #00007b;
  outline-offset: 1px;
}

.acc-toggle.active {
  background: #00007b;
  border-color: #00007b;
  color: white;
}

.acc-toggle svg {
  flex-shrink: 0;
}

/* Reset Button */
.acc-reset {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 6px;
  font-size: 13px;
  color: #607988;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 6px;
}

.acc-reset:hover {
  background: #ffebee;
  border-color: #ef9a9a;
  color: #c62828;
}

.acc-reset:focus {
  outline: 2px solid #00007b;
  outline-offset: 1px;
}

/* ==========================================
   ACCESSIBILITY MODE STYLES
   ========================================== */

/* High Contrast Mode */
.acc-high-contrast {
  filter: contrast(1.25);
}

.acc-high-contrast * {
  border-color: #000 !important;
}

.acc-high-contrast a,
.acc-high-contrast button {
  outline: 1px solid transparent;
}

.acc-high-contrast a:focus,
.acc-high-contrast button:focus {
  outline: 3px solid #000 !important;
  outline-offset: 2px;
}

/* Readable Font Mode (OpenDyslexic-like) */
.acc-readable-font {
  font-family: 'Comic Sans MS', 'OpenDyslexic', Arial, sans-serif !important;
  letter-spacing: 0.05em;
  word-spacing: 0.1em;
  line-height: 1.8 !important;
}

.acc-readable-font * {
  font-family: inherit !important;
}

/* Underline Links Mode */
.acc-link-underlines a {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.acc-link-underlines a:hover {
  text-decoration-thickness: 2px !important;
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .acc-trigger span {
    display: none;
  }

  .acc-trigger {
    padding: 8px;
  }

  .acc-panel {
    right: -10px;
    width: 280px;
  }
}
