* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #1a1a2e; color: white; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 2rem; }
h1 { text-align: center; margin-bottom: 2rem; color: #00d4ff; }
h2 { color: #00ff88; margin-bottom: 1rem; }
h3 { color: #00d4ff; margin-bottom: 0.5rem; font-size: 1.4rem; }
.btn { padding: 10px 20px; border: none; border-radius: 8px; cursor: pointer; text-decoration: none; display: inline-block; font-weight: 500; transition: all 0.3s; font-size: 14px; }
.btn-primary { background: #00d4ff; color: white; }
.btn-success { background: #00ff88; color: black; }
.btn-warning { background: #ffaa00; color: black; }
.btn-danger { background: #ff4444; color: white; }
.btn-secondary { background: #666; color: white; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
input, textarea, select { width: 100%; padding: 12px; margin: 8px 0; border: 2px solid #333; border-radius: 8px; background: #16213e; color: white; font-size: 16px; }
input:focus, textarea:focus { outline: none; border-color: #00d4ff; box-shadow: 0 0 10px rgba(0,212,255,0.3); }
textarea { resize: vertical; min-height: 80px; }
.filters { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.filters input { flex: 1; min-width: 200px; }
.filters button { flex-shrink: 0; padding: 12px 24px; }
.evenement-card, .session-card { background: #16213e; padding: 1.5rem; border-radius: 12px; margin-bottom: 1rem; box-shadow: 0 8px 32px rgba(0,0,0,0.4); transition: transform 0.3s; }
.evenement-card:hover, .session-card:hover { transform: translateY(-4px); }
.evenement-card.complet, .session-card.complet { border: 3px solid #00ff88; position: relative; }
.evenement-card.complet::after, .session-card.complet::after { content: "COMPLET"; position: absolute; top: 10px; right: 10px; background: #00ff88; color: black; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: bold; }
.evenements-grid, .sessions-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); }
.header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 2px solid #333; }
.header-buttons { display: flex; gap: 1rem; }
.participants { margin: 1rem 0; font-size: 0.9rem; background: rgba(0,212,255,0.1); padding: 0.8rem; border-radius: 6px; border-left: 3px solid #00d4ff; }
.participants strong { color: #00ff88; }
.places { font-size: 1.1rem; margin: 1rem 0; font-weight: bold; }
.lien-vocal { font-size: 0.9rem; opacity: 0.9; background: rgba(0,255,136,0.1); padding: 0.5rem; border-radius: 4px; }
.admin-evenement, .admin-session { background: #16213e; padding: 1.5rem; border-radius: 12px; margin-bottom: 1rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.admin-actions { display: flex; gap: 0.5rem; flex-direction: column; }
.session-info { flex: 1; }
#login-form { max-width: 300px; margin: 2rem auto; text-align: center; }
#login-form input { max-width: 250px; }
@media (max-width: 768px) { 
  .container { padding: 1rem; }
  .evenements-grid, .sessions-grid { grid-template-columns: 1fr; } 
  .filters { flex-direction: column; }
  .header { flex-direction: column; text-align: center; } 
  .header-buttons { justify-content: center; }
  .admin-evenement, .admin-session { flex-direction: column; gap: 1rem; }
  .admin-actions { flex-direction: row; flex-wrap: wrap; }
}
