.custom-input {
    display: inline-block;
    height: 100px;
}

.custom-input-group {
    display: flex;
    overflow-x: auto;
}



.custom-input-group > * {
    margin: 0.5rem 0.5rem;
}

.custom-input-group-legend {
    font-size: 1.5rem;
    font-weight: 700;
    color: #9c9c9c;
    text-align: center;
    line-height: 1.125;
    margin-bottom: 1.25rem;
}

.custom-input-input {
    clip: rect(0 0 0 0);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.custom-input-wrapper {
    height: 100%;
}

.custom-input-input:checked + .custom-input-title {
    border-color: #8e0033;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #8e0033;
}

.custom-input-input:checked + .custom-input-title:before {
    transform: scale(1);
    opacity: 1;
    background-color: #8e0033;
    border-color: #8e0033;
}

.custom-input-input:checked + .custom-input-title .custom-input-icon, .custom-input-input:checked + .custom-input-title .custom-input-label {
    color: #8e0033;
}


.custom-input-input:focus + .custom-input-title:before {
    transform: scale(1);
    opacity: 1;
}

.custom-input-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 6.5rem;
    min-height: 4rem;
    border-radius: 0.5rem;
    border: 2px solid #b5bfd9;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: 0.15s ease;
    cursor: pointer;
    position: relative;
    height: 100%;
}

.custom-input-title:before {
    content: "";
    position: absolute;
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    border: 2px solid #b5bfd9;
    background-color: #fff;
    top: 0.25rem;
    right: 0.25rem;
    opacity: 0;
    transform: scale(0);
    transition: 0.25s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    border-radius: 0;

}


.one_option ~ .custom-input-title:before {
    border-radius: 50%;
}

.custom-input-title:hover {
    border-color: #8e0033;
}

.custom-input-title:hover:before {
    transform: scale(1);
    opacity: 1;
}

.custom-input-icon {
    transition: 0.375s ease;
    color: #494949;
}

.custom-input-label {
    color: #707070;
    transition: 0.375s ease;
    text-align: center;
}

.custom-input-icon img {
    width: 65px;
    height: 35px;
    object-fit: contain;
}
