/* ######## */
/* FILTRES */
/* ###### */

.filters-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 99px;
  border: 1px solid #d5d5d5;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: all 0.15s;
}

.filter-btn:hover {
  border-color: #1D9E75;
  color: #0F6E56;
}

.filter-btn.active {
  background: #1D9E75;
  color: #fff;
  border-color: #1D9E75;
}

/* ########### */
/* CALENDRIER */
/* ######### */

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

.cal-title {
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

.cal-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #d5d5d5;
  background: #fff;
  color: #0F6E56;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.cal-nav:hover {
  background: #E1F5EE;
  border-color: #1D9E75;
}

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

.cal-day-header {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #888;
  padding: 6px 0;
  text-transform: uppercase;
}

.cal-cell {
  min-height: 60px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  transition: border-color 0.15s;
}

.cal-cell.empty {
  background: transparent;
  border-color: transparent;
}

.cal-cell.today {
  border-color: #1D9E75;
  background: #E1F5EE;
}

.cal-cell.has-event {
  cursor: pointer;
}

.cal-cell.has-event:hover {
  border-color: #1D9E75;
}

.cal-num {
  font-size: 13px;
  font-weight: 500;
  color: #111;
}

.cal-cell.today .cal-num {
  color: #0F6E56;
  font-weight: 700;
}

.cal-dot {
  width: 100%;
  height: 5px;
  border-radius: 99px;
}

.cal-dot.atelier    { background: #1D9E75; }
.cal-dot.permanence { background: #185FA5; }
.cal-dot.install    { background: #854F0B; }

/* ######## */
/* LÉGENDE */
/* ###### */

.cal-legend {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #555;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* ################## */
/* LISTE ÉVÉNEMENTS  */
/* ################ */

.events-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-list-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color 0.15s;
}

.event-list-card:hover {
  border-color: #1D9E75;
}

.event-list-date {
  background: #E1F5EE;
  border-radius: 8px;
  padding: 6px 12px;
  text-align: center;
  min-width: 48px;
  flex-shrink: 0;
}

.event-list-info {
  flex: 1;
}

.event-list-title {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin-bottom: 4px;
}

.event-list-meta {
  font-size: 12px;
  color: #888;
}

.no-events {
  font-size: 13px;
  color: #aaa;
  text-align: center;
  padding: 32px 0;
}