/* Tagnimal storefront password reset — intentionally scoped to this endpoint. */
body.woocommerce-lost-password {
    --tagnimal-reset-ink: #23232d;
    --tagnimal-reset-muted: #8a8c96;
    --tagnimal-reset-line: #e1e3e8;
    --tagnimal-reset-success: #238b62;
    --tagnimal-reset-success-soft: #e9f8f1;
    --tagnimal-reset-surface: #ffffff;
}

body.woocommerce-lost-password .site-content {
    background: var(--tagnimal-reset-surface);
    padding-bottom: 24px !important;
}

body.woocommerce-lost-password .site-content-container.container {
    width: 100%;
    max-width: none;
    padding: 24px 24px 32px;
}

body.woocommerce-lost-password #primary,
body.woocommerce-lost-password #main,
body.woocommerce-lost-password article,
body.woocommerce-lost-password .entry-content,
body.woocommerce-lost-password .wpb-content-wrapper,
body.woocommerce-lost-password .vc_row,
body.woocommerce-lost-password .vc_column_container,
body.woocommerce-lost-password .vc_column-inner,
body.woocommerce-lost-password .wpb_wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body.woocommerce-lost-password article {
    border: 0;
    border-radius: 0;
    background: var(--tagnimal-reset-surface);
    box-shadow: none;
}

body.woocommerce-lost-password article > .entry-header {
    display: none;
}

body.woocommerce-lost-password article .woocommerce {
    width: min(100%, 400px);
    margin-inline: auto;
    padding: 0;
}

body.woocommerce-lost-password .woocommerce-ResetPassword {
    width: 100%;
    max-width: none;
    margin: 0;
    color: var(--tagnimal-reset-ink);
}

body.woocommerce-lost-password .tagnimal-reset-intro,
body.woocommerce-lost-password .tagnimal-reset-confirmation-intro {
    max-width: 400px;
    margin: 0 0 36px;
    text-align: center;
}

body.woocommerce-lost-password .tagnimal-reset-key-icon {
    display: inline-grid;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    place-items: center;
    border: 1px solid var(--tagnimal-reset-line);
    border-radius: 50%;
    color: var(--tagnimal-reset-ink);
    background: #f7f7f9;
}

body.woocommerce-lost-password .tagnimal-reset-key-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.woocommerce-lost-password .tagnimal-reset-eyebrow {
    margin: 0 0 8px;
    color: var(--tagnimal-reset-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.3;
    text-transform: uppercase;
}

body.woocommerce-lost-password .tagnimal-reset-intro h1,
body.woocommerce-lost-password .tagnimal-reset-confirmation-intro h1 {
    margin: 0;
    color: var(--tagnimal-reset-ink);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0;
}

body.woocommerce-lost-password .tagnimal-reset-intro h1::after {
    display: block;
    width: 64px;
    height: 3px;
    margin: 8px auto 0;
    border-radius: 999px;
    background: var(--tagnimal-reset-ink);
    content: "";
}

body.woocommerce-lost-password .tagnimal-reset-intro > p:last-child {
    max-width: 400px;
    margin: 6px auto 0;
    color: var(--tagnimal-reset-muted);
    font-size: 16px;
    line-height: 1.5;
}

body.woocommerce-lost-password .woocommerce-ResetPassword > p:first-of-type {
    display: none;
}

body.woocommerce-lost-password .woocommerce-ResetPassword .form-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 40px !important;
    padding: 0 !important;
}

body.woocommerce-lost-password .woocommerce-ResetPassword label {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    order: 0;
    display: block !important;
    width: auto !important;
    margin: 0 0 8px !important;
    transform: none !important;
    color: var(--tagnimal-reset-ink);
    background: transparent !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

body.woocommerce-lost-password .woocommerce-ResetPassword .required {
    color: #d71920;
}

body.woocommerce-lost-password .woocommerce-ResetPassword .digcon,
body.woocommerce-lost-password .woocommerce-ResetPassword .password-input {
    position: relative;
    order: 2;
    display: flex;
    width: 100%;
}

body.woocommerce-lost-password .woocommerce-ResetPassword .form-row > input.input-text {
    order: 1;
}

body.woocommerce-lost-password .woocommerce-ResetPassword input.input-text,
body.woocommerce-lost-password .woocommerce-ResetPassword input[type="text"],
body.woocommerce-lost-password .woocommerce-ResetPassword input[type="password"] {
    box-sizing: border-box;
    width: 100%;
    min-height: 50px;
    padding-top: 12px !important;
    padding-right: 0 !important;
    padding-bottom: 12px !important;
    border: 0 !important;
    border-bottom: 2px solid var(--tagnimal-reset-line) !important;
    border-radius: 0 !important;
    outline: none;
    color: var(--tagnimal-reset-ink);
    background: transparent !important;
    box-shadow: none !important;
    font-size: 18px;
    transition: border-color 160ms ease;
}

body.woocommerce-lost-password .woocommerce-ResetPassword input.input-text:hover,
body.woocommerce-lost-password .woocommerce-ResetPassword input[type="text"]:hover,
body.woocommerce-lost-password .woocommerce-ResetPassword input[type="password"]:hover {
    border-bottom-color: #b9bbc4 !important;
}

body.woocommerce-lost-password .woocommerce-ResetPassword input.input-text:focus,
body.woocommerce-lost-password .woocommerce-ResetPassword input[type="text"]:focus,
body.woocommerce-lost-password .woocommerce-ResetPassword input[type="password"]:focus {
    border-bottom-color: var(--tagnimal-reset-ink) !important;
}

body.woocommerce-lost-password .woocommerce-ResetPassword .show-password-input {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

body.woocommerce-lost-password .woocommerce-ResetPassword button[type="submit"],
body.woocommerce-lost-password .tagnimal-reset-primary-link {
    display: inline-flex;
    width: 100%;
    min-height: 80px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 24px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--tagnimal-reset-ink);
    box-shadow: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
    transition: transform 160ms ease, background-color 160ms ease;
}

body.woocommerce-lost-password .woocommerce-ResetPassword button[type="submit"]:hover,
body.woocommerce-lost-password .tagnimal-reset-primary-link:hover {
    color: #fff;
    background: #08080d;
    transform: translateY(-1px);
}

body.woocommerce-lost-password .woocommerce-ResetPassword button[type="submit"]:focus-visible,
body.woocommerce-lost-password .tagnimal-reset-primary-link:focus-visible {
    outline: 3px solid rgba(35, 35, 45, 0.22);
    outline-offset: 3px;
}

body.woocommerce-lost-password .woocommerce-ResetPassword button[type="submit"]:active,
body.woocommerce-lost-password .tagnimal-reset-primary-link:active {
    transform: translateY(0);
}

body.woocommerce-lost-password .woocommerce-ResetPassword > .form-row:last-of-type {
    margin-bottom: 20px !important;
}

body.woocommerce-lost-password .dig_resendotp {
    margin: -12px 0 28px;
    color: var(--tagnimal-reset-ink);
    font-size: 15px;
    font-weight: 600;
}

body.woocommerce-lost-password .tagnimal-reset-sign-in {
    margin: 0;
    color: var(--tagnimal-reset-muted);
    text-align: center;
    font-size: 15px;
}

body.woocommerce-lost-password .tagnimal-reset-sign-in a {
    margin-left: 0.2rem;
    color: var(--tagnimal-reset-ink);
    font-weight: 600;
    text-decoration: none;
}

body.woocommerce-lost-password .tagnimal-reset-sign-in a:hover,
body.woocommerce-lost-password .tagnimal-reset-sign-in a:focus-visible {
    text-decoration: underline;
}

body.woocommerce-lost-password .woocommerce-error,
body.woocommerce-lost-password .woocommerce-info {
    margin: 0 0 2rem;
    border-radius: 0.75rem;
}

body.woocommerce-lost-password .woocommerce-ResetPassword[aria-busy="true"] {
    opacity: 0.72;
}

body.woocommerce-lost-password .woocommerce-ResetPassword[aria-busy="true"] button[type="submit"] {
    cursor: wait;
}

body.woocommerce-lost-password.tagnimal-reset-link-sent article .woocommerce {
    display: flex;
    flex-direction: column;
}

body.woocommerce-lost-password.tagnimal-reset-link-sent .woocommerce-message {
    display: none;
}

body.woocommerce-lost-password .tagnimal-reset-confirmation-intro {
    margin-bottom: 20px;
}

body.woocommerce-lost-password .tagnimal-reset-success-icon {
    display: inline-grid;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    place-items: center;
    border-radius: 50%;
    color: var(--tagnimal-reset-success);
    background: var(--tagnimal-reset-success-soft);
}

body.woocommerce-lost-password .tagnimal-reset-success-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.woocommerce-lost-password.tagnimal-reset-link-sent article .woocommerce > p {
    max-width: 400px;
    margin: 0 0 32px;
    color: var(--tagnimal-reset-muted);
    font-size: 17px;
    line-height: 1.6;
    text-align: center;
}

body.woocommerce-lost-password .tagnimal-reset-confirmation-actions {
    display: flex;
    align-items: center;
}

@media (max-width: 767px) {
    body.woocommerce-lost-password .woocommerce-page-header {
        display: none;
    }

    body.woocommerce-lost-password .site-content-container.container {
        padding: 16px 20px 28px;
    }

    body.woocommerce-lost-password .site-content {
        padding-bottom: 20px !important;
    }

    body.woocommerce-lost-password article .woocommerce {
        padding: 0;
    }

    body.woocommerce-lost-password .woocommerce-ResetPassword .form-row {
        margin-bottom: 32px !important;
    }

    body.woocommerce-lost-password .tagnimal-reset-intro,
    body.woocommerce-lost-password .tagnimal-reset-confirmation-intro {
        margin-bottom: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.woocommerce-lost-password .woocommerce-ResetPassword input,
    body.woocommerce-lost-password .woocommerce-ResetPassword button[type="submit"],
    body.woocommerce-lost-password .tagnimal-reset-primary-link {
        transition: none;
    }
}
