/* Sybell custom auto-renew toggle */

.syb-autorenew-switch .switch__container {
    background-color: #D8C9E6;
}

.syb-autorenew-switch .switch__checkbox:checked + .switch__container {
    background-color: #FFA500;
}

.syb-autorenew-switch .switch__container::after,
.syb-autorenew-switch .switch__checkbox + .switch__container::after,
.syb-autorenew-switch .switch__checkbox:checked + .switch__container::after {
    content: none !important;
    display: none !important;
}

/* X icon in the handle when auto-renew is OFF */
.syb-autorenew-switch .switch__handle {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%238B5FAB' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='3' y1='3' x2='11' y2='11'/%3E%3Cline x1='11' y1='3' x2='3' y2='11'/%3E%3C/svg%3E");
    background-size: 55%;
    background-repeat: no-repeat;
    background-position: center;
}

/* Checkmark icon in the handle when auto-renew is ON */
.syb-autorenew-switch .switch__checkbox:checked + .switch__container .switch__handle {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23FFA500' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='2%2C7 6%2C11 12%2C3'/%3E%3C/svg%3E");
}
