body {
    /*font-family: 'Open Sans Condensed', Helvetica, sans-serif;*/
    font-family: Arial, Helvetica, sans-serif;
    background-color: #cccccc;
    padding: 0;
    font-size: 13px;
}

h1 {
    font-family: 'Open Sans Condensed', Helvetica, sans-serif;
    font-size: 2em;
    margin-bottom: 20px;
}
h2 {
    font-family: 'Open Sans Condensed', Helvetica, sans-serif;
}
ul {
    list-style: inside;
    padding: 0;
    word-wrap: break-word;
}
li {
    margin-bottom: 10px;
}
a {
    color: rgba(194, 75, 35, 1);
}
img {
    max-width: 100%;
}
.error {
    background-color: rgb(204, 42, 36);
    color: #ffffff;
    display: none;
    padding: 5px;
}
.error-bg {
    background-color: rgb(251, 234, 234);
}
.red {
    color: rgba(194, 75, 35, 1);
}

input[type="radio"] {
    cursor: pointer;
}

#app-id, #app-secret {
    font-weight: bold;
}

/* loader */
#loader {
    display: none;
    background-color: rgb(255 255 255);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
}

.loader-icon {
    width: 200px;
    margin: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
svg#icon {
    fill: rgb(237 237 237 / 0.9);
    animation: spin 2s linear infinite;
}
.control {
    line-height: 3em;
}

/* endloader */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f4f4f4;
}
.header-step {
    margin-bottom: 30px;
    display: flex;
}
.language-selector select {
    color: rgba(194, 75, 35, 1);
    border: rgba(194, 75, 35, 1) 1px solid;
}
.amount {
    display: flex;
    gap: 5px;
}
.block_right .policy, .block_right .policy_amount {
    padding: 15px;
    box-shadow: 0 0 27px 0px #0000001c;
}
.amount input[type="radio"] {
    margin: 0;
}
.container {
    margin: 0 auto;
    background: white;
    padding: 35px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 740px;
    box-sizing: border-box;
}
span#link-to-storage {
    color: rgba(194, 75, 35, 1);
    cursor: pointer;
}
.alert.alert-danger {
    background-color: #ff000040;
    padding: 15px;
    margin-bottom: 10px;
    text-align: center;
    display: flex;
    font-size: 14px;
    gap: 5px;
}

/* region Steps */
.steps {
    font-size: 12px;
    display: flex;
    justify-content: start;
    margin-bottom: 30px;
    padding-left: 0;
    list-style-type: none;
}

.step.active::before{
    background: #ffffff;
    color: #1a9cff;
    border: #1a9cff 1px solid;
}
.step {
    cursor: pointer;
}
.step span{
    margin-right: 15px;
    margin-left: 2px;
}
.step::before {
    background: #cccccc;
    content: attr(data-step);
    color: #000000;
    padding: 2px 5px;
    border-radius: 50%;
    font-size: 11px;
}
.form-section.active[data-step]::after :not(.final){
    content: attr(data-step);
    text-align: right;
    display: block;
}

/* endregion */


/* region `form-buttons */
.buttons {
    font-family: 'Open Sans Condensed', Helvetica, sans-serif;
    display: flex;
    margin-top: 20px;
}

button {
    padding: 10px 15px;
    font-size: 1em;
    border-radius: 3px;
    cursor: pointer;
    border: 1px rgba(194, 75, 35, 1) solid;
}

button.next, button.send {
    background: rgba(194, 75, 35, 1);
    color: white;
}
button.back {
    background: transparent;
    color: rgba(194, 75, 35, 1);
    border: 1px rgba(194, 75, 35, 1) solid;
    margin-right: 20px;
}

button:hover {
    /*background: #c9302c;*/
}

button.next:disabled,
button.send:disabled {
    background: #ddd;
    color: #999;
    border-color: #ddd;
    cursor: not-allowed;
}
/* endregion */

/* region `form-section */
.form-section {
    display: none;
}
.form-section.active {
    display: block;
}
.row {
    display: flex;
    justify-content: space-between;
}

.block_left {
    font-family: Arial, Helvetica, sans-serif;
    flex: 1;
    padding-right: 20px;
}

.block_right {
    flex: 1;
}

.block_right label {
    font-weight: bold;
    cursor: pointer;
}

.block_right input[type="text"] {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}

.block_right select#typeOfIntegration {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}

.block_right .choices__inner {
    box-sizing: border-box;
    position: relative;
}
.block_right .choices__list--dropdown, .choices__list[aria-expanded] {
    box-sizing: border-box;
}

.block_right .choices__input--cloned {
    padding-left: 30px; /* место для иконки */
    background-image: url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/icons/search.svg'); /* иконка поиска */
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: 8px center;
}

.block_right .choices[data-type*=select-one] .choices__input {
    padding: 10px 10px 10px 30px;
}
/* endregion */

/* region Anketa*/
.anketa-intro > h2 {
    background-color: brown;
    display: inline;
    padding: 0 30px 0 15px;
    color: white;
}

.form-section.step-four {
    font-size: 18px;
}
/* endregion*/

@media screen and (min-width: 320px) and (max-width: 375px) {
    .container {
        padding: 5px;
        width: 100%;
        box-sizing: border-box;
    }
    .steps {
        justify-content: space-between;
        font-size: 10px;
    }
    .step span {
        margin-left: 0;
        margin-right: 2px;
    }
    .row {
        display: block;
    }
    .control {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .control > input[type="radio"] {
        width: 20px;
        height: 20px;
        margin: 0;
    }
}

@media screen and (min-width: 375px) and (max-width: 425px) {
    .container {
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
    }
    .step span {
        margin-right: 8px;
    }
    .row {
        display: block;
    }
    .control {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .control > input[type="radio"] {
        width: 20px;
        height: 20px;
        margin: 0;
    }
}