* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  .calendar {
    width: 100%;
    max-width: 500px;
    text-align: center;
    background: tomato;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }

  h2 {
    font-size: 1.6em;
    color: #333;
    margin-bottom: 1em;
  }

  .controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }

  #monthSelect {
    font-size: 0.9em;
    padding: 8px 12px;
    border-radius: 5px;
    border: 3px solid #ddd;
    background: #ffffff;
    color: #000000;
    outline: none;
    font-weight: 700;
}

#resetCalendar {
      font-weight: 700;
    background-color: rgb(128, 0, 255);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background 0.2s;
  }

  #resetCalendar:hover {
    background-color: seagreen;
  }

  .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
  }

  .day {
    padding: 15px;
    background-color: rgb(128, 0, 255);
    color: #010101;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s;
    min-height: 70px;
    position: relative;
    font-size: 18px;
    font-weight: 600;
  }

  .day:hover {
    background-color: #ffffff;
  }

  .note {
    font-size: 0.75em;
    margin-top: 5px;
    color: #555;
  }

  .note-entry {
    border-top: 1px solid #ddd;
    padding-top: 5px;
    margin-top: 5px;
    color: black;
  }

  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
  }

  .modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 300px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .close {
    font-size: 1.5em;
    cursor: pointer;
    color: #888;
    float: right;
  }

  .close:hover {
    color: #555;
  }

  textarea, input[type="time"] {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9em;
  }

  #saveNote {
    background-color: #4caf50;
    color: white;
    padding: 10px;
    margin-top: 15px;
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.2s;
  }

  #saveNote:hover {
    background-color: #43a047;
  }

  .section5-full{
    display: flex;
    align-items: center;
    justify-content: center;
  }