﻿
.custom-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 10px; /* Adds spacing between the label and toggle switch */
}

.custom-toggle-container {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

    /* Hide default checkbox */
    .custom-toggle-container input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* Slider styling */
.custom-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 15px;
}

    .custom-slider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 22px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .custom-slider {
    background-color: #f5079e;
}

    input:checked + .custom-slider:before {
        transform: translateX(26px);
    }


