.radio-button-container {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    column-gap: 0.5rem;
}

.radio-button-container.icons {
    flex-direction: row;
}

/* checkbox with image */
.icons .checkbox-container {
    flex-direction: column;
    flex: 1 1 auto;
    width: unset;
    justify-content: center;
    align-items: center;
}

.icons .checkbox-custom {
    order: 2;
    margin-top: 0.5rem;
}

.icons .checkbox-custom-label-text {
    order: 0;
    margin-bottom: 0.5rem;
}

.icons .checkbox-custom-label-img {
    order: 1;

}

.icons .checkbox-custom-label-img img {
    width: 100%;
    max-height: 6rem;
    border: 2px solid var(--gray);
    border-radius: 0.5rem;
    overflow: hidden;
}

/* CUSTOM CHECKBOX ELEMENT */
/* custom checkbox */
.checkbox-container {
    display: flex;
    user-select: none;
}

.checkbox-container-center {
    justify-content: center;
}

.checkbox-container label {
    cursor: pointer;
}

.checkbox-container .checkbox-custom-label-text {
    margin-left: 0.5rem;
}

.checkbox-container p {
    line-height: 2rem;
    margin: 0 1rem ;
    text-align: left;
}

.checkbox-custom {
    width: 2rem;
    height: 2rem;
    display: inline-block;
    vertical-align: bottom;
    position: relative;
    cursor: pointer;

    flex-shrink: 0;
}

.checkbox-custom-label {
    display: block;
    position: absolute;
    width: 2rem;
    height: 2rem;
    top: 0;
    left: 0;
    background-color: white;
    border: 2px solid #dadada;
    box-shadow: 0 1px 0 0 #dadada;
    border-radius: 4px;
    color: white;

    text-align: center;
    justify-content: center;
    justify-items: center;

    font-size: 2rem;
}

.checkbox-custom-label i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 2rem;
}

.purple input[type="radio"]:checked + .checkbox-custom-label, .purple .track-inner {
    background-color: var(--purple);
}

.yellow input[type="radio"]:checked + .checkbox-custom-label, .yellow .track-inner {
    background-color: var(--yellow);
}

.blue input[type="radio"]:checked + .checkbox-custom-label, .blue .track-inner {
    background-color: var(--blue);
}

.orange input[type="radio"]:checked + .checkbox-custom-label, .orange .track-inner {
    background-color: var(--orange);
}

.cyan input[type="radio"]:checked + .checkbox-custom-label, .cyan .track-inner {
    background-color: var(--cyan);
}

/* xxs screen */
@media only screen and (max-width: 500px) {
    .radio-button-container.icons {
        flex-direction: column;
    }
}
