.hidden { display:none; }

#lessonday-form{
  position: relative;
}

#lessonday {
  width: 150px;
  padding: 8px;
  border: 3px solid #98d4f3;
  border-radius: 20px;
  font-family: 'Sniglet', cursive;
  font-size: 1em;
  color: #676767;
  cursor: pointer;
}

.calendar {
  position: absolute;
  top:0;
  left: 0;
  background: white;
  border: 3px solid #98d4f3;
  border-radius: 20px;
  padding: 12px;
  margin-top: 5px;
  font-family: 'Noto Sans JP', sans-serif;
  box-shadow: 0 10px 20px rgba(3,169,244,0.2);
  max-width: 290px;
}

.calendar header {
  display: flex;
  justify-content: space-between;
  align-items:center;
  margin-bottom:10px;
  font-weight: 700;
  color: #03a9f4;
}

.calendar table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.calendar th {
  color: #f97316;
  padding-bottom: 6px;
}

.calendar td {
  cursor:pointer;
  padding: 8px 0;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.calendar td:hover {
  background-color: #fef8e4;
}

.calendar td.selected {
  background-color: #ff9800;
  color: white;
}


.calendar header button {
  cursor: pointer;
  padding: 6px 14px;
  border: none;
  background: var(--color-accent1);
  border-radius: 10px;
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
  user-select: none;
  transition: background-color 0.3s ease;
}
.calendar header button:hover {
  background-color: var(--color-secondary);
}

.calendar td {
  position: relative;
  padding: 5px;
}

.holiday-cross {
  position: absolute;
  top: 0;
  right: 5px;
  color: red;
  opacity: 0.75;
  font-weight: bold;
  pointer-events: none;
  user-select: none;
  font-size: 1.4rem;
}