/* Radio buttons */

:root {
    --white: #ffffff;
    --light: #f0eff3;
    --black: #000000;
    --dark-blue: #1f2029;
    --dark-light: #353746;
    --grey: #ecedf3;
}

[type="checkbox"]:checked,
[type="checkbox"]:not(:checked),
[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
    width: 0;
    height: 0;
    visibility: hidden;
}

[type="checkbox"]:checked+label,
[type="radio"]:checked+label,
[type="checkbox"]:not(:checked)+label,
[type="radio"]:not(:checked)+label {
    position: relative;
    font-weight: 100;
    display: inline-block;
    padding: 10px;
    min-width: 100px;
    width: auto;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1px;
    margin: 0 auto;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    /*text-transform: uppercase;*/
    color: var(--white);
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}

[type="checkbox"]:not(:checked)+label,
[type="radio"]:not(:checked)+label {
    background-color: var(--light);
    color: var(--black);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

[type="checkbox"]:checked+label,
[type="radio"]:checked+label {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    font-weight: 400;
    background-image: linear-gradient(298deg, var(--primary), var(--secondary));
}

[type="checkbox"]:not(:checked)+label:hover,
[type="radio"]:not(:checked)+label:hover,
[type="checkbox"]:not(:checked)+label:hover,
[type="radio"]:not(:checked)+label:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

[type="checkbox"]:checked+label::before,
[type="radio"]:checked+label::before,
[type="checkbox"]:not(:checked)+label::before,
[type="radio"]:not(:checked)+label::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background-image: linear-gradient(298deg, var(--red), var(--secondary));
    z-index: -1;
}

[type="checkbox"]:checked+label .uil,
[type="radio"]:checked+label .uil,
[type="checkbox"]:not(:checked)+label .uil,
[type="radio"]:not(:checked)+label .uil {
    font-size: 24px;
    line-height: 24px;
    display: block;
    padding-bottom: 10px;
}

[type="checkbox"]:not(:checked)+label,
[type="radio"]:not(:checked)+label {
    background-color: var(--light);
    color: var(--dark-blue);
    font-weight: 300;
    box-shadow: 0 1x 4px 0 rgba(0, 0, 0, 0.05);
}

.option-guaranty {
    width: 310px !important;
    display: flex;
    min-height: 120px;
    align-content: center;
}