/* Styles de templates/event/index.html.twig, sortis du template pour être mis en cache. */
.events-page { max-width: 1100px; margin: 2rem auto; padding: 1.5rem; background: var(--bg-primary); border-radius: 10px; }
.events-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.events-header h1 { font-size: 1.8rem; font-weight: 700; color: var(--text-primary); margin: 0; }
.events-filters { background: var(--bg-secondary); border: 1px solid var(--border-color, #e5e7eb); border-radius: 8px; padding: 1rem 1.5rem; margin-bottom: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-end; }
.filter-group { display: flex; flex-direction: column; gap: 0.25rem; }
.filter-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }
.filter-group select, .filter-group input { padding: 0.4rem 0.75rem; border: 1px solid var(--border-color, #e5e7eb); border-radius: 6px; background: var(--bg-primary); color: var(--text-primary); font-size: 0.9rem; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.25rem; }
.event-card { background: var(--bg-primary); border: 1px solid var(--border-color, #e5e7eb); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.event-card-img { height: 180px; overflow: hidden; background: var(--bg-secondary); }
.event-card-img img { width: 100%; height: 100%; object-fit: cover; }
.event-card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.event-card-title { font-weight: 700; font-size: 1rem; color: var(--text-primary); text-decoration: none; }
.event-card-title:hover { text-decoration: underline; }
.event-card-meta { font-size: 0.82rem; color: var(--text-secondary); }
.badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 12px; font-size: 0.75rem; font-weight: 600; }
.badge-type { background: #dbeafe; color: #1e40af; }
.badge-cancelled { background: #fee2e2; color: #b91c1c; }
.badge-pending { background: #fef9c3; color: #854d0e; }
.events-empty { text-align: center; padding: 3rem; color: var(--text-secondary); }
.cta-propose { background: var(--bg-secondary); border: 1px solid var(--border-color, #e5e7eb); border-radius: 8px; padding: 1rem 1.5rem; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; }
.cta-propose p { margin: 0; color: var(--text-secondary); font-size: 0.9rem; }
.btn-primary { background: var(--color-primary, #2563eb); color: #fff; padding: 0.5rem 1.25rem; border-radius: 6px; text-decoration: none; font-size: 0.9rem; font-weight: 600; border: none; cursor: pointer; }
.btn-outline { background: transparent; color: var(--color-primary, #2563eb); border: 1px solid var(--color-primary, #2563eb); padding: 0.5rem 1.25rem; border-radius: 6px; text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.pagination { display: flex; justify-content: space-between; margin-top: 2rem; }
.pagination a { color: var(--color-primary, #2563eb); text-decoration: none; font-weight: 600; }
.filter-btn { padding: 0.4rem 1rem; border-radius: 6px; background: var(--color-primary, #2563eb); color: #fff; border: none; cursor: pointer; font-size: 0.9rem; align-self: flex-end; }
