.modal {
    display: none;
    position: fixed;
    z-index: 50;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
    overflow-y: auto;
    padding: 6px;
}

.modal__main {
    max-width: 790px;
    width: 100%;
    margin: auto;
    background: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    cursor: default;
    overflow: hidden;
    position: relative;
}

.modal__container {
    display: flex;
}

.modal__container::after {
    content: '';
    flex: 0 0 350px;
    background-image: url('../img/modal-bg-desktop.jpg');
    background-size: cover;
}

.modal__content {
    padding: 30px;
}

.modal__title {
    font-size: 34px;
    margin-bottom: 34px;
}

.modal__subtitle {
    margin-top: 0;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.modal__fieldset {
    margin: 0 0 12px;
    border: 0;
    padding: 0;
    display: flex;
}

.modal__wrapper-input {
    position: relative;
    margin-right: 10px;
    padding-bottom: 20px;
    flex-basis: 50%;
}

.modal__wrapper-input:last-child {
    margin-right: 0;
}

.modal__text {
    font-size: 12px;
    color: #898989;
    margin-bottom: 2px
}

.modal__input {
    width: 100%;
    height: 54px;
    border: 1px solid #E4E4E4;
    border-radius: 12px;
    padding: 0 25px;
}

.modal__close {
    padding: 0;
    border-color: transparent;
    position: absolute;
    top: 10px;
    right: 10px;
    line-height: 0;
}

.modal__input-error {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 12px;
}