.button-custom {
    display: inline-block;
    background: #4285f4;
    color: #fff;
    text-transform: uppercase;
    padding: 20px 30px;
    border-radius: 5px;
    box-shadow: 0px 17px 10px -10px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    -webkit-transition: all ease-in-out 300ms !important;
    transition: all ease-in-out 300ms !important;
  }

  .button-custom:hover {
    box-shadow: 0px 37px 20px -20px rgba(0, 0, 0, 0.2) !important;
    -webkit-transform: translate(0px, -10px) scale(1.2) !important;
            transform: translate(0px, -10px) scale(1.2) !important;
  }
  
  .button-ffbad {
    border: 2px solid #e6001c !important;
    color: #e6001c !important;
    border-radius: 0.3rem !important;
    background-color: transparent !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-transform: uppercase !important;
    font-size: 1rem !important;
    text-align: center !important;
    font-weight: 600 !important;
    padding: 1.2rem 1.8rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    line-height: 1 !important;
    transition: background .2s cubic-bezier(.165,.74,.44,1),color .2s cubic-bezier(.165,.74,.44,1),border-color .2s cubic-bezier(.165,.74,.44,1) !important;
  }

  .button-ffbad:hover {
    color: #fff !important;
    background: #e6001c !important;
  }

  .button-ffbad.active, .button-ffbad:active {
    color: #fff !important; /* Texte blanc pour le bouton actif */
    background-color: #e6001c !important; /* Fond rouge pour le bouton actif */
    border-color: #e6001c !important; /* Bordure rouge pour le bouton actif */
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.button-ffbad-small {
    color: var(--ffbad-blue, #101F69) !important; /* Blue color */
    background-color: rgba(16, 31, 105, 0.1) !important; /* Blue background with opacity 0.7 */
    padding: 0.5rem 1rem !important; /* Reduced padding */
    border: none !important; /* No border */
    text-decoration: none !important;
    display: inline-block !important;
    text-transform: uppercase !important;
    font-size: 1rem !important;
    text-align: center !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.2rem !important;
    line-height: 1 !important;
    transition: background .2s cubic-bezier(.165,.74,.44,1), color .2s cubic-bezier(.165,.74,.44,1) !important;
    animation: slideDown 0.5s ease-out; /* Apply the slide down animation */
}
#additional-buttons .form-check {
    padding-left: 0rem !important;
}

.button-ffbad-small:hover {
    color: #fff !important; /* White text on hover */
    background: var(--ffbad-blue, #101F69) !important; /* Solid blue background on hover */
}

.button-ffbad-small.active, .button-ffbad-small:active {
    color: #fff !important; /* White text for the active button */
    background-color: var(--ffbad-blue, #101F69) !important; /* Solid blue background for the active button */
}

.button-ams {
    color: var(--ffbad-blue, #101F69) !important;
    border: none !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-transform: uppercase !important;
    font-size: 1rem !important;
    text-align: center !important;
    font-weight: 600 !important;
    padding: 0rem 1.8rem 0.6rem 1.8rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    line-height: 1 !important;
    transition: color .2s cubic-bezier(.165,.74,.44,1) !important;
}

.button-ams:hover {
    color: #e6001c !important;
}

.button-ams.active {
    color: #e6001c !important; /* Texte bleu pour le bouton actif */
    background-color: transparent !important;
    border-bottom: 4px solid #e6001c !important; /* Barre avec des arrondies en dessous */
    border-radius: 0 0 0.3rem 0.3rem !important; /* Arrondir les coins en bas */
}