
/* Registracia uprava */
#register-form fieldset.co-registration {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
}

#register-form fieldset.co-registration > h4 {
    flex: 0 0 100%;
    margin: 0;
}

#register-form fieldset.co-registration .form-group {
    position: relative;
    display: flex;
    flex: 1 1 calc(45% - 10px);
    min-width: 200px;
}

@supports (selector(:has(*))) {
    #register-form fieldset.co-registration .form-group:has(input.is-wholesale) {
        flex: 1 1 100%;
    }
}

#register-form fieldset.co-registration input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#register-form fieldset.co-registration label.whole-width {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    align-content: center;
    padding: 12px 14px 12px 44px;
    border: 1px solid rgba(106, 57, 123, 0.25);
    border-radius: 10px;
    background: #ffffff;
    color: #2b2b2b;
    cursor: pointer;
    line-height: 1.35;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

#register-form fieldset.co-registration label.whole-width::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    background: #ffffff;
}

#register-form fieldset.co-registration input[type="radio"]:checked + label.whole-width {
    border-color: var(--color-primary);
    background: rgba(204, 165, 200, 0.2);
    box-shadow: 0 0 0 2px rgba(106, 57, 123, 0.08);
}

#register-form fieldset.co-registration input[type="radio"]:checked + label.whole-width::before {
    background: var(--color-primary);
    box-shadow: 0 0 0 3px #ffffff inset;
}

#register-form fieldset.co-registration input[type="radio"]:focus + label.whole-width {
    outline: 2px solid var(--color-primary-hover);
    outline-offset: 2px;
}

#register-form fieldset.co-registration label.whole-width:hover {
    border-color: var(--color-primary-hover);
    background: rgba(204, 165, 200, 0.15);
}

.registration-info-note {
    margin: 12px 0 16px;
    text-align: center;
    color: #2b2b2b;
}