body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #c9a0ff;
  border-radius: 50px;
}

.calendar-container {
  display: flex;
  justify-content: center;
  color:#e8deeb;
  width: 80%;
  max-width: 1000px;
  max-height: max-content;
  background-color: #b47ede;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.calendar {
  width: 70%;
  padding: 20px;
  border-right: 2px solid #c9a0ff;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

button {
  padding: 10px;
  margin: 10px;
  font-size: 18px;
  background-color: #c9a0ff;
  border-radius: 5px;
  border:none;
  cursor: pointer;
}

button:hover {
  background-color: #dcbcff;
}

.month-name {
  font-size: 24px;
  font-weight: bold;
}

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.day {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background-color: #c9a0ff;
  cursor: pointer;
  border-radius: 5px;
  color:#ffffff
}

.day:hover {
  background-color: #e6cfff;
  color:#b47ede;
}

.current-day {
  background-color: #e6cfff;
  color: #b47ede;
  font-weight: bold;
}

.event {
  background-color: #dcbcff;
}

.event-details {
  width: 30%;
  padding: 20px;
  border-left: 2px solid #b47ede;
  overflow-y: auto;
}

.event-item {
  margin-bottom: 15px;
}

.event-item h3 {
  margin: 0;
  font-size: 18px;
}

.event-item p {
  font-size: 14px;
  color: #f5dbfe;
}

button.delete-event {
  background-color: #c9a0ff;
  color: #f5dbfe;
  padding: 5px 10px;
  border: none;
  cursor: pointer;
}

button.delete-event:hover {
  background-color: #dcbcff;
}


.event-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #c9a0ff;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #b47ede;
  padding: 20px;
  max-width: 400px;
  width: 100%;
  border-radius: 8px;
}

input, textarea, button {
  width: 100%;
  margin: 10px 0;
  border-radius: 5px;
}

textarea {
  height: 100px;
  resize: none;
}

#close-modal {
  background-color: #c9a0ff;
  color: black;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 16px;
}

#close-modal:hover {
  background-color: #dcbcff;
}
