#week-calendar {
  display: grid;
  grid-template-columns: 25px repeat(5,1fr);
  gap: 10px;
  font-family: inherit;
  color: inherit;
  width: 100%;
  max-width: 1920px;
  margin: auto;
}

.calendar-top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background-color: #5196db; /* Soft pastel bluish-grey */
  border: 2px solid #ffffff;  /* Soft boundary */
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
}

.calendar-top-bar h2 {
  margin: 0;
  font-family: inherit;
  color: #4a5568;
  font-size: 1.25rem;
  min-width: 250px;
  text-align: center;
}

.nav-btn {
  background: rgb(95, 143, 179);
  border: 1px solid #cbd5e0;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.nav-btn:hover {
  background: #edf2f7;
  border-color: #a0aec0;
}
.day-column {
  border: 1px solid currentColor;
  border-bottom: 1px dotted currentColor;
  border-radius: 8px;
  padding: 3px 0 0 0;
  background: transparent;
}

.day-header {
  font-weight: bold;
  text-align: center;
  height: 27px;
  margin-bottom: 0px;
  border-bottom: 2px solid currentColor;
}

.day-grid{
  display: grid;
  grid-template-rows: repeat(21, 30px);
  position: relative;
}

.time-grid {
  display: grid;
  grid-template-rows: repeat(22, 30px);
  height: 630px; /* 21 slots * 30px */
  position: relative;
}

.time-column {
  font-size: 11px;
  display: flex;
  flex-direction: column;
}

.time-grid div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px dotted currentColor;
  opacity: 0.7;
  padding-right: 4px;
}

.event {
  background: rgba(100,150,255,0.25);
  border-left: 4px solid currentColor;
  border-radius: 4px;
  padding: 4px;
  font-size: 14px;
  overflow: hidden;
}

.event-title {
  font-weight: bold;
}

.event-time {
  font-size: 11px;
  opacity: 0.8;
}
