/* ====== STYLE GLOBAL ====== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
}

header {
  background: #2c3e50;
  color: #fff;
  padding: 30px;
  text-align: center;
  margin: 0 0 20px;
}

.retour {
  font-weight: 800;
  width: 150px;
  height: 24px;
  color: blue;
  background-color: gold;
  text-align: center;
  font-size: 16px;
  border-radius: 50%;
  padding: 0;
  border: 2px solid #EA2D98;
  margin: 0;
}

header h1 {
  margin: 0;
  font-size: 2rem;
}

header p {
  margin: 5px 0 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

main {
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 15px 40px;
}

/* ====== FILTRES / BARRE D’OUTILS ====== */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.toolbar-left,
.toolbar-right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.toolbar label {
  font-size: 0.9rem;
}

.toolbar input[type="text"],
.toolbar select {
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
}

.toolbar button {
  padding: 7px 12px;
  border-radius: 4px;
  border: none;
  background: #2c3e50;
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
}

.toolbar button:hover {
  background: #1b2836;
}

/* ====== LISTE D’ÉVÉNEMENTS ====== */
.events {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 15px;
}

.event-card {
  background: #fff;
  border-radius: 6px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-date {
  font-weight: bold;
  color: #2c3e50;
  font-size: 0.95rem;
}

.event-title {
  font-size: 1.1rem;
  margin: 0;
}

.event-type {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #696161;
}

.event-description {
  font-size: 0.9rem;
  line-height: 1.4;
}

.event-location {
  font-size: 0.85rem;
  color: #555;
}

.event-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #777;
}

.badge {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #fff;
}

.badge-sortie {
  background: #27ae60;
}

.badge-manifestation {
  background: #e67e22;
}

/* ====== MESSAGE AUCUN RÉSULTAT ====== */
.no-results {
  margin-top: 20px;
  text-align: center;
  font-size: 0.95rem;
  color: #777;
  display: none;
}

/* ====== PIED DE PAGE ====== */
footer {
  text-align: center;
  padding: 15px;
  font-size: 0.8rem;
  color: #777;
  border-top: 1px solid #ddd;
  background: #fafafa;
}

/* RESPONSIVE */
@media (max-width: 700px) {
  .retour {
    width: 120px;
    height: 24px;
    font-size: 14px;
    margin: 0 0 30px;
    margin-left: auto;
    margin-right: auto;
  }


  .toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar-left,
  .toolbar-right {
    justify-content: center;
  }
}