/* Reset basique */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.centralDivTitle, h1 {
  font-family: "Aharoni", sans-serif;
  font-size: 26px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #4dabf7, #0d47a1);
  display: inline-block;
  padding: 10px 25px;
  margin: 20px auto;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}
h2 {
  font-family: "Aharoni", sans-serif;
  font-size: 22px;
  font-weight: bold;
  color: #fff; 
  background: linear-gradient(135deg, #90caf9, #1976d2); /* gradient plus doux */
  display: inline-block;
  padding: 6px 100px;
  border-radius: 20px;
  margin: 15px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  max-width: 100%;
  width: auto;
}

/* H3 – titres secondaires */
h3 {
  font-family: "Aharoni", sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #1565c0; /* bleu moyen */
  margin: 12px 0;
  border-left: 5px solid #64b5f6;
  padding-left: 10px;
}

/* H4 – titres tertiaires / sections */
h4 {
  font-family: "Aharoni", sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #1976d2;
  margin: 10px 0;
  border-bottom: 2px solid #90caf9;
  padding-bottom: 3px;
}

/* Formulaire principal */
.formClub {
  direction: rtl; /* pour l’hébreu */
  max-width: 650px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Titre */
.formClub h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #222;
}

/* Groupes de champs */
.formClub .form-group {
  margin-bottom: 1rem;
}

.formClub label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: bold;
  font-size: 0.95rem;
  color: #333;
}

/* Inputs et selects */
.formClub input[type="text"],
.formClub input[type="email"],
.formClub select {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.formClub select {
    margin: 8px auto;
}
.formClub input:focus,
.formClub select:focus {
  border-color: #0077cc;
  box-shadow: 0 0 0 3px rgba(0,119,204,0.15);
  outline: none;
}

/* Fieldsets */
.formClub fieldset {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.2rem;
}

.formClub legend {
  padding: 0 0.5rem;
  font-weight: bold;
  font-size: 1rem;
  color: #444;
}

/* Radios et checkboxes */
.formClub input[type="radio"],
.formClub input[type="checkbox"] {
  margin-left: 0.4rem;
  cursor: pointer;
  transform: scale(1.1);
  width:auto;
}

.formClub fieldset label {
  display: inline-flex;
  align-items: center;
  margin-right: 1rem;
  font-weight: normal;
  font-size: 0.95rem;
width: 100%;
}

/* Catégories : en grille */
.formClub fieldset div {
  margin-bottom: 0.5rem;
}

.formClub fieldset div label {
  background: #f9f9f9;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.formClub fieldset div label:hover {
  background: #eaf5ff;
}

/* Select clubs */
#CLUB_ID {
  margin: 8px auto;
  margin-bottom: 1.5rem;
}

/* Bouton submit */
.formClub button[type="submit"] {
  width: 100%;
  padding: 0.9rem;
  font-size: 1.1rem;
  background: #0077cc;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.formClub button[type="submit"]:hover {
  background: #005fa3;
}

/* Responsive */
@media (max-width: 480px) {
  .formClub {
    padding: 1rem;
  }

  .formClub h2 {
    font-size: 1.5rem;
  }

  /* Date de naissance en pile */
  #DOB_D, #DOB_M, #DOB_Y {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

.event_menu {
  direction: rtl; /* hébreu */
  max-width: 280px;
  font-family: Arial, sans-serif;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  margin: auto;
}

/* Liste principale */
.event_menu ul {
  list-style: none;
}

.event_menu > ul > li {
  border-bottom: 1px solid #eee;
}

/* Liens principaux */
.event_menu > ul > li > a,
.event_menu > ul > li > label {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: bold;
  background: transparent;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.event_menu > ul > li > a:hover,
.event_menu > ul > li > label:hover {
  background: transparent;
  color: #0077cc;
}

/* Sous-menus */
.event_menu ul ul {
  max-height: 0;
  overflow: hidden;
  background: #f9f9f9;
  transition: max-height 0.3s ease;
}

/* Items du sous-menu */
.event_menu ul ul li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.95rem;
  color: #444;
  text-decoration: none;
  border-right: 3px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.event_menu ul ul li a:hover {
  background: #eef6ff;
  border-right-color: #0077cc;
  color: #0077cc;
}

/* Interaction : ouverture des sous-menus au clic */
.event_menu input {
  display: none;
}

/* Astuce : ouverture avec :has */
.event_menu li:has(:checked) > ul {
  max-height: 1000px; /* assez grand pour contenir les éléments */
}

/* Lien spécial inscription */
.event_menu li.registration > a {
  font-weight: bold;
  background: linear-gradient(90deg, #4dafff, #0077cc);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  margin: 8px 12px;
  padding: 10px;
  transition: background 0.3s;
}
.event_menu li.registration > a:hover {
  background: linear-gradient(90deg, #0077cc, #4dafff);
  color: #fff;
}
.event_menu li.adminDrawButton {
    background-color: orange;
    color: white;
    font-size: 20px;
    padding: 0px 30px;
    border-radius: 10px;
    margin: 5px auto;
    display: inline-block;
}

/* Table général */
table.resumeGroup {
    width: 100%;
    border-collapse: collapse;
    font-family: "Aharoni", sans-serif;
    margin: 20px 0;
    background-color: #f5f5f5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* En-tête */
table.resumeGroup thead th {
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 10px;
    background: linear-gradient(135deg, #1976d2, #0d47a1); /* gradient bleu */
    border-bottom: 2px solid #0d47a1 !important;
}

/* Ligne avec liens pour actions */
table.resumeGroup thead th span a {
    margin: 0 5px;
    display: inline-block;
}

table.resumeGroup thead th span a img {
    vertical-align: middle;
}

/* Lignes du corps */
table.resumeGroup tbody tr {
    background-color: #ffffff;
    transition: background-color 0.3s;
}

table.resumeGroup tbody tr:nth-child(even) {
    background-color: #e3f2fd; /* bleu très clair pour alternance */
}

table.resumeGroup tbody tr:hover {
    background-color: #bbdefb; /* survol plus marqué */
}

/* Cellules */
table.resumeGroup tbody td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #cfd8dc;
}

/* Liens dans le tableau */
table.resumeGroup tbody td a {
    color: #0d47a1;
    text-decoration: none;
    font-weight: bold;
}

table.resumeGroup tbody td a:hover {
    text-decoration: underline;
    color: #1976d2;
}

/* Club spécifique */
.fsClub {
    font-style: italic;
    color: #1565c0;
}

/* Résumé – survol entier de la ligne */
table.resumeGroup tbody tr:hover td {
    font-weight: bold;
}
.lstGrp .group {
    width: 100%;
    max-width: 500px;
    margin: 10px auto;
    display: inline-table;
    padding: 5px;
}

/* Table principale */
table.presentTurn {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
    font-family: "Aharoni", sans-serif;
    background-color: #fafafa;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* En-tête */
table.presentTurn th {
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 15px;
    border-bottom: 2px solid #0d47a1;
}

/* Lignes */
table.presentTurn tbody tr {
    transition: background-color 0.3s;
    background-color: #fff;
}

table.presentTurn tbody tr:nth-child(even) {
    background-color: #e8f3fc;
}

table.presentTurn tbody tr:hover {
    background-color: #bbdefb;
}

/* Cellules */
table.presentTurn td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #cfd8dc;
}

/* Liens */
table.presentTurn td a {
    color: #0d47a1;
    text-decoration: none;
    font-weight: bold;
}

table.presentTurn td a:hover {
    text-decoration: underline;
    color: #1976d2;
}

/* Clubs */
table.presentTurn td .fsClub {
    font-style: italic;
    color: #1565c0;
}

/* Select */
table.presentTurn select {
    padding: 5px 8px;
    border: 1px solid #90caf9;
    border-radius: 4px;
    background-color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
}

table.presentTurn select:hover {
    border-color: #1976d2;
    box-shadow: 0 0 4px rgba(25, 118, 210, 0.5);
}
