body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #121212;
  color: white;
}

.invert-colors {
  filter: invert(1) hue-rotate(180deg);  /* Inverts all colors */
}

/* Optional: To avoid images being inverted */
.invert-colors img {
  filter: invert(0);
}

#invert-colors-btn {
  display: block;
  padding: 12px 20px;
  background-color: #2a2a2a;
  color: white;
  font-size: medium;
}

.navbar {
  display: flex;
  align-items: center;
  background-color: #1f1f1f;
  padding: 10px 20px;
  position: relative;
}

#menu-toggle {
  position: relative;
  z-index: 1001; /* higher than the sidebar's 999 */
  font-size: 24px;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
  margin-right: 20px;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -220px;
  width: 200px;
  height: 100%;
  background-color: #2a2a2a;
  padding-top: 60px;
  transition: left 0.3s ease;
  z-index: 999;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li a {
  display: block;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
}

.sidebar ul li a:hover {
  background-color: #444;
}

.sidebar.open {
  left: 0;
}

.calendar-container {
  padding: 20px;
  margin-left: 0;
  transition: margin-left 0.3s;
  background-color: #121212;
}

.day-names {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: bold;
  background-color: #1a1a1a;
  padding: 10px 0;
  border-bottom: 1px solid #333;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(6, 100px);
  gap: 1px;
  background-color: #333;
}

.calendar-cell {
  position: relative;
  background-color: #1e1e1e;
  border: 1px solid #2c2c2c;
  padding: 8px;
  font-size: 18px;
  /* text-align: right; */
}

.bangla-date {
  font-size: 20px;
  font-weight: bold;
}

.english-date {
  position: absolute;
  bottom: 6px;
  right: 6px;
  font-size: 12px;
  color: #bbbbbb;
}

.calendar-cell {
  position: relative;
  background-color: #1e1e1e;
  border: 1px solid #2c2c2c;
  padding: 8px;
  font-size: 18px;
}

.bangla-date {
  font-size: 20px;
  font-weight: bold;
  color: white;
}

.english-date {
  position: absolute;
  bottom: 6px;
  right: 6px;
  font-size: 12px;
  color: #bbb;
}

.bangla-month-year {
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  padding: 10px;
  color: #ffffff;
}

.english-month-year {
  text-align: center;
  font-size: 1.25em;
  font-weight: bold;
  padding: 10px;
  color: #ffffff;
}

.calendar-cell.today {
  background-color: #b3e5fc; /* light blue */
  border: 2px solid #0288d1; /* deep blue border */
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(3, 169, 244, 0.4);
}

/* Container for the month navigation row */
.calendar-header {
  display: flex;
  justify-content: center; /* Center the items horizontally */
  align-items: center;     /* Center items vertically */
  gap: 10px;               /* Space between buttons and text */
  margin-bottom: 10px;
}

.calendar-header button {
  background-color: #2a2a2a;
  color: white;
  border: none;
  padding: 6px 12px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 4px;
}

.calendar-header button:hover {
  background-color: #444;
}

/* Modal background */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
}

/* Modal box */
.modal-content {
  background: #1f1f1f;
  color: white;
  margin: 15% auto;
  padding: 20px;
  width: 300px;
  border-radius: 8px;
  text-align: center;
}

.modal-content input[type="date"] {
  padding: 6px;
  margin-top: 10px;
  font-size: 16px;
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}
.close:hover {
  color: red;
}

.calendar-cell.today .bangla-date {
  color: black;
}

.calendar-cell.today .english-date {
  color: #414141;
}


/* Footer */
.site-footer {
  margin-top: auto;
  background-color: #1f1f1f;
  border-top: 1px solid #333;
  padding: 12px 20px;
  text-align: center;
  font-size: 14px;
  color: #bbb;
}

.site-footer__content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer a {
  color: white;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-footer a:hover {
  border-bottom-color: currentColor;
}

.footer-sep {
  opacity: 0.6;
}

.footer-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #333;
  background: #1f1f1f;
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
}

.footer-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  opacity: 0.9;
}

.footer-icon:hover {
  transform: translateY(-1px);
  border-color: #555;
  background: #252525;
}

.footer-icon:focus-visible {
  outline: 2px solid #7aa7ff;
  outline-offset: 2px;
}

.footer-credit {
  color: #bbb;
  font-size: 22px;
  /* opacity: 0.9; */
  margin-right: 6px;
  user-select: none;
}
