/* INPUT TYPE TEXT/NUMBER */
.input-type {
    font-size: 1.4rem;
    background-color: var(--gray-3);
    /* font-family: 'Roboto Mono', monospace; */
    border-radius: 1.0rem;
    border: none;
    color: var(--primary-text-color);
    padding: 1.0rem;
}

/* RADIO BUTTON */
.radio-container {
    display: block;
    position: relative;
    padding-left: 4rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    font-size: 1.6rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height:1.6rem;
    width: 1.6rem;
    background-color: #ccc;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.radio-container:hover input ~ .checkmark {
    background-color: #aaa;
}

/* When the radio button is checked, add a blue background */
.radio-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio-container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.radio-container .checkmark:after {
    top: .5rem;
    left: .5rem;
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
    background: white;
}

.row-holder {
    display: flex;
    width: 100%;
    justify-content: space-around;
    margin: 0.8rem 0rem;
    font-size: 1.4rem;
}

/* TOGGLE SWITCH */
.switch {
    position: relative;
    display: inline-block;
    width: 6.0rem;
    height: 2.8rem;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-3);
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 2.1rem;
    width: 2.1rem;
    left: .6rem;
    bottom: .4rem;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:focus + .slider {
    box-shadow: 0 0 .1rem var(--primary-color);
}

input:checked + .slider:before {
    -webkit-transform: translateX(2.6rem);
    -ms-transform: translateX(2.6rem);
    transform: translateX(2.6rem);
}

/* Rounded sliders */
.slider.round {
    border-radius: 3.4rem;
}

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