:root {
  --background: #fff;
  --font-color: navy;
  --font-hover: orange;
}
body {
    background-color: var(--background);
}
h1 {
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}
.centralDiv {
    background: url(/img/ShayLogo.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    _opacity: 0.5;
}

.eventMenu {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    max-width: 420px; /* limite la largeur sur grand écran */
    margin: 1rem auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    direction: rtl;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 0.95rem;
}

.eventMenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eventMenu ul li {
    border-top: 1px solid #eee;
}

.eventMenu ul li:first-child {
    border-top: none;
}

.eventMenu a,
.eventMenu label {
    display: block;
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
    line-height: 1.3;
}

.eventMenu a:hover,
.eventMenu label:hover {
    background-color: #f7f7f7;
    color: #007BFF;
}

/* Sous-menu accordéon */
.eventMenu .sub {
    display: none;
    background-color: #fafafa;
    padding-right: 1rem;
}

.eventMenu input[type="radio"] {
    display: none;
}

#simples:checked ~ .sub {
    display: block;
}

.eventMenu input[type="radio"]:checked + ul > li > label {
    background-color: #e6f0ff;
    color: #007BFF;
}

/* Bouton "הרשמה" stylisé */
.eventMenu .registration a {
    background-color: #007BFF;
    color: white;
    text-align: center;
    border-radius: 0;
    font-weight: bold;
}

.eventMenu .registration a:hover {
    background-color: #0056b3;
}

/* Responsive mobile : plus d'espace, meilleure lisibilité */
@media screen and (max-width: 600px) {
    .eventMenu {
        width: 100%;
        border-radius: 0;
        max-width: 100%;
    }

    .eventMenu a,
    .eventMenu label {
        padding: 1rem;
        font-size: 1rem;
    }
}

.formClub {
    direction: rtl;
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-family: "Segoe UI", Tahoma, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.formClub h1 {
    text-align: center;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.formClub input[type="text"],
.formClub input[type="email"],
.formClub input[type="password"],
.formClub select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.2s ease;
}

.formClub input[type="text"]:focus,
.formClub input[type="email"]:focus,
.formClub input[type="password"]:focus,
.formClub select:focus {
    border-color: #007BFF;
    outline: none;
}

.formClub div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 1rem;
}

.formClub div select {
    width: auto;
    min-width: 80px;
}

/* Sexe radio group */
.formClub input[type="radio"] {
    margin-left: 0.3rem;
}

.formClub input[type="checkbox"] {
    margin-left: 0.5rem;
}

/* Submit button */
.formClub input[type="submit"] {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 0.75rem;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.formClub input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Responsive tweaks */
@media (max-width: 480px) {
    .formClub {
        padding: 1rem;
    }

    .formClub div {
        flex-direction: column;
        align-items: flex-start;
    }

    .formClub div select {
        width: 100%;
    }
}

table.presentTurn {
    width: 100%;
    border-collapse: collapse;
    direction: rtl;
    background-color: #fff;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 0.9rem;
    border: 1px solid #ddd;
}

table.presentTurn thead th {
    background-color: #d8ecff; /* En-tête bleu clair */
    color: #003366; /* Texte sombre */
    padding: 0.6rem 0.8rem;
    text-align: right;
    font-weight: bold;
    border: 1px solid #ddd;
    white-space: nowrap;
}

/* Ligne zébrée une sur deux */
table.presentTurn tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
table.presentTurn tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

/* Couleur au survol */
table.presentTurn tbody tr:hover {
    background-color: #e3f2ff;
}

table.presentTurn tbody td {
    padding: 0.6rem 0.8rem;
    border: 1px solid #eee;
    text-align: right;
    vertical-align: middle;
    white-space: nowrap;
}

table.presentTurn td label {
    color: #007bff;
    cursor: pointer;
    transition: color 0.2s ease;
}
table.presentTurn td label:hover {
    color: #0056b3;
}

table.presentTurn td a.fsClub {
    color: #007bff;
    text-decoration: underline dotted;
}

/* Responsive : scroll horizontal sur petit écran */
@media (max-width: 768px) {
    .presentTurnWrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table.presentTurn {
        width: max-content;
        min-width: 100%;
    }
}

table.lstPlayerGroup {
    width: 100%;
    max-width: 400px;
    border-collapse: collapse;
    direction: rtl;
    background-color: #fff;
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    margin: 20px auto 20px;
}

table.lstPlayerGroup thead,
table.lstPlayerGroup tbody {
    width: 100%;
}

table.lstPlayerGroup tr th {
    background-color: #d8ecff; /* en-tête */
    color: #003366;
    padding: 0.6rem 0.8rem;
    text-align: right;
    font-weight: bold;
    border: 1px solid #ddd;
    white-space: nowrap;
}

table.lstPlayerGroup tr:nth-child(even) {
    background-color: #f9f9f9;
}
table.lstPlayerGroup tr:nth-child(odd) {
    background-color: #ffffff;
}

table.lstPlayerGroup tr:hover {
    background-color: #e3f2ff;
}

table.lstPlayerGroup td {
    padding: 0.6rem 0.8rem;
    border: 1px solid #eee;
    text-align: right;
    vertical-align: middle;
    white-space: nowrap;
}

table.lstPlayerGroup td a.fsClub {
    color: #007bff;
    text-decoration: underline dotted;
}

@media (max-width: 768px) {
    .lstPlayerGroupWrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table.lstPlayerGroup {
        width: max-content;
        min-width: 100%;
    }
}


