/**
* 2007-2025 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2025 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
.don-univet-toggle-checkbox {
    display: none;
}
.don-univet-toggle-switch {
    display: inline-block;
    position: relative;
    width: 30px; /* Largeur de l'interrupteur */
    height: 16px; /* Hauteur de l'interrupteur */
    background-color: #cacaca; /* Couleur de fond initial */
    border-radius: 8px;
    cursor: pointer;
}
.don-univet-toggle-switch::before {
    content: "";
    position: absolute;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background-color: #ffffff; /* Couleur du curseur */
    top: 2px;
    left: 4px;
}
.don-univet-toggle-checkbox:checked + .don-univet-toggle-switch {
    background-color: #028ddd; /* Nouvelle couleur de fond */
}
.don-univet-toggle-checkbox:checked + .don-univet-toggle-switch::before {
    left: 14px; /* Position du curseur quand il est coché */
}
.don-univet-toggle-switch,
.don-univet-toggle-switch::before {
  transition: all 0.3s ease; /* Ajoute une transition pour un effet fluide */
}