/* woocommerce login or signin */
/* delet global box-shadow */
#my-account .woocommerce:has(#customer_login) {
    position: relative;
    width: 100%;
    min-height: calc(443.95px + 2em + 40px);
    box-shadow: none;
}

#my-account .woocommerce:has(#customer_login) .u-column1.col-1, #my-account .woocommerce:has(#customer_login) .u-column2.col-2{
    float: none;
    position: absolute;
    width: 50%;
    left: calc(50% / 2);
}

/* login/signin form */
#my-account .woocommerce:has(#customer_login) form.woocommerce-form.woocommerce-form-login.login, #my-account .woocommerce:has(#customer_login) form.woocommerce-form.woocommerce-form-register.register {
    padding: 56px;
    border-radius: 16px;
    background-color: #040811;
    box-shadow: 0 0 24px 0 rgba(4, 8, 17, 0.32);
}

#my-account .woocommerce:has(#customer_login) form.woocommerce-form.woocommerce-form-login.login label, #my-account .woocommerce:has(#customer_login) form.woocommerce-form.woocommerce-form-login.login p, #my-account .woocommerce:has(#customer_login) form.woocommerce-form.woocommerce-form-register.register label, #my-account .woocommerce:has(#customer_login) form.woocommerce-form.woocommerce-form-register.register p {
    color: #979797;
}
#my-account .woocommerce:has(#customer_login) form.woocommerce-form.woocommerce-form-login.login input, #my-account .woocommerce:has(#customer_login) form.woocommerce-form.woocommerce-form-register.register input {
    border-radius: 6px;
    border: 1px solid #979797;
    color: #979797;
    background-color: #040811;
}
/* hide password button */
#my-account .woocommerce:has(#customer_login) .woocommerce form .show-password-input::after, #my-account .woocommerce:has(#customer_login) .woocommerce-page form .show-password-input::after {
    color: #979797;
}

/* title and text form */
#my-account .woocommerce:has(#customer_login) h2, #my-account .woocommerce:has(#customer_login) .woocommerce-LostPassword, #my-account .woocommerce:has(#customer_login) .to-register {
    text-align: center;
    margin-bottom: 0;
}

/* submit button */
#my-account .woocommerce:has(#customer_login) button.woocommerce-form-login__submit {
    width: 100%;
    margin-top: 16px !important;
}
#my-account .woocommerce:has(#customer_login) button.woocommerce-form-register__submit {
    width: 100%;
    margin-top: 0px !important;
    margin-bottom: 16px !important;
}

/* link form */
#my-account .woocommerce:has(#customer_login) .woocommerce-LostPassword {
    margin-top: 16px;
    margin-bottom: 0;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 1230px) {
    #my-account .woocommerce:has(#customer_login) {
        position: relative;
        width: 100%;
        min-height: calc(521.64px + 2em + 40px);
        box-shadow: none;
    }
    #my-account .woocommerce:has(#customer_login) .u-column1.col-1, #my-account .woocommerce:has(#customer_login) .u-column2.col-2{
        float: none;
        position: absolute;
        width: 100%;
        left: 0;
    }
}