/* =========================================================
   FM COLLECTIONS
   AUTH FORGOT PASSWORD
   File: public/css/auth-forgot-password.css
========================================================= */


/* =========================================================
   FORM
========================================================= */

.customer-forgot-form{
    width:100%;
}


/* =========================================================
   FIELD
========================================================= */

.customer-forgot-field{
    margin-bottom:22px;
}

.customer-forgot-label{
    display:block;
    margin-bottom:8px;

    font-size:13px;
    font-weight:700;
    color:#0F172A;
}


/* =========================================================
   INPUT
========================================================= */

.customer-forgot-input-wrapper{
    position:relative;
}

.customer-forgot-input-wrapper>i{
    position:absolute;
    left:16px;
    top:50%;
    transform:translateY(-50%);

    color:#94A3B8;
    font-size:16px;

    pointer-events:none;
}

.customer-forgot-control{
    width:100%;
    height:52px;

    padding:0 18px 0 48px;

    border:1px solid #CBD5E1;
    border-radius:12px;

    background:#FFF;
    color:#0F172A;

    font-size:14px;
    outline:none;

    transition:
        border-color .25s,
        box-shadow .25s,
        background .25s;
}

.customer-forgot-control:hover{
    border-color:#94A3B8;
}

.customer-forgot-control:focus{
    border-color:#2E7D32;

    box-shadow:
        0 0 0 4px rgba(46,125,50,.10);
}

.customer-forgot-control::placeholder{
    color:#94A3B8;
}

.customer-forgot-control.is-invalid{
    border-color:#DC2626;
    background:#FFF8F8;
}


/* =========================================================
   ERROR
========================================================= */

.customer-forgot-field-error{
    display:block;

    margin-top:8px;

    color:#DC2626;

    font-size:12px;
    font-weight:600;
}


/* =========================================================
   SECURITY NOTE
========================================================= */

.customer-forgot-note{
    display:flex;
    gap:14px;
    align-items:flex-start;

    margin-bottom:24px;
    padding:16px 18px;

    border:1px solid #DCFCE7;
    border-radius:14px;

    background:#F0FDF4;
}

.customer-forgot-note span{
    flex-shrink:0;

    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#FFF;
    color:#2E7D32;

    font-size:18px;
}

.customer-forgot-note p{
    margin:0;

    color:#166534;

    font-size:13px;
    line-height:1.8;
}


/* =========================================================
   BUTTON
========================================================= */

.customer-forgot-submit{
    width:100%;
    height:54px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    border:none;
    border-radius:12px;

    background:
        linear-gradient(
            135deg,
            #2E7D32,
            #166534
        );

    color:#FFF;

    font-size:15px;
    font-weight:800;

    cursor:pointer;

    box-shadow:
        0 14px 28px rgba(46,125,50,.20);

    transition:
        transform .20s,
        box-shadow .20s;
}

.customer-forgot-submit:hover{
    transform:translateY(-2px);

    box-shadow:
        0 18px 34px rgba(46,125,50,.26);
}

.customer-forgot-submit:active{
    transform:translateY(0);
}

.customer-forgot-submit:disabled{
    opacity:.70;
    cursor:not-allowed;
}


/* =========================================================
   BACK
========================================================= */

.customer-forgot-back{
    margin-top:26px;

    text-align:center;
}

.customer-forgot-back a{
    display:inline-flex;
    align-items:center;
    gap:8px;

    color:#64748B;

    font-size:14px;
    font-weight:600;
    text-decoration:none;

    transition:
        color .20s,
        transform .20s;
}

.customer-forgot-back a:hover{
    color:#2E7D32;
    transform:translateX(-3px);
}


/* =========================================================
   AUTOFILL
========================================================= */

.customer-forgot-control:-webkit-autofill,
.customer-forgot-control:-webkit-autofill:hover,
.customer-forgot-control:-webkit-autofill:focus{
    -webkit-text-fill-color:#0F172A;

    -webkit-box-shadow:
        0 0 0 1000px #FFF inset;

    box-shadow:
        0 0 0 1000px #FFF inset;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:768px){

    .customer-forgot-note{
        padding:15px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:520px){

    .customer-forgot-label{
        font-size:12px;
    }

    .customer-forgot-control{
        height:50px;

        font-size:13px;
    }

    .customer-forgot-submit{
        height:52px;
        font-size:14px;
    }

    .customer-forgot-note{
        gap:12px;
    }

    .customer-forgot-note span{
        width:38px;
        height:38px;

        font-size:16px;
    }

    .customer-forgot-note p{
        font-size:12px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media(max-width:360px){

    .customer-forgot-submit{
        font-size:13px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media(prefers-reduced-motion:reduce){

    .customer-forgot-form *,
    .customer-forgot-form *::before,
    .customer-forgot-form *::after{

        transition:none!important;
        animation:none!important;

    }

}