.form-group {
    margin-bottom: 25px;
}
.radio3, .radio4 {
    display: flex;
    align-items: center;
}
.form-group_radio3, .form-group_radio4 {
     flex-direction: row;
     margin-right: 30px;
}
.modal-label_2 {
    margin-bottom: 10px;
    line-height: 125%;
    max-width: 90%;
}
.select_1 {
    display: none;
    font-size: 16px;
    font-weight: 400;
    color: #424F4B;
}
.test-block {
    display: none;
    width: 730px;
    margin: 100px auto;
    background-color: #fff;
    z-index: 400;
    border-radius: 20px;
    position: relative;
    flex-direction: column;

    transform: translateY(0);
    padding: 28px;
    cursor: default;
}
.test-block-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}
.test-block-logo {
    width: 190px;
    height: 34px;
}
.test-block-header-text {
    color: #0F3027;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    max-width: 80%;
}
#socgid_test_register_newaccblock > .form-group:nth-child(1) {
    margin: 0 auto;
}
#socgid_test_register_newaccblock > .form-group:nth-child(2) {
    margin: 0 auto;
}
#socgid_test_register_enteraccblock > .form-group:nth-child(1) {
    margin: 0 auto;
}
.socgid-sicualauth{
    padding: 0 0 18px 0;
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
}
.form-group_radio3 {
    margin: 0 12px 0 0;
}
.form-group_radio3 > .modal-input__radio-label {
    width: 240px;
    height: 45px;
    border-radius: 10px;
    background-color: #E6E8EB;
    color: #0F3027;
    display: flex;
    justify-content: center;
    align-items: center;
}
.form-group_radio3 > .selected {
    background-color: #0F3027;
    color: white;
}
.form-group_radio3 > input {
    display: none !important;
}
.test-form {
    display: flex;
    flex-direction: column;
}
.test-form > .form-group:nth-child(1) {
    margin-bottom: 43px;
}
.radio3 {
    margin-top: 7px;
}
.modal-checkbox_big > .modal-input {
    width: 25px;
    height: 25px;
    cursor: pointer;
}
.modal-checkbox_big > .modal-label_checkbox {
    line-height: 100%;
    font-size: 16px;
}
.modal-checkbox_big > .modal-label_checkbox > .socgid-ovz-label {
    margin-left: 10px;
}
.modal-checkbox_big {
    display: flex;
    align-items: center;
    margin: 4px 0 15px;
}
.modal-checkbox_big > .socgid-ovz-checkbox {
    display: block;
}
.select-items div.selected {
    background-color: #e0e0e0;
    font-weight: bold;
}
.select-item {
    position: relative;
}
.multiple-selected {
    font-weight: 600;
    color: #424F4B;
    font-size: 16px;
}
.checkmark {
    position: absolute;
    top: 50%;
    right: 17px;
    width: 16px;
    height: 16px;
    transform: translate(0, -50%);
}
.test-legend {
    margin-bottom: 20px;
}
.selected-block {
    border-bottom: 1px solid #CAD5E0;
    padding-bottom: 15px;
    margin-bottom: 30px;
}
.selected-blocks-container {
}
.instruction {
    border: none;
    background-color: transparent;
    outline: none;
    color: #7B9329;
    font-size: 14px;
    line-height: 100%;
    cursor: pointer;
    display: flex;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="19" height="9" viewBox="0 0 19 9" fill="none"><path d="M1 1L9.5 8L18 1" stroke="%237B9329" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');    
    background-repeat: no-repeat;
    background-position: right 0 center;
    transition: background-image 0.1s;
    margin: 15px 0 25px;
    width: 200px;
}
.instruction-text {
    border-bottom: 1px solid #7B9329;
}
.instruction-legend {
    font-size: 14px;
    font-weight: 600;
    line-height: 100%;
}
.hint-italic {
    margin: 20px 0;
    display: block;
}
.form-group h3 {
    margin-top: 0;
}
.instruction-hint {
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
    max-height: 800px; /* достаточно для содержимого */
    opacity: 1;
}
.collapsed {
  max-height: 0;
  opacity: 0;
}
.instruction-hint-inner{
    margin-top: 15px;
}
.modal-input_big {
    min-height: 110px;
    max-height: 300px;
    max-width: 100%;
    font-weight: 500;
    font-size: 12px;
    font-family: "Inter", sans-serif;
    padding: 14px;
    margin-bottom: 35px;
}
.modal-input_big::placeholder {
    color: #BFCBC8;
}
.form-group.problem {
    border-bottom: 1px solid #CAD5E0;
}
.instruction-arrow-active {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="19" height="9" viewBox="0 0 19 9" fill="none"><path d="M18 8L9.5 1L1 8" stroke="%237B9329" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}
.hidden-problems {
    margin: 20px 0 8px;
}
.hidden-problems > h3 {
    margin: 0 0 30px;
}
.gray-button {
    background-color: #D9DBDB;
    border-radius: 10px;
    width: 350px;
    height: 65px;
    color: #424F4B;
    outline: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
}
.green-button {
    background-color: #7B9329;
    border-radius: 10px;
    width: 350px;
    height: 65px;
    color: white;
    outline: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
}
.gray-button:hover {
    background-color: #c5c5c5;
}
.green-button:hover {
    background-color: #657C19;
}
.button_modal {
    width: 100%;
    border-radius: 15px;
    height: 55px;
    margin-top: 17px;
}
.form-group.city {
    padding-bottom: 40px;
    border-bottom: 1px solid #CAD5E0;
}

.test-block__header_mobile {
    display: none;
}
.test-form > .form-group > .radio2 {
    display: none;
}

.test-block_sferatitle {
    font-size: 20px;
    font-weight: 500;
    color: #424F4B;
    line-height: 1.5em;
}
.test-block_sferasubtitle {
    font-size: 14px;
    color: #424F4B;
    margin-bottom: 2em;
}
.test-block_sfera-aswerblock {
    display: flex;
    flex-flow: column;
    gap: 3px;
}
.group-sferas {
    gap: 25px;
}
.group-sferas-answer-block {
    border-bottom: 2px solid #CAD5E0;
    padding-bottom: 22px;
}

@media (max-width: 767px) {
    #socgid_test_register_newaccblock > .form-group:nth-child(1) {
        margin: 0 auto 18px auto;
    }
    #socgid_test_register_newaccblock > .form-group:nth-child(2) {
        margin: 0 auto 18px auto;
    }
    #socgid_test_register_enteraccblock > .form-group:nth-child(1) {
        margin: 0 auto 18px auto;
    }
    .socgid-sicualauth{
        justify-content: center;
    }
    .test-block {
        width: 100%;
        margin: 0 auto;
        border-radius: 0;
        padding: 23px 15px 60px;
        cursor: default;
    }
    .test-block__header_mobile {
        display: block;
        font-size: 16px;
        font-weight: 700;
        line-height: 100%;
    }
    .test-block > .modal-exit_arrow {
        top: 25px;
    }
    .test-block-header {
        margin-bottom: 20px;
        gap: 8px;
    }
    .radio3 {
        display: none;
    }
    .test-block-logo {
        /*display: none;*/
    }
    .test-block-header-text {
        font-size: 14px;
        max-width: 72%;
    }
    .test-form {
        display: flex;
        flex-direction: column;
    }
    .radio4 {
        margin-bottom: 0;    
    } 
    .test-form > .form-group:nth-child(1) {
        margin-bottom: 37px;
    }
    .test-form > .form-group > .radio2 {
        display: flex;
    }
    .test-form > .form-group {
        margin-bottom: 23px;
    }
    .form-group.city {
        padding-bottom: 27px;
    }
    .modal-input {
        margin: 0;
    }
    .modal-checkbox_big > .modal-input {
        width: 27px;
        height: 27px;
    }
    .modal-checkbox_big > .socgid-ovz-checkbox {
        display: none;
    }
    .modal-checkbox_big > .modal-label_checkbox {
        font-size: 16px;
        display: flex;
        justify-content: space-between;
        width: 100%;
        line-height: 1.5em;
        max-width: unset;
    }
    .modal-checkbox_big > .modal-label_checkbox.socgid-ovz-label {
        margin: 0;
    }
    
    .selected-block {
        padding-bottom: 0;
        margin-bottom: 20px;
    }
    #form-multiple {
        margin-bottom: 0;
    }
    .modal-input_big {
        min-height: 80px;
        max-height: 200px;
        margin-bottom: 30px;
    }
    .form-group_radio1, .form-group_radio2 {
        width: 100%;
        height: 100%;
        margin: 0;
        text-align: center;
    }
    .hidden-problems {
        margin: 0;
    }
    .button_modal {
        margin: 0 0 17px;
    }
    #for-disable {
        display: none;
    }
    #for-disable_label {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
        align-items: center;
    }
    .ios-switch-container {
        width: 40px;
        height: 24px;
        background-color: #DCDBD9;
        border-radius: 12px;
        padding: 2px;
        display: flex;
        justify-content: start;
        transition: all 0.5s;
        flex-shrink: 0;
        margin-left: 20px;
        pointer-events: none; 
    }
    .ios-switch-round {
        width: 20px;
        height: 20px;
        background-color: #fff;
        border-radius: 50%;
        box-shadow: inset 0 1px 2.6px -1px rgba(0, 0, 0, 0.25);
    }
    .ios-switch-container.selected {
        background-color: #7B9329;
        justify-content: end;
    }
    .select_1 {
        display: block;
    }
}
@media (max-width: 480px) {
    .test-block {
        width: 100%;
        margin: 0 auto;
        border-radius: 0;
        padding: 23px 15px 60px;
        cursor: default;
    }
    .test-block__header_mobile {
        display: block;
        font-size: 16px;
        font-weight: 700;
        line-height: 100%;
    }
    .test-block > .modal-exit_arrow {
        top: 25px;
    }
    .test-block-header {
        margin-bottom: 16px;
    }
    .radio3 {
        display: none;
    }
    .test-block-logo {
        /*display: none;*/
    }
    .test-block-header-text {
        font-size: 14px;
        max-width: 95%;
    }
    .test-form {
        display: flex;
        flex-direction: column;
    }
    .radio4 {
        margin-bottom: 0;    
    } 
    .test-form > .form-group:nth-child(1) {
        margin-bottom: 28px;
    }
    .test-form > .form-group > .radio2 {
        display: flex;
    }
    .test-form > .form-group {
        margin-bottom: 23px;
    }
    .form-group.city {
        padding-bottom: 27px;
    }
    .modal-input {
        margin: 0;
    }
    .modal-checkbox_big > .modal-input {
        width: 18px;
        height: 18px;
    }
    .modal-checkbox_big > .modal-label_checkbox {
        font-size: 14px;
    }
    .selected-block {
        padding-bottom: 0;
        margin-bottom: 20px;
    }
    #form-multiple {
        margin-bottom: 0;
    }
    .modal-input_big {
        min-height: 80px;
        max-height: 200px;
        margin-bottom: 30px;
    }
    .form-group_radio1, .form-group_radio2 {
        width: 100%;
        height: 100%;
        margin: 0;
        text-align: center;
    }
    .hidden-problems {
        margin: 0;
    }
    .button_modal {
        margin: 0 0 17px;
    }
    #for-disable {
        display: none;
    }
    #for-disable_label {
        display: flex;
        flex-wrap: nowrap;
        max-width: 100%;
        align-items: center;
    }
    .ios-switch-container {
        width: 40px;
        height: 24px;
        background-color: #DCDBD9;
        border-radius: 12px;
        padding: 2px;
        display: flex;
        justify-content: start;
        transition: all 0.5s;
        flex-shrink: 0;
        margin-left: 20px;
        pointer-events: none; 
    }
    .ios-switch-round {
        width: 20px;
        height: 20px;
        background-color: #fff;
        border-radius: 50%;
        box-shadow: inset 0 1px 2.6px -1px rgba(0, 0, 0, 0.25);
    }
    .ios-switch-container.selected {
        background-color: #7B9329;
        justify-content: end;
    }
    .select_1 {
        display: block;
    }
}