﻿.label-warning {
    background-color: #f0ad4e;
}

.label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 85%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

.help-block {
    font-size: 14px;
}

    .help-block:first-of-type {
        font-size: 16px;
    }


/* Hide default radio button */
.toggle-radio {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    margin-top: 10px;
}

/* Style the toggle switch */
.toggle-label {
    display: inline-block;
    width: 40px; /* Adjust as needed for the width */
    height: 20px; /* Adjust as needed for the height */
    background-color: #ccc; /* Default background color */
    border-radius: 20px; /* Adjust for roundness */
    position: relative;
    cursor: pointer;
    margin-top: 10px;
}

    /* Style the toggle indicator */
    .toggle-label::after {
        content: "";
        position: absolute;
        width: 16px; /* Adjust as needed for the width */
        height: 16px; /* Adjust as needed for the height */
        background-color: white; /* Default indicator color */
        border-radius: 50%;
        top: 2px; /* Adjust vertically */
        left: 2px; /* Adjust horizontally */
        transition: transform 0.3s ease-in-out;
    }
/* Move the indicator when radio button is checked */
.toggle-radio:checked + .toggle-label::after {
    transform: translateX(20px); /* Adjust based on the toggle switch width */
}

/* Change toggle switch background color when radio button is checked */
.toggle-radio:checked + .toggle-label {
    background-color: #2196F3; /* Adjust as needed */
}