/* ======================
   Gestion des inscrits (frontend)
   ====================== */
.evge { padding: 20px 0; font-family: 'Montserrat', 'Trebuchet MS', sans-serif; }
.evge-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.evge-header { margin-bottom: 24px; }
.evge-title { margin: 0 0 4px; font-size: 24px; font-weight: 700; }
.evge-date { margin: 0; font-size: 14px; opacity: .7; }

/* Stats */
.evge-stats { display: flex; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.evge-stat { background: #f5f5f5; border-radius: 10px; padding: 16px 24px; text-align: center; min-width: 120px; }
.evge-stat--success { background: rgba(76,175,80,.1); }
.evge-stat--danger { background: rgba(244,67,54,.1); }
.evge-stat__number { display: block; font-size: 28px; font-weight: 700; }
.evge-stat__label { font-size: 13px; opacity: .7; }

/* Table */
.evge-table-wrap { overflow-x: auto; }
.evge-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; }
.evge-table th { padding: 12px 14px; text-align: left; font-size: 13px; font-weight: 600; background: #f5f5f5; border-bottom: 2px solid #ddd; white-space: nowrap; }
.evge-table td { padding: 10px 14px; border-bottom: 1px solid #eee; font-size: 14px; }
.evge-table tbody tr:last-child td { border-bottom: none; }

/* Badges statut */
.evge-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.evge-badge--pending { background: #fff3e0; color: #e65100; }
.evge-badge--success { background: #e8f5e9; color: #2e7d32; }
.evge-badge--danger { background: #ffebee; color: #c62828; }

/* Boutons */
.evge-actions { display: flex; gap: 8px; }
.evge-btn { border: 1px solid #ccc; background: #fff; padding: 6px 14px; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 500; transition: all .15s; }
.evge-btn:hover { opacity: .85; }
.evge-btn:disabled { opacity: .4; cursor: not-allowed; }
.evge-btn--success { border-color: #4caf50; color: #2e7d32; }
.evge-btn--success:hover { background: #4caf50; color: #fff; }
.evge-btn--danger { border-color: #f44336; color: #c62828; }
.evge-btn--danger:hover { background: #f44336; color: #fff; }

/* Row states */
tr.is-confirmed { background: rgba(76,175,80,.06); }
tr.is-canceled { background: rgba(244,67,54,.06); }
tr.is-loading { opacity: .5; pointer-events: none; }

/* Error */
.evge--error { padding: 60px 20px; text-align: center; }
.evge-error { font-size: 18px; color: #c62828; }

/* Footer */
.evge-footer { margin-top: 24px; font-size: 13px; opacity: .6; text-align: center; }

/* Responsive */
@media (max-width: 768px) {
  .evge-table thead { display: none; }
  .evge-table tbody tr { display: block; padding: 12px; border-bottom: 2px solid #eee; }
  .evge-table td { display: flex; justify-content: space-between; padding: 4px 0; border: none; font-size: 13px; }
  .evge-table td::before { content: attr(data-label); font-weight: 600; margin-right: 12px; }
  .evge-actions { justify-content: flex-end; margin-top: 8px; }
}
