body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 1rem;
  background-color: #f7f7f7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3 {
  color: #333;
}

form {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

label {
  margin-right: 0.5rem;
}

input[type="datetime-local"],
input[type="text"],
.flatpickr-input {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

select {
  padding: 0.5rem 2rem 0.5rem 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23333' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 12px;
}

#filter_room,
#calendar_view {
  margin-bottom: 1rem;
}

button {
  padding: 0.5rem 1rem;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

#calendar {
  background-color: #fff;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
/* Display full event text in month view */
.fc-daygrid-event .fc-event-title {
  white-space: normal;
  overflow-wrap: anywhere;
}
.fc-daygrid-event {
  height: auto !important;
}

/* Make week view columns adapt to available width */
.fc-timeGridWeek-view .fc-timegrid-col {
  width: calc(100% / 7);
  min-width: auto;
}

/* Show click hand cursor when hovering over calendar events */
.fc-event {
  cursor: pointer;
}

.success-box {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #e6ffe6;
  border: 1px solid #b2d8b2;
  border-radius: 4px;
}

.success-box button {
  margin-left: 0.5rem;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  padding: 1rem;
  border: 2px solid #ccc;
  outline: 2px solid #007bff;
  outline-offset: -2px;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  width: 90%;
  max-width: 400px;
}

.close {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;

}
