.callback-modal-form {
    width: 100%;
    color: var(--bnd-black);
    font-family: var(--bnd-font);
}

.callback-modal-form__form {
    display: flex;
    flex-direction: column;
    gap: calc(var(--bnd-base) * 2);
    /* width: 310px; */
    max-width: 100%;
    /* margin: 0 auto; */
    padding: 20px;
}

.callback-modal-form__copy {
    display: flex;
    flex-direction: column;
    gap: var(--bnd-base);
    width: 100%;
}

.callback-modal-form__title {
    width: min-content;
    min-width: 100%;
    margin: 0;
    color: var(--bnd-black);
    font-size: 44px;
    font-weight: 400;
    line-height: 48px;
    text-transform: uppercase;
}

.callback-modal-form__text {
    width: 217px;
    max-width: 100%;
    color: var(--bnd-black);
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
}

.callback-modal-form__fields,
.callback-modal-form__footer {
    display: flex;
    flex-direction: column;
    gap: var(--bnd-base);
    width: 100%;
}

.callback-modal-form__input {
    width: 100%;
    height: 40px;
    padding: 0 24px;
    border: 1px solid #d9d9d9;
    border-radius: 40px;
    background: var(--bnd-white);
    color: var(--bnd-black);
    font: 500 15px/normal var(--bnd-font);
    text-transform: uppercase;
}

.callback-modal-form__input::placeholder {
    color: rgb(0 0 0 / 50%);
    opacity: 1;
}

.callback-modal-form__agree {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 51px;
    color: var(--bnd-muted);
    cursor: pointer;
}

.callback-modal-form__checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.callback-modal-form__checkbox-view {
    position: relative;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border: 1px solid var(--bnd-black);
    border-radius: 30px;
}

.callback-modal-form__checkbox:checked + .callback-modal-form__checkbox-view {
    background: var(--bnd-orange);
    border-color: var(--bnd-orange);
}

.callback-modal-form__checkbox:checked + .callback-modal-form__checkbox-view::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7' viewBox='0 0 9 7' fill='none'%3E%3Cpath d='M0.34082 3.36572L2.48368 5.36572L7.84082 0.365723' stroke='white'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    /* background-size: 65%; */
        left: 2px;
            top: 2px;
}

.callback-modal-form__checkbox:focus-visible + .callback-modal-form__checkbox-view {
    outline: 2px solid var(--bnd-orange);
    outline-offset: 2px;
}

.callback-modal-form__agree-text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
    text-transform: none;
}

.callback-modal-form__agree-text a {
    color: inherit;
    /* text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font; */
}

.callback-modal-form .callback-modal-form__submit {
    gap: 12px;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    padding: 0 24px;
    border-color: var(--bnd-orange);
    background: var(--bnd-orange);
    color: var(--bnd-white);
    font-size: 15px;
}

.callback-modal-form .callback-modal-form__submit-text {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.callback-modal-form .callback-modal-form__submit-icon {
    display: block;
    flex: 0 0 auto;
}

.callback-modal-form .callback-modal-form__submit:hover {
    border-color: #c94300;
    background: #c94300;
}

.callback-modal-form__message {
    min-height: 16px;
    color: var(--bnd-muted);
    font-size: 12px;
    line-height: normal;
}

@media (min-width: 600px) {
    .callback-modal-form__form {
        /* width: 350px; */
        padding: 40px;
    }
}
