body {
  font-family: Arial, sans-serif;
  background-color: #E6F4EC; /* very light green */
  margin: 0;
  padding: 0;
  min-width: 100vw;
}

.container {
  width: 80%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
nav {
  background: #2D8149;
  padding: 10px 0;
  margin-bottom: 20px;
}

nav div {
  display: flex;
  justify-content: center;
  gap: 30px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Headings */
h1, h2 {
  text-align: center;
  color: #2D8149; /* main green */
}

h1 {
  margin-bottom: 30px;
}

/* Calendar Container */
.calendar-container {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(45, 129, 73, 0.08);
  margin-bottom: 20px;
}

/* Booking Form */
.booking-form {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(45, 129, 73, 0.08);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #1B2B1B;
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #B2D8C5;
  border-radius: 4px;
  font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2D8149;
  box-shadow: 0 0 0 2px rgba(45, 129, 73, 0.1);
}

/* Buttons */
.submit-button {
  background-color: #2D8149;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.submit-button:hover {
  background-color: #1B2B1B;
}

/* Rate Display */
.rate-display {
  display: none;
  margin: 15px 0;
  padding: 15px;
  background-color: #E6F4EC;
  border: 1px solid #B2D8C5;
  border-radius: 4px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #2D8149;
}

.button-group {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.button-group .submit-button {
  flex: 1;
}

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

.modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 15px rgba(45, 129, 73, 0.15);
  position: relative;
  margin: 20px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #B2D8C5;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}

.modal-title {
  color: #2D8149;
  font-size: 24px;
  margin: 0;
}

.close-button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #1B2B1B;
}

.close-button:hover {
  color: #2D8149;
}

.modal-form {
  margin-top: 20px;
}

.modal-form .form-group {
  margin-bottom: 15px;
}

.modal-form label {
  display: block;
  margin-bottom: 5px;
  color: #1B2B1B;
  font-weight: bold;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #B2D8C5;
  border-radius: 4px;
  font-size: 14px;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: #2D8149;
  box-shadow: 0 0 0 2px rgba(45, 129, 73, 0.1);
}

.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.modal-button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s;
}

.save-button {
  background-color: #2D8149;
  color: white;
}

.save-button:hover {
  background-color: #1B2B1B;
}

.delete-button {
  background-color: #E6F4EC;
  color: #2D8149;
  border: 1px solid #B2D8C5;
}

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

#bookingList {
  list-style-type: none;
  padding: 0;
}

.booking {
  background: #E6F4EC; /* very light green */
  padding: 10px;
  margin: 10px 0;
  border-left: 4px solid #2D8149; /* main green */
  position: relative;
  color: #1B2B1B;
}

.booking button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #C62828; /* deep red for delete/cancel */
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.booking button:hover {
  background: #8B1A1A;
}

/* Date Picker Styles */
.date-picker-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.non-consecutive-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

.non-consecutive-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.non-consecutive-option label {
  color: #1B2B1B;
  font-size: 14px;
  cursor: pointer;
}

.date-picker {
  width: 100%;
  padding: 8px;
  border: 1px solid #B2D8C5;
  border-radius: 4px;
  font-size: 14px;
  background-color: white;
}

.selected-dates {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selected-date-tag {
  background-color: #E6F4EC;
  border: 1px solid #B2D8C5;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  color: #2D8149;
  display: flex;
  align-items: center;
  gap: 4px;
}

.selected-date-tag button {
  background: none;
  border: none;
  color: #2D8149;
  cursor: pointer;
  padding: 0;
  font-size: 14px;
  line-height: 1;
}

.selected-date-tag button:hover {
  color: #1B2B1B;
}

/* Flatpickr Customization */
.flatpickr-calendar {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(45, 129, 73, 0.15);
}

.flatpickr-day.selected {
  background: #2D8149;
  border-color: #2D8149;
}

.flatpickr-day.selected:hover {
  background: #1B2B1B;
  border-color: #1B2B1B;
}