/* ========================================
   STYLES TÉLÉCOMMANDE - FICHIER EXTERNE
   Modifiez ce fichier pour personnaliser
   l'apparence de votre télécommande
   ======================================== */
    .progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 10px !important; /* Changé de 2px à 5px */
    height: 100%;
    background: transparent !important; /* Ou white si vous préférez */
    border-right: 2px solid #eebd40 !important;  /* Bordure dorée à droite */
    transition: left linear;
}
/* Structure de la télécommande */
.left-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-items: center;
    min-height: 340px;
    width: 150px;
    padding: 10px;
}

/* Styles communs pour tous les boutons rectangulaires */
.telecommande-btn {
    width: 100%;
    height: 40px;
    border-radius: 12px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
}

.telecommande-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.telecommande-btn:active {
    transform: translateY(0);
}

.telecommande-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Bouton JOUER (jaune) */
.btn-jouer {
    background: linear-gradient(135deg, #EEBD40, #d4a93a);
    color: #1a1a1a;
    border-color: #EEBD40;
    box-shadow: 0 4px 15px rgba(238, 189, 64, 0.3);
}

.btn-jouer:hover:not(:disabled) {
    background: linear-gradient(135deg, #d4a93a, #EEBD40);
    box-shadow: 0 6px 20px rgba(238, 189, 64, 0.6);
}

.btn-jouer.pulsing {
    animation: pulseGlow 1.5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(238, 189, 64, 0.6);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(238, 189, 64, 1);
    }
}

/* Bouton STOP (rouge) */
.btn-stop {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    color: #ffffff;
    border-color: #f44336;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

.btn-stop:hover:not(:disabled) {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.6);
}

/* Bouton REMÉLANGER (gris) */
.btn-reset {
    background: linear-gradient(135deg, #4a4a4a, #1a1a1a);
    color: #cccccc;
    border-color: #cccccc;
    box-shadow: 0 4px 15px rgba(204, 204, 204, 0.2);
    height: 30px;
}

.btn-reset:hover:not(:disabled) {
    background: linear-gradient(135deg, #cccccc, #4a4a4a);
    color: #1a1a1a;
    box-shadow: 0 6px 20px rgba(204, 204, 204, 0.4);
}

/* Bouton ÉCOUTER (jaune avec icône son) */
.btn-ecouter {
    background: #EEBD40;
    color: #1a1a1a;
    border-color: #ffffff;
    box-shadow: 0 4px 15px rgba(238, 189, 64, 0.3);
}

.btn-ecouter:hover:not(:disabled) {
    background: #d4a93a;
    box-shadow: 0 6px 20px rgba(238, 189, 64, 0.6);
}

.btn-ecouter.playing {
    animation: pulsePurple 1s ease-in-out infinite;
}

@keyframes pulsePurple {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px #EEBD40;
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px #EEBD40;
    }
}

/* Bouton VOIR SOLUTION (jaune avec verrouillage) */
.btn-voir {
    background: #EEBD40;
    color: #1a1a1a;
    border-color: #ffffff;
    box-shadow: 0 4px 15px rgba(238, 189, 64, 0.3);
}

.btn-voir.locked::after {
    content: ' 🔒';
}

.btn-voir:hover:not(:disabled) {
    background: #d4a93a;
    box-shadow: 0 6px 20px rgba(238, 189, 64, 0.6);
}

.btn-voir.active {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: #ffffff;
    animation: pulseRed 1s ease-in-out infinite;
}

@keyframes pulseRed {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(244, 67, 54, 0.6);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(244, 67, 54, 1);
    }
}

/* Bouton VÉRIFIER (vert) */

.btn-verifier {
    background: linear-gradient(135deg, #4a4a4a, #1a1a1a);
    color: #cccccc;
    border-color: #cccccc;
    box-shadow: 0 4px 15px rgba(204, 204, 204, 0.2);
    height: 30px;
}

.btn-verifier:hover:not(:disabled) {
    background: linear-gradient(135deg, #cccccc, #4a4a4a);
    color: #1a1a1a;
    box-shadow: 0 6px 20px rgba(204, 204, 204, 0.4);
}

         /*

.btn-verifier {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: #ffffff;
    border-color: #4CAF50;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-verifier:hover:not(:disabled) {
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
}
*/
/* Titres des sections */
.control-title {
    width: 100%;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 13px;
    margin: 8px 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Rangée de 2 boutons côte à côte */
.btn-row-2 {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

/* Numéro d'exercice */
.exercise-number {
    background: #ffffff;
    color: #000000;
    border-radius: 8px;
    width: 130px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Navigation exercices */
.nav-arrows-row,
.nav-tens-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.nav-button {
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    padding: 0;
    background: #4a4a4a;
    color: #ffffff;
    border: 1px solid #cccccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-button:hover:not(:disabled) {
    background: #EEBD40;
    color: #1a1a1a;
    border-color: #EEBD40;
    transform: translateY(-2px);
}

.nav-10 {
    font-size: 13px;
}
