.account-auth {
    padding: 50px 0 100px;
    background: var(--gray1);
}

.account-auth__card {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 24px;
    border-radius: 16px;
    background: var(--white1);
}

.account-auth__title {
    margin: 0 0 24px;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.375;
}

.account-auth__title--description {
    margin-bottom: 8px;
}

.account-auth .woocommerce form.account-auth__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
}

.account-auth .woocommerce form .form-row {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.account-auth .woocommerce form .form-row label {
    display: block;
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 18px;
}

.account-auth .required {
    color: var(--red2);
}

.account-auth .woocommerce form .form-row .input-text {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 45px;
    min-height: 45px;
    padding: 10px 16px;
    border: 1px solid var(--gray4);
    border-radius: 8px;
    background-color: var(--white1);
    color: var(--black1);
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 23px;
}

.account-auth .woocommerce form .form-row .input-text:focus {
    border-color: var(--green1);
    outline: none;
    box-shadow: none;
}

.account-auth .password-input {
    position: relative;
    display: block;
    width: 100%;
}

.account-auth .woocommerce form .password-input .input-text {
    padding-right: 48px;
}

.account-auth .woocommerce form .show-password-input {
    position: absolute;
    top: 1px;
    right: 5px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 43px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--gray9);
    transform: none;
    cursor: pointer;
}

.account-auth .woocommerce form .show-password-input::before,
.account-auth .woocommerce form .show-password-input.display-password::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    margin: 0;
    background: currentColor;
    -webkit-mask: url('../../icons/eye.svg') center / contain no-repeat;
    mask: url('../../icons/eye.svg') center / contain no-repeat;
}

.account-auth .woocommerce form .show-password-input::after {
    display: none;
}

.account-auth .woocommerce form .show-password-input.display-password {
    color: var(--green1);
}

.account-auth__forgot {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.account-auth__forgot a,
.account-auth__consent a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.account-auth .woocommerce .account-auth__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    box-sizing: border-box;
    width: 100%;
    min-height: 50px;
    margin: 8px 0 0;
    padding: 12px 24px;
    border: 0;
    border-radius: 9999px;
    background: var(--green1);
    color: var(--white1);
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.account-auth .woocommerce .account-auth__submit:hover:not(:disabled) {
    background: var(--black1);
    color: var(--white1);
}

.account-auth .woocommerce .account-auth__submit:disabled {
    padding: 12px 24px;
    opacity: 0.6;
    cursor: default;
}

.account-auth__switch {
    margin: 24px 0 0;
    text-align: center;
    font-size: 16px;
}

.account-auth__switch a {
    margin-left: 4px;
    color: var(--green1);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.account-auth a:hover {
    color: var(--green1);
}

.account-auth__consent {
    margin: 0;
    font-size: 16px;
}

.account-auth__consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.account-auth__consent input {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 3px 0 0;
    accent-color: var(--green1);
    cursor: pointer;
}

.account-auth__description {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.account-auth .woocommerce .account-auth__return {
    margin-top: 24px;
}

.account-auth .woocommerce-error,
.account-auth .woocommerce-info,
.account-auth .woocommerce-message {
    margin: 0 0 24px;
    padding: 12px 16px;
    border: 0;
    border-radius: 8px;
    background: var(--green2);
    color: var(--green1);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.account-auth .woocommerce-error {
    background: #fff2f2;
    color: var(--red1);
}

.account-auth .woocommerce-error::before,
.account-auth .woocommerce-info::before,
.account-auth .woocommerce-message::before {
    display: none;
}

.account-auth .woocommerce-password-strength,
.account-auth .woocommerce-password-hint {
    margin: 8px 0 0;
    font-size: 13px;
}

.account-auth a:focus-visible,
.account-auth button:focus-visible,
.account-auth input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--green1);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .account-auth {
        padding: 24px 0 40px;
    }

    .account-auth__card {
        padding: 16px 16px 24px;
    }

    .account-auth__title {
        font-size: 24px;
    }

    .account-auth .woocommerce .account-auth__submit {
        min-height: 45px;
        padding: 10px 20px;
        font-size: 14px;
    }

    .account-auth__switch,
    .account-auth__consent {
        font-size: 14px;
    }
}
