.ccm-widget {
  max-width: 1100px;
  margin: 0 auto;
  color: #666;
}

.ccm-label,
.ccm-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #666;
}

.ccm-input,
.ccm-select,
.ccm-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #555;
  font-size: 15px;
  margin-bottom: 18px;
}

.ccm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 30px;
}

.ccm-calendar-panel {
  margin-bottom: 30px;
}

.ccm-legend {
  margin: 20px 0;
}

.ccm-legend div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ccm-tag {
  width: 24px;
  height: 24px;
  display: inline-block;
  border: 1px solid #111;
  border-radius: 0;
  box-sizing: border-box;
}

.ccm-tag.dispo {
  background: #5d8f3b;
}

.ccm-tag.complet {
  background: #c94a43;
}

.ccm-status {
  margin: 10px 0 0;
  color: #777;
}

.ccm-button {
  margin-top: 20px;
  padding: 12px 28px;
  border: 1px solid #d9d9d9;
  background: #f7f7f7;
  color: #666;
  cursor: pointer;
}

.ccm-button:hover {
  background: #ececec;
}

.flatpickr-calendar.inline {
  box-shadow: none;
  border: 1px solid #e3e3e3;
  border-radius: 0 !important;
  width: 307px;
}

.flatpickr-months,
.flatpickr-days {
  border-radius: 0 !important;
}

.flatpickr-day {
  border-radius: 0 !important;
  border: 1px solid transparent;
}

.flatpickr-day.is-dispo {
  background: #5d8f3b;
  border-color: #111;
  color: #fff;
  border-radius: 0 !important;
}

.flatpickr-day.is-complet {
  background: #c94a43;
  border-color: #111;
  color: #fff;
  border-radius: 0 !important;
}

.flatpickr-day.selected {
  outline: none;
  border: 2px solid #111 !important;
  border-radius: 0 !important;
}

@media (max-width: 767px) {
  .ccm-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
