.modal-form{
    position: fixed;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    z-index: 9;
    border-radius: 6px;
    background: #eaecee;
    box-shadow: 0 0 20px 0 #313131;
    width: 400px;
    display: none;
    transition: opacity .24s ease, transform .24s cubic-bezier(.2, .8, .2, 1), box-shadow .24s ease;
    will-change: opacity, transform;
}
.modal-form.modal-form--animated{
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, calc(-50% + 14px)) scale(.97);
}
.modal-form.modal-form--animated.modal-form--visible{
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%,-50%) scale(1);
    box-shadow: 0 22px 70px rgba(18, 20, 25, .28);
}
.wrapper-modal-form{
    padding: 40px;
}
.bi-x-form{
    position: absolute;
    top: 12px;
    right: 12px;
    cursor:pointer;
}
.autorization-button {
    width: 100%;
    height: 52px;
    background: #FFDB4D !important;
    border: none !important;
    border-radius: 4px;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    color: #121419;
    transition: .2s;
}

.autorization-button:hover {
    color: white;
}
.wrapper-default-input label span{
    color:#E31D23;
}
.alert-success{
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 500px;
    height: 52px;
    position: fixed;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
    transition: .2s;
}
.alert-success p{
    margin-bottom: 0;
}
.close{
    display: none;
}
.registration-form{
    top: 0;
    left: 0;
    transform: none;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    overflow-y: auto;
}
.registration-form.modal-form--animated{
    transform: translateY(18px) scale(.985);
}
.registration-form.modal-form--animated.modal-form--visible{
    transform: none;
}
.registration-form .wrapper-modal-form{
    width: min(920px, calc(100vw - 32px));
    min-height: 100vh;
    margin: 0 auto;
}

/* The consignee card contains the same legal-entity details as registration.
   Give it comparable working space without turning the account flow into a
   full-page form. */
.consignee-registration-form {
    width: min(920px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow-y: auto;
}
.consignee-registration-form .wrapper-modal-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    padding: 40px;
}
.consignee-registration-form .consignee-registration-form__title,
.consignee-registration-form .consignee-registration-form__field--wide,
.consignee-registration-form .consignee-registration-button {
    grid-column: 1 / -1;
}

@media (prefers-reduced-motion: reduce) {
    .modal-form {
        transition: none;
    }
}

@media (min-width: 768px) {
    .default-form,
    .product-order-form,
    .login-form,
    .restore-password-form {
        width: 480px;
    }

    .registration-form .wrapper-modal-form {
        width: min(1040px, calc(100vw - 48px));
    }
}

@media (max-width: 576px) {
    .consignee-registration-form {
        width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
    }

    .consignee-registration-form .wrapper-modal-form {
        grid-template-columns: 1fr;
        padding: 28px 20px;
    }
}
.entry-form{
    display: flex;
    justify-content: center;
    margin-top: 21px;

}
.entry-form a{
    color: #212529;
    border-bottom: 1px solid #212529;
    line-height: 22px;
}
.wrapper-form-checkbox{
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}
.personal-data-agreement-label{
    font-size: 12px;
}
.already-auth{
    color:green;
}

.order-success-message {
    width: min(460px, calc(100vw - 32px));
    background: #ffffff;
    box-shadow: 0 18px 60px rgba(18, 20, 25, 0.24);
}

.order-success-message__content {
    padding: 36px 32px 32px;
    text-align: center;
}

.order-success-message__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #EAF8EF;
    color: #24A85A;
}

.order-success-message h4 {
    margin: 0 0 12px;
    color: #121419;
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
}

.order-success-message p {
    margin: 0 0 26px;
    color: #626873;
    font-size: 15px;
    line-height: 22px;
}

.order-success-message__button {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 4px;
    background: #FFDB4D;
    color: #121419;
    font-size: 17px;
    font-weight: 500;
    line-height: 22px;
    transition: .2s;
}

.order-success-message__button:hover {
    color: #ffffff;
}
