:root {
    /* COLORS
    –––––––––––––––––––––––––––––––––––––––––––––––––– */

    --orange-cuik: #fa5f43;
    --orange-cuik-light: #ff7b5c;
    --orange-cuik-lighter: #ff8f6f;
    --orange-cuik-lightest: #ffb08f;
    --orange-cuik-dark: #e64a2e;
    --orange-cuik-darker: #d13b1f;
    --orange-cuik-darkest: #b92f0f;
    --orange-cuik-clear: #ff9e8f;
    --orange-cuik-clearer: #ffaf9f;
    --orange-cuik-clearest: #ffbfaf;
}

/* PROJET 
–––––––––––––––––––––––––––––––––––––––––––––––––– */

html, body {
    font-family: Arial, sans-serif;
}

.loading {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
    vertical-align: middle;
    margin-left: 8px;
}

.loading.show {
    display: inline-block;
}

.quadrillage {
    background-image: url("/assets/icons/quadrillage.svg");
    background-repeat: repeat;
    background-size:auto;
}

/* CUSTOM SCROLLBARS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.15) transparent;
}

[data-theme="dark"] * {
    scrollbar-color: rgba(255,255,255,0.12) transparent;
}

/* Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.25);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.12);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}

::-webkit-scrollbar-button {
    display: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    scrollbar-width: none;
}

.large-scrollbar,
.thin-scrollbar {
    overflow: auto;
}
/* TOGGLE SWITCH 
    –––––––––––––––––––––––––––––––––––––––––––––––––– */

/* <label class="toggle-switch rounded text-l text-r">
    <input type="checkbox">
    <span class="slider bg-[#0078A0]"></span>
    <span id="home-billing-annuel" class="left-text" style="color: white;">Annuel</span>
    <span id="home-billing-mensuel" class="right-text" style="color: white;">Mensuel</span>
</label> */

    /* The switch - the box around the slider */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.toggle-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: .4s;
    transition: .4s;
}

.toggle-switch .slider {
    background-color: #0078A0;
}

.toggle-switch.rounded .slider {
    border-radius: 34px;
}

.toggle-switch .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.toggle-switch.rounded .slider:before {
    border-radius: 50%;
}

.toggle-switch input:checked + .slider {
    background-color: #ccc;
}

.toggle-switch input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

.toggle-switch input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.toggle-switch .slider.round {
    border-radius: 34px;
}

.toggle-switch .slider.round:before {
    border-radius: 50%;
}

.toggle-switch.text-l .left-text {
    position: absolute;
    left: -100%;
    transform: translate3d(-6px, 0, 0);
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.toggle-switch.text-r .right-text {
    position: absolute;
    right: -100%;
    transform: translate3d(12px, 0, 0);
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}