/*
  admin.css
  Styles spécifiques à la page d'administration
  - Mise en page
  - Tableau des utilisateurs
  - Boutons d'actions
*/
.admin { padding: 30px 0; }
.card { background: white; border: 1px solid #e7dcc9; border-radius: 12px; padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.03); margin-bottom: 18px; }
.admin .card h3 { margin-bottom: 10px; }
.table { width: 100%; border-collapse: collapse; background: white; border: 1px solid #e7dcc9; border-radius: 12px; overflow: hidden; }
.table th, .table td { padding: 10px; border-bottom: 1px solid #f0e6d3; text-align: left; }
.table th { background: #fff3df; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.form-row { display: flex; gap: 14px; flex-wrap: wrap; }
.form-field { display: flex; flex-direction: column; flex: 1; min-width: 240px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 10px 12px; border: 1px solid #e7dcc9; border-radius: 10px; font-family: 'Montserrat', Arial, sans-serif; }
.form-field input[type="date"]::-webkit-calendar-picker-indicator { font-family: 'Montserrat', Arial, sans-serif; }
.form-field input[type="time"]::-webkit-calendar-picker-indicator { font-family: 'Montserrat', Arial, sans-serif; }
/* Alignement pleine largeur pour le formulaire de création */
.create-user .form-field { min-width: 100%; }
.create-event .form-field { min-width: 100%; }
/* Espacement vertical entre les lignes du formulaire de création */
.create-user .form-row + .form-row { margin-top: 10px; }
.create-event .form-row + .form-row { margin-top: 10px; }
.btn { display: inline-block; background: #F95E2D; color: #FFF8E9; font-weight: bold; font-family: 'Montserrat', Arial, sans-serif; font-size: 1rem; padding: 12px 22px; border-radius: 30px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: .2s; }
.btn:hover { background: #FFF8E9; color: #F95E2D; border-color: #F95E2D; transform: scale(1.03); }
.btn.sec { background: #202226; color: #FFF8E9; }
.btn.warn { background: #8b0000; }

/* Navigation admin avec 4 boutons (2x2) */
.admin-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.admin-navigation .btn {
  text-align: center;
  min-width: 0;
}
