/* =========================================================
   SUPER FARMERS - LOST PASSWORD SHORTCODE
   Standalone, scoped and independent from previous work.
   ========================================================= */

.sf-lost-component,
.sf-lost-component * {
    box-sizing: border-box;
}

.sf-lost-component {
    --sf-lost-green: #0f6a34;
    --sf-lost-green-dark: #0a5428;
    --sf-lost-green-soft: #eff8f1;
    --sf-lost-text: #111815;
    --sf-lost-muted: #5f6962;
    --sf-lost-border: #dbe4de;
    --sf-lost-error: #a52323;
    width: 100%;
    font-family: "Tajawal", Arial, sans-serif;
}

.sf-lost-shell {
    width: min(100%, 480px);
    margin: 0 auto;
    padding: 34px 32px 28px;
    background: #fff;
    border: 1px solid #e8eee9;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(23, 55, 35, .07);
    color: var(--sf-lost-text);
}

.sf-lost-top-icon {
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #e3f5e8;
    color: #096231;
}

.sf-lost-top-icon svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.sf-lost-title {
    margin: 0 !important;
    color: #101713 !important;
    font-size: 31px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    text-align: center;
}

.sf-lost-subtitle {
    max-width: 390px;
    margin: 9px auto 28px !important;
    color: #525c55 !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
    text-align: center;
}

.sf-lost-notice {
    margin: 0 0 17px;
    padding: 12px 13px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.65;
}

.sf-lost-notice.is-success {
    background: #edf8f0;
    border: 1px solid #cfe8d5;
    color: #176c37;
}

.sf-lost-notice.is-error {
    background: #fff1f1;
    border: 1px solid #f3cece;
    color: var(--sf-lost-error);
}

.sf-lost-form {
    margin: 0;
}

.sf-lost-field {
    margin-bottom: 20px;
}

.sf-lost-field > label {
    display: block;
    margin: 0 0 8px;
    color: #1a201c;
    font-size: 14px;
    font-weight: 800;
}

.sf-lost-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.sf-lost-input-wrap input {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 45px 0 14px !important;
    border: 1px solid var(--sf-lost-border) !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: #1c221e !important;
    font-family: inherit !important;
    font-size: 13px !important;
    line-height: 50px !important;
    outline: 0 !important;
    box-shadow: none !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.sf-lost-input-wrap input::placeholder {
    color: #9aa39d !important;
    opacity: 1;
}

.sf-lost-input-wrap input:focus {
    border-color: #73a680 !important;
    box-shadow: 0 0 0 3px rgba(15, 106, 52, .08) !important;
}

.sf-lost-input-icon {
    position: absolute;
    right: 14px;
    z-index: 2;
    width: 19px;
    height: 19px;
    color: #748178;
    pointer-events: none;
}

.sf-lost-input-icon svg,
.sf-lost-send-icon svg,
.sf-lost-security-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.sf-lost-primary {
    width: 100%;
    min-height: 52px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 !important;
    padding: 11px 18px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: linear-gradient(90deg, #0b5c2d, #0f773a) !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-align: center;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

.sf-lost-primary:hover {
    background: linear-gradient(90deg, #094d26, #0b662f) !important;
    color: #fff !important;
}

.sf-lost-send-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.sf-lost-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 26px 0 19px;
    color: #626c65;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.sf-lost-divider::before,
.sf-lost-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e4e9e5;
}

.sf-lost-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0;
    color: #145e30 !important;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none !important;
}

.sf-lost-back:hover {
    color: #0a4a24 !important;
}

.sf-lost-security {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-top: 30px;
    padding: 18px 18px;
    border-radius: 10px;
    background: linear-gradient(90deg, #f4f9f5, #eef7f0);
}

.sf-lost-security-icon {
    width: 34px;
    height: 34px;
    color: var(--sf-lost-green);
}

.sf-lost-security strong {
    display: block;
    margin: 0 0 4px;
    color: #176235;
    font-size: 15px;
    font-weight: 900;
}

.sf-lost-security p {
    margin: 0 !important;
    color: #657068 !important;
    font-size: 12px !important;
    line-height: 1.85 !important;
}

.sf-lost-account-link {
    margin-top: 18px !important;
}

@media (max-width: 600px) {
    .sf-lost-shell {
        padding: 28px 18px 22px;
        border-radius: 15px;
    }

    .sf-lost-top-icon {
        width: 72px;
        height: 72px;
    }

    .sf-lost-title {
        font-size: 27px !important;
    }

    .sf-lost-subtitle {
        margin-bottom: 24px !important;
        font-size: 14px !important;
    }

    .sf-lost-security {
        grid-template-columns: 36px minmax(0, 1fr);
        padding: 15px;
    }

    .sf-lost-security-icon {
        width: 30px;
        height: 30px;
    }
}
