
.lwd-calendar-wrapper {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  width: 85%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calendar-header select,
.calendar-header button {
  padding: 5px 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 14px;
	cursor: pointer;
}

.day-names, .calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.day-names {
	background-color: cornflowerblue;
}
.day-names div {
  font-weight: bold;
  padding: 5px 0;
}

.calendar-days .day-cell {
  background: #e9ecef;
  border-radius: 4px;
  margin: 2px;
  padding: 5px;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  cursor: default;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.calendar-days .day-cell:hover {
  background: #cce5ff;
}

.calendar-days .today {
  background: #007bff;
  color: white;
  font-weight: bold;
}

.calendar-days .selected {
  background: #b2f2bb !important;
  color: black;
}

.calendar-days .opened {
  background-color: #d4edda !important;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.calendar-days .empty {
  background: transparent;
  cursor: default;
}

.checkbox-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 11px;
  margin-top: 4px;
  width: 100%;
  padding: 2px 4px;
}

.checkbox-container label {
  display: none;
  align-items: center;
  gap: 4px;
  margin: 2px 0;
  cursor: pointer;
}
.checkbox-container label:hover {
  background: #cce5ff;
}

.checkbox-container label:first-child {
  display: flex;
}

#selected-date {
  width: 100%;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-top: 10px;
  font-size: 16px;
	font-weight: bold;
}
.lwd-popup {
  	position: fixed;
	top: 20px; 
	right: 20px; 
	background: #d4edda; 
	color: black; 
	padding: 20px;
	font-size: 16px;
	border-radius: 5px; 
	z-index: 9999; 
	display: none;
	border: 1px solid #c3e6cb;
}
#year-select {
	width: 80px;
}
label {
  font-weight: bold;
  display: block;
  margin-top: 20px;
}

#lwd-calendrier-produit-container {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  margin-top: 20px;
  border-radius: 8px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  font-family: Arial, sans-serif;
}

.lwd-cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.lwd-cal-header button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

#lwd-titre-mois {
  text-align: center;
  font-size: 1.1rem;
  margin: 0;
}

.lwd-calendrier-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.day-cell {
  background: #e9ecef;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  transition: background 0.3s;
  font-size: 14px;
  user-select: none;
}

.day-cell:hover {
  background: #d4edda;
}

.day-cell.available {
  background-color: #b2f2bb;
  cursor: pointer;
}

.day-cell.unavailable {
  opacity: 0.3;
  cursor: not-allowed;
}

.empty {
  visibility: hidden;
}

#lwd-date-selectionnee {
  margin-top: 15px;
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 600px) {
  .calendar-header {
    flex-direction: column;
    gap: 10px;
  }

  .calendar-header select,
  .calendar-header button {
    width: 100%;
    font-size: 16px;
  }

  .day-names, .calendar-days {
    grid-template-columns: repeat(7, 1fr);
    font-size: 10px;
  }

  .calendar-days .day-cell {
    min-height: 100px;
    font-size: 10px;
    padding: 4px;
  }

  .checkbox-container label {
    font-size: 10px;
    line-height: 1.2em;
  }

  #selected-date {
    font-size: 14px;
  }

}
