/* Section « Avis clients » (_feedback.cshtml)
   Styles scopés à #clients_feedback : ce partiel est réutilisé sur d'autres pages
   (ex. About) qui ne chargent pas home-index-load-pricing.css, sinon le switch
   retombe en simple case à cocher. */

/* Toggle « Avis traduits / Avis Google » */
#clients_feedback .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

#clients_feedback .switch input {
    display: none;
}

#clients_feedback .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #ccc;
    border-radius: 24px;
    transition: .3s;
}

#clients_feedback .slider:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: .3s;
}

#clients_feedback input:checked + .slider {
    background: #4ADE80;
}

#clients_feedback input:checked + .slider:before {
    transform: translateX(26px);
}

/* Cartes d'avis à hauteur égale, quelle que soit la longueur du texte */
#clients_feedback .swiper-wrapper {
    align-items: stretch;
}

#clients_feedback .swiper-slide {
    height: 450px !important;
    display: flex;
}

#clients_feedback .swiper-slide > * {
    width: 100%;
}
