@charset "UTF-8";
/* CSS Document */

/* RESET & BASE */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: black;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center; /* centre tout horizontalement */
}

/* HEADER */
header {
    display: flex;
    flex-direction: column; /* logo et texte l'un sous l'autre */
    align-items: center;
    padding: 20px;
    background-color: black;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #000;
    margin-bottom: 10px;
}

.logo {
    width: 225px;
    height: 170px;
    object-fit: contain;
}

h1 {
    color: white;
    font-size: 1.5rem;
    text-align: center;
}

/* COMPTEURS */
.compteurs {
    text-align: center;
    margin: 20px 0;
}

.compteur {
    margin: 5px 0;
}

.grand { font-size: 4rem; color: white; }
.moyen { font-size: 2rem; color: #666d78; }
.petit { font-size: 1.5rem; color: #7663d4; }

/* CONTROLS */
.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.controls button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    background-color: #104fae;
    color: white;
}

/* CREATION SÉANCE */
.creation-seance {
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.boutons button {
    margin-right: 10px;
    background-color: #104fae;
    color: white;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
}

/* LIGNES SÉANCE */
.ligne-seance {
    display: flex;
    align-items: center;
    margin: 5px 0;
    gap: 5px;
}

.ligne-seance input {
    width: 50px;
    padding: 3px;
    text-align: center;
    border-radius: 3px;
    border: none;
}

/* RÉCAPITULATIF DE LA SÉANCE */
#deroule-total {
    position: static; /* plus fixé à droite */
    width: 90%;
    max-width: 400px;
    margin: 20px 0;
    padding: 10px;
    background-color: #000;
    color: #666d78;
    border: 1px solid #333;
    border-radius: 5px;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
    .logo {
        width: 150px;
        height: auto;
    }

    .grand { font-size: 3rem; }
    .moyen { font-size: 1.5rem; }
    .petit { font-size: 1.2rem; }

    .controls button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    #deroule-total {
        width: 95%;
    }
}

@media screen and (max-width: 480px) {
    header h1 {
        font-size: 1.2rem;
    }

    .grand { font-size: 2.5rem; }
    .moyen { font-size: 1.2rem; }
    .petit { font-size: 1rem; }

    .controls {
        gap: 10px;
    }

    .controls button {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}
