

    .calendar-container {
      background: #fff;
    border-radius: 10px;
    padding: 20px;
    display: flex
;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    }

    .sidebar {
      width: 360px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .mini-calendar {
      border-radius: 6px;
      background: #fff;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      padding: 5px;
    }

    #main-calendar {
      width: 800px;
      background: white;
      border-radius: 8px;
      padding: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
      position: relative;
    }

    .add-btn {
      position: absolute;
      top: 15px;
      right: 15px;
      background: #007bff;
      color: #fff;
      border: none;
      border-radius: 6px;
      padding: 6px 12px;
      cursor: pointer;
      font-size: 14px;
    }

    .add-btn:hover {
      background: #0056b3;
    }

    .fc-toolbar-title {
      font-weight: 600;
      font-size: 1rem;
    }

    .mini-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 5px 10px;
      font-weight: 600;
      background: #f3f3f3;
      border-radius: 6px 6px 0 0;
    }

    .mini-header button {
      border: none;
      background: none;
      font-size: 1rem;
      cursor: pointer;
    }

    .mini-header button:hover {
      color: #007bff;
    }

    .fc-col-header-cell-cushion {
      font-weight: 500;
    }

    .fc-daygrid-day-top {
      display: flex;
      justify-content: center;
    }

    .fc-button-group {
      border: 1px solid silver;
      border-radius: 5px;
      overflow: hidden;
    }

    .fc-prev-button, .fc-next-button, .fc-today-button,
    .fc-dayGridMonth-button, .fc-timeGridWeek-button, .fc-timeGridDay-button {
      background-color: #F3F3F3 !important;
      color: rgb(106, 106, 106) !important;
      border: none !important;
    }

    .fc-button:hover {
      background-color: #d1d1d1 !important;
    }
    
    /* Legend styles */
    .legend {
      margin-top: 20px;
      text-align: center;
    }

    .legend-item {
      display: inline-flex;
      align-items: center;
      margin-right: 15px;
      font-size: 14px;
    }

    .legend-color {
      width: 16px;
      height: 16px;
      border-radius: 4px;
      margin-right: 5px;
      display: inline-block;
    }

    /* Popup Modal */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.4);
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .modal-content {
      background: #fff;
      border-radius: 8px;
      width: 400px;
      padding: 30px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.3);
      text-align: center;
    }

    .modal-content h3 {
      margin-bottom: 15px;
      font-size: 18px;
    }

    .modal-content input {
      width: 96%;
      padding: 8px;
      margin-bottom: 12px;
      border-radius: 5px;
      border: 1px solid #ccc;
    }
     .modal-content select {
      width: 100%;
      padding: 8px;
      margin-bottom: 12px;
      border-radius: 5px;
      border: 1px solid #ccc;
    }

    .modal-content button {
      padding: 8px 14px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

    .save-btn {
      background: #01017e;
      color: white;
    }

    .save-btn:hover {
      background: #450085;
    }

    .cancel-btn {
      background: #ccc;
      margin-left: 8px;
    }

    .cancel-btn:hover {
      background: #aaa;
    }
    .fc-addEventButton-button{
        background-color: #01017e !important;
        border: none !important;
    }

    .date-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.date-group label {
  font-size: 14px;
  color: #333;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}


/* Tooltip Style */
.custom-tooltip {
  position: absolute;
  display: none;
  background: #fff;
  color: #000;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  z-index: 10000;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.custom-tooltip div {
  margin: 2px 0;
}

.event-legend {
              margin-top: 20px;
              display: flex;
              justify-content: center;
              gap: 25px;
              font-family: "Poppins", sans-serif;
              font-size: 15px;
              color: #333;
            }

            .event-legend span {
              display: flex;
              align-items: center;
              gap: 6px;
            }

            .legend-color {
              width: 15px;
              height: 15px;
              border-radius: 4px;
              display: inline-block;
            }
