.form-popup-content {
    width: 900px;
}

.wd-popup-content {
    display: grid;
    grid-template-columns: 3fr 5fr;
    gap: 20px;
}

.wd-popup .auth-login,
.wd-popup .auth-register {
    width: 100%;
}

.wd-popup .auth-register {
    border-left: 1px solid #e5e5e5;
    padding-left: 24px;
}

@media (max-width: 800px) {
    .wd-popup-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .wd-popup .auth-register {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #e5e5e5;
        padding-top: 24px;
    }
}


.header-popup-login {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 32px;
}

.header-popup-login h2 {
    margin-bottom: 12px;
}

.header-popup-login p {
    margin: 0;
}




.notices-hidden {
    display: none;
}

.file_input_help {
    font-size: 12px;
    padding: 0 12px;
}

.ajax-button.loading:after {
    opacity: 1;
    --wd-anim-state: running;
}

.ajax-button:after {
    position: absolute;
    top: calc(50% - 9px);
    inset-inline-start: calc(50% - 9px);
    opacity: 0;
    transition: opacity .2s ease;
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(0, 0, 0, 0);
    border-left-color: currentColor;
    border-radius: 50%;
    vertical-align: middle;
    animation: wd-rotate 450ms infinite linear var(--wd-anim-state, paused);
}

.ajax-button.loading span {
    opacity: 0;
}

.ajax-button.loading {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

.woocommerce-invalid input {
    border-color: #CA1919 !important;
}

.woocommerce-invalid input[type="file"] {
    border-color: red !important;
}

.woocommerce-invalid [type=checkbox] {
    outline: 2px solid red;
    outline-offset: 2px;
}

.content-popup-register {
    position: relative;
}
.close-popup-register {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 18px;
    line-height: 1;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

/* hover эффект */
.close-popup-register:hover {
    background: #f5f5f5;
    border-color: #bbb;
}