body {
    font-family: Arial, sans-serif;
    background-color: #1E90FF; /* Votre couleur de fond */
    
    /* 1. Force la page à faire au moins la hauteur de l'écran */
    min-height: 100vh;
    
    /* 2. Active Flexbox pour gérer la disposition verticale */
    display: flex;
    flex-direction: column;
    
    /* 3. Supprime les marges par défaut pour éviter l'ascenseur inutile */
    margin: 0;
}
body {
    background-color: #1E90FF;
    height: 100vh;
}

button:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #fff;
}

header {
    background-color: #C1BDB3; 
    text-align: center;
    height : 17vh;
}


.centrer {
    text-align : center;
}




/* HEADER GLOBAL */
.header {
    background-color: #C1BDB3;
    padding: 10px 20px;
}

/* FLEX PRINCIPAL */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* espace entre gauche / centre / droite */
    width: 100%;
    height: 100%;
}

/* LOGO */
.header-logo img {
    height: 100px;
    width: auto;
}

/* TITRE CENTRÉ ABSOLUMENT */
.header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    color: white;
}

/* PROFIL (boutons) */
.header-profil {
    display: flex;
    align-items: center;
}

/* Boutons */
.btn-header {
    border-radius: 10px;
    padding: 8px 15px;
    font-size: 18px;
    cursor: pointer;
    border: none;
}

/* Couleurs des boutons */
.btn-green {
    background-color: greenyellow;
    border-radius: 10px;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
    border-radius: 10px;
}

/* RESPONSIVE – Téléphones */
@media (max-width: 768px) {

    .header-content {
        padding: 0 10px;
    }

    .header-logo img {
        height: 45px;
    }

    .header-title {
        font-size: 22px;
    }

    .btn-header {
        font-size: 16px;
        padding: 6px 10px;
    }

    .header-logo img {
        height: 60px;
        width: auto;
    }
}

/* Double la taille du bouton */
#btn-valider {
    font-size: 1.6rem;   /* text x2 */
    padding: 20px 40px;  /* bouton plus large */
    border-radius: 12px;
}

/* Double la taille du logo + marge à gauche */
#logo {
    font-size: 3rem;     /* taille x2 */
    margin-left: 40px;   /* + marge */
}

/* Marge droite plus grande pour le bouton */
.btnCancel {
    margin-right: 40px;
}

.buttonMenu {
    border-radius: 25px;
    margin-top : 60px;
    font-size: 24px;
    transition: all 0.3s ease;
    width : 80%;
    background-color: #C1BDB3;
}


h3,h5 {
    text-align: center;
}
table {
    width: 100%;
    border-collapse: collapse;
    
}

th, td {
    border: 1px solid #000;
    height : 2px;
    width : 15%;
    background-color: 	#C0C0C0;
}




.small-cell {
    width: 3%;
    text-align: center;
}

.total {
    background-color: #e0e0e0;
}

thead th {
    position: sticky;
    top: 0;
    background-color: #fff;
}


.btnQuilles {
    border-radius : 50%;
    border : 1px solid black;
    height : 40px;
    width : 40px;
    margin : 15px;
}

.btn-submit {
    width : 65px;
    height : 30px;
    background-color: greenyellow;
    margin-left: 15px;
    border-radius : 10px;
}

.quillesActive {
    background-color: #AE8964;

}

.quillesPassive {
    background-color: #cccccc;
    cursor : not-allowed;
    opacity : 0.5;

}

.bonusInactif {
    background-color: black;
    cursor : not-allowed;
    opacity : 0.5;
}

.btnCancel {
    border-radius : 15px;
    background-color: red;
    height : 40px;
    width : 80%;
    margin-left : 10%;
    margin-right: 10%;
    margin-bottom : 20px;
}

.btnNewPlayer {
    border-radius: 15px;
    background-color: greenyellow;
    height : 40px;
    width : 80%;
    margin-left : 10%;
    margin-right: 10%;
    margin-bottom : 20px;
}

.valideQuillouEP10 {
    margin-left : 15px;
    border-radius: 5px;
    width : 65px;
    height : 30px;
}
.valideBouleEP10 {
    margin-left : 60px;
    border-radius: 5px;
    width : 65px;
    height : 30px;
}

.boutonClique{
    background-color: greenyellow;
}

.quillouJouer {
    display : none;
}

/* Styles pour le haut de la page */
header {
    background-color: #C1BDB3; /* Couleur de fond du haut de la page */
    text-align: center;
    height : 17vh;
}

.centrer {
    text-align : center;
}



/* --- FOOTER (Style identique au Header) --- */
/* --- FOOTER PROFESSIONNEL --- */

.site-footer {
    background-color: #C1BDB3; /* Votre couleur Header */
    color: #333;               /* Texte sombre pour le contraste */
    padding-top: 40px;
    margin-top: 60px;          /* Espace avec le contenu du site */
    border-top: 4px solid #1E90FF; /* Rappel du bleu de votre charte en bordure */
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px 30px 20px;
}

/* --- Colonnes --- */
.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
    padding-right: 20px;
}

/* --- Identité (Col 1) --- */
.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 50px; /* Logo plus petit que le header */
    width: auto;
    margin-right: 10px;
}

.brand-name {
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
}

/* --- FOOTER SIMPLIFIÉ --- */
/* --- FOOTER COMPACT & LARGE --- */

.site-footer {
    background-color: #C1BDB3;
    color: #333;
    padding-top: 15px;         /* Réduit de 30px à 15px pour moins de hauteur */
    margin-top: 40px;          /* Espace réduit avec le contenu du dessus */
    border-top: 4px solid #1E90FF;
    font-size: 0.9rem;   
}

.footer-container {
    width: 100%;               /* Prend toute la largeur disponible */
    max-width: none;           /* Supprime la limite de centrage */
    padding: 0 40px 10px 40px; /* Plus d'espace sur les côtés (40px) mais moins en bas */
    display: flex;
    justify-content: space-between;
    align-items: center;       /* Aligne verticalement au centre */
}

/* La colonne de droite (Contact) */
.footer-right {
    text-align: right;
}

/* Titre "Quilles de Huit" */
.footer-brand {
    font-weight: bold;
    font-size: 1.1rem;         /* Titre plus petit */
    margin-bottom: 5px;        /* Moins d'espace sous le titre */
    color: #000;
    text-transform: uppercase;
    display: inline-block;
    margin-right: 15px;  
    margin-left: 15px;
}

.footer-desc {
    font-size: 0.85rem;
    color: #444;
    margin: 0;               
    display: inline-block;    
}

.footer-col h4 {
    display: none;             /* Astuce : on cache le titre "Informations" pour gagner une ligne */
}

/* Liens */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;             /* Affiche les liens côte à côte (horizontal) */
    gap: 20px;                 /* Espace entre les liens */
}

.footer-links li {
    margin-bottom: 0;          /* Plus de marge en bas */
}

.footer-links a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.footer-links i {
    margin-right: 5px;
    color: #1E90FF;
}

/* Copyright (Barre du bas) */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.05);
    text-align: center;
    padding: 5px 0;            /* Barre très fine */
    font-size: 0.75rem;
    color: #555;
    margin-top: 10px;
}

/* --- RESPONSIVE (Mobile) --- */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Retour à la verticale sur mobile */
        padding: 20px;
        text-align: center;
        gap: 15px;
    }

    .footer-right {
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column; /* Liens l'un sous l'autre sur mobile */
        gap: 10px;
    }

    .footer-brand, .footer-desc {
        display: block;        /* Retour à l'affichage bloc sur mobile */
        margin-right: 0;
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .site-footer {
        margin-top: 10px;
        padding-top: 20px;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .footer-right {
        text-align: center;
    }

    .header-content {
        padding: 0 10px;
    }

    .header-logo img {
        height: 45px;
    }

    .header-title {
        font-size: 22px;
    }

    .btn-header {
        font-size: 16px;
        padding: 6px 10px;
    }

    .header-logo img {
        height: 60px;
        width: auto;
    }
}
