/* =========================================================
   LA MATANCERA MARKET
   RESET PASSWORD - CLEAN FINAL
========================================================= */

/* Base */
body.woocommerce-account .site,
body.woocommerce-account .site-content,
body.woocommerce-account .content-area,
body.woocommerce-account .site-main,
body.woocommerce-account .entry-content {
    background: transparent;
}

body.woocommerce-account .site-content,
body.woocommerce-account .ast-container,
body.woocommerce-account .content-area,
body.woocommerce-account .entry-content,
body.woocommerce-account .woocommerce {
    width: 100%;
}

body.woocommerce-account .entry-content > .woocommerce,
body.woocommerce-account .woocommerce {
    display: flex;
    justify-content: center;
}

body.woocommerce-account .ast-container {
    display: block !important;
    max-width: 100% !important;
}

body.woocommerce-account #primary,
body.woocommerce-account .content-area {
    float: none !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* Layout */
body.woocommerce-account .entry-content > .lmm-reset-password-wrap,
body.woocommerce-account .woocommerce .lmm-reset-password-wrap,
body.woocommerce-account .lmm-reset-password-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    max-width: 1280px !important;
    min-height: calc(100vh - 160px);
    margin: 0 auto !important;
    padding: 50px 20px;
    isolation: isolate;
}

body.woocommerce-account .lmm-reset-password-wrap::before,
body.woocommerce-account .lmm-reset-password-wrap::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(18px);
    z-index: -1;
    opacity: 0.9;
}

body.woocommerce-account .lmm-reset-password-wrap::before {
    width: 320px;
    height: 320px;
    top: 45px;
    left: max(20px, 8%);
    background: radial-gradient(circle at center, rgba(195, 140, 48, 0.16) 0%, rgba(195, 140, 48, 0) 68%);
}

body.woocommerce-account .lmm-reset-password-wrap::after {
    width: 360px;
    height: 360px;
    right: max(20px, 7%);
    bottom: 18px;
    background: radial-gradient(circle at center, rgba(15, 118, 110, 0.14) 0%, rgba(15, 118, 110, 0) 70%);
}

/* Card */
body.woocommerce-account .lmm-reset-password-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.96) 100%);
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-radius: 26px;
    padding: 42px 38px 36px;
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.10), 0 8px 24px rgba(17, 24, 39, 0.05);
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.woocommerce-account .lmm-reset-password-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #c38c30 0%, #d8a64f 35%, #0f766e 100%);
}

body.woocommerce-account .lmm-reset-password-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 82px rgba(17, 24, 39, 0.14), 0 10px 28px rgba(17, 24, 39, 0.07);
}

/* Header */
body.woocommerce-account .lmm-reset-password-header {
    text-align: center;
    margin-bottom: 28px;
}

body.woocommerce-account .lmm-reset-password-header h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 2.6vw, 3rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0f172a;
}

body.woocommerce-account .lmm-reset-password-header p {
    margin: 0 auto;
    max-width: 420px;
    font-size: 17px;
    line-height: 1.65;
    color: #667085;
}

/* Form */
body.woocommerce-account .woocommerce-ResetPassword.lmm-reset-password-form,
body.woocommerce-account .lmm-reset-password-form {
    width: 100%;
    margin: 0 auto;
}

body.woocommerce-account .lmm-reset-password-form .lmm-form-row {
    width: 100%;
    margin-bottom: 18px;
}

body.woocommerce-account .lmm-reset-password-form label {
    display: block;
    margin-bottom: 9px;
    font-size: 15px;
    font-weight: 700;
    color: #22314d;
}

body.woocommerce-account .lmm-reset-password-form .required {
    color: #dc2626;
}

body.woocommerce-account .lmm-reset-password-form .password-input,
body.woocommerce-account .lmm-reset-password-form .password-input input,
body.woocommerce-account .lmm-reset-password-form input.input-text {
    width: 100% !important;
    display: block;
}

body.woocommerce-account .lmm-reset-password-form .password-input {
    position: relative !important;
}

body.woocommerce-account .lmm-reset-password-form input.input-text {
    min-height: 58px;
    padding: 0 56px 0 16px;
    border: 1px solid #d4dae3;
    border-radius: 16px;
    background: #fff;
    font-size: 16px;
    color: #111827;
    box-shadow: inset 0 1px 2px rgba(17, 24, 39, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}

body.woocommerce-account .lmm-reset-password-form input.input-text::placeholder {
    color: #98a2b3;
}

body.woocommerce-account .lmm-reset-password-form input.input-text:focus {
    border-color: #0f766e;
    outline: none;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
    transform: translateY(-1px);
}

/* Hide native browser reveal buttons */
body.woocommerce-account .lmm-reset-password-form input[type="password"]::-ms-reveal,
body.woocommerce-account .lmm-reset-password-form input[type="password"]::-ms-clear {
    display: none !important;
}

body.woocommerce-account .lmm-reset-password-form input[type="password"]::-webkit-credentials-auto-fill-button,
body.woocommerce-account .lmm-reset-password-form input[type="password"]::-webkit-textfield-decoration-container {
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Single Woo toggle only */
body.woocommerce-account .lmm-reset-password-form .show-password-input {
    position: absolute !important;
    top: 50% !important;
    right: 16px !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 30 !important;
    color: #6b7280 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    line-height: 1 !important;
}

body.woocommerce-account .lmm-reset-password-form .show-password-input::before {
    content: none !important;
    display: none !important;
}

body.woocommerce-account .lmm-reset-password-form .show-password-input::after {
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

/* If any second toggle is injected, hide it */
body.woocommerce-account .lmm-reset-password-form .password-input .show-password-input:not(:first-of-type) {
    display: none !important;
}

/* Strength meter */
body.woocommerce-account .lmm-reset-password-form .woocommerce-password-strength {
    margin-top: 10px;
    border: 0 !important;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    box-shadow: none;
}

body.woocommerce-account .lmm-reset-password-form .woocommerce-password-strength.short,
body.woocommerce-account .lmm-reset-password-form .woocommerce-password-strength.bad {
    background: #fde2e1;
    color: #a63b33;
}

body.woocommerce-account .lmm-reset-password-form .woocommerce-password-strength.good {
    background: #f2d98f;
    color: #5f6570;
}

body.woocommerce-account .lmm-reset-password-form .woocommerce-password-strength.strong {
    background: #dff3e5;
    color: #2e7d4f;
}

/* Button */
body.woocommerce-account .lmm-submit-row {
    margin-top: 18px;
    margin-bottom: 0;
}

body.woocommerce-account .lmm-reset-password-btn,
body.woocommerce-account .lmm-reset-password-form button.button,
body.woocommerce-account .lmm-reset-password-form button[type="submit"] {
    position: relative;
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f172a 0%, #0b1b3d 55%, #0f766e 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
    padding: 16px 22px;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body.woocommerce-account .lmm-reset-password-btn:hover,
body.woocommerce-account .lmm-reset-password-form button.button:hover,
body.woocommerce-account .lmm-reset-password-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #111827 0%, #12325b 55%, #128275 100%);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.26);
    filter: saturate(1.05);
}

body.woocommerce-account .lmm-reset-password-btn:active,
body.woocommerce-account .lmm-reset-password-form button.button:active,
body.woocommerce-account .lmm-reset-password-form button[type="submit"]:active {
    transform: translateY(0);
}

/* Notices */
body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-message {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
}

/* Responsive */
@media (max-width: 991px) {
    body.woocommerce-account .lmm-reset-password-wrap {
        min-height: auto;
        padding: 42px 18px 56px;
    }

    body.woocommerce-account .lmm-reset-password-wrap::before {
        width: 240px;
        height: 240px;
        top: 20px;
        left: 0;
    }

    body.woocommerce-account .lmm-reset-password-wrap::after {
        width: 260px;
        height: 260px;
        right: 0;
        bottom: 0;
    }
}

@media (max-width: 767px) {
    body.woocommerce-account .lmm-reset-password-wrap {
        padding: 28px 14px 38px;
    }

    body.woocommerce-account .lmm-reset-password-card {
        max-width: 100%;
        padding: 28px 18px 24px;
        border-radius: 20px;
        box-shadow: 0 20px 48px rgba(17, 24, 39, 0.10), 0 6px 18px rgba(17, 24, 39, 0.05);
    }

    body.woocommerce-account .lmm-reset-password-header {
        margin-bottom: 22px;
    }

    body.woocommerce-account .lmm-reset-password-header h2 {
        font-size: 38px;
    }

    body.woocommerce-account .lmm-reset-password-header p {
        font-size: 15px;
    }

    body.woocommerce-account .lmm-reset-password-form label {
        font-size: 14px;
    }

    body.woocommerce-account .lmm-reset-password-form input.input-text {
        min-height: 54px;
        border-radius: 14px;
        font-size: 15px;
    }

    body.woocommerce-account .lmm-reset-password-btn,
    body.woocommerce-account .lmm-reset-password-form button.button,
    body.woocommerce-account .lmm-reset-password-form button[type="submit"] {
        min-height: 54px;
        font-size: 15px;
    }
}
