html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/*.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}*/

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.card, .btn{
    padding-top: 7px;
}

.btn-buzzer {
    font-size: 2rem;
    padding: 1rem 3rem;
    background: linear-gradient(45deg, #ff4b5c, #ff914d);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 6px #d43f3f;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    min-height:250px;
}

    /* Hover : léger effet */
    .btn-buzzer:hover {
        background: linear-gradient(45deg, #ff6677, #ffb370);
    }

    /* Active : effet “pressé” */
    .btn-buzzer:active {
        transform: scale(0.95);
        box-shadow: 0 3px #d43f3f;
    }

    /* Animation “pop” au click */
    .btn-buzzer:focus {
        outline: none;
        animation: pop 0.2s ease;
    }
    /* Active + focus-visible */
    .btn-buzzer:active,
    .btn-buzzer:focus-visible {
        animation: pop 0.2s ease;
    }
@keyframes pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

/* ----- Disabled ----- */
.btn-buzzer:disabled {
    background: #cccccc; /* gris uniforme */
    color: #666666; /* texte plus clair */
    cursor: not-allowed; /* curseur interdit */
    box-shadow: none; /* plus d’effet d’ombre */
    transform: none; /* pas d’animation */
    pointer-events: none; /* bloque tout clic */
}

    /* Facultatif : hover ne fait plus rien */
    .btn-buzzer:disabled:hover {
        background: #cccccc;
    }
