
/* =========================================
   FORGOT PASSWORD MODAL
========================================= */

.fp-modal{
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.329);

    backdrop-filter: blur(4px);
    

    padding: 20px;

    animation: fpFadeIn 0.25s ease;
}

/* ========================================= */

.fp-modal-box{
    width: 100%;
    max-width: 430px;

    background: #fffaf0;

    border-radius: 10px;

    padding: 24px 24px;

    position: relative;

    box-shadow: 4px 4px 2.5px #fffaf07e;

    border: 1px solid rgba(255,255,255,0.4);

    animation: fpPopup 0.25s ease;
}

/* ========================================= */

.fp-close-top{
    position: absolute;
    top: 16px;
    right: 16px;

    width: 30px;
    height: 30px;

    border: none;
    border-radius: 50%;

    background: #d60633;

    color: #ffffff;

    cursor: pointer;
    box-shadow: 2.5px 2.5px 4.6px rgba(8, 28, 43, 0.445);
    transition: 0.25s ease;
}

.fp-close-top:hover{
    background: #d60633;
    transform: rotate(90deg);
    box-shadow: 2.5px 2.5px 4.6px rgba(8, 28, 43, 0.445);
}

/* ========================================= */

.fp-header{
    text-align: center;
    margin-bottom: 28px;
}

.fp-icon{
    width: 52px;
    height: 52px;

    margin: 0 auto 18px;

    border-radius: 10px;

    background: #081c2b;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 2.5px 2.5px 4.6px rgba(8, 28, 43, 0.445);
}

.fp-icon i{
    color: #fff;
    font-size: 28px;
}

.fp-header h2{
    font-size: 28px;
    font-weight: 700;

    color: #081c2b;

    margin-bottom: 10px;
}

.fp-header p{
    font-size: 16px;
    line-height: 1.6;

    color: #64748b;
}

/* ========================================= */

.fp-step{
    width: 100%;
}

/* ========================================= */

.fp-field{
    margin-bottom: 22px;
}


/* =========================================
   FLOATING INPUT WRAPPER
========================================= */

.fp-input-wrap{
    position: relative;
    margin-top: 24px;
}

/* =========================================
   INPUT STYLE
========================================= */

.fp-input{

    width: 100%;

    padding: 14px 4px;

    border: none;

    background: transparent;

    color: #081c2b;

    font-size: 14px;

    font-weight: 600;

    border-radius: 10px;

    border-bottom: 1px solid #081c2b;
    border-right: 1px solid #081c2b;
    border-left: 1px solid #081c2b;
    border-top: 1px solid #081c2b;
    box-shadow: inset 2.3px 2.3px 3.5px  rgba(8, 28, 43, 0.397);

    transition: all 0.25s ease;

}

/* ========================================= */

.fp-input:focus{

    outline: none;

    

    border-bottom: 1px solid #081c2b;
    border-right: 1px solid #081c2b;
    border-left: 2px solid #081c2b;
    border-top: 2px solid #081c2b;
    box-shadow: inset 3px 3px 6.5px  rgba(8, 28, 43, 0.397);    

}

/* ========================================= */

.fp-input-wrap label{

    position: absolute;

    left: 4px;

    top: 50%;

    transform: translateY(-50%);

    font-size: 15px;

    font-weight: 600;
    margin-left: 4px;
    color: #081c2b;

    transition: all 0.25s ease;

    pointer-events: none;

}

/* ========================================= */

.fp-input:focus + label,

.fp-input:not(:placeholder-shown) + label{

    top: -10px;

    font-size: 12px;
    font-weight: 600;

    color: #081c2b;

}
/* ========================================= */

/* .toggle-password{
    position: absolute;

    right: 16px;
    top: 50%;

    transform: translateY(-50%);

    cursor: pointer;

    color: #64748b;

    transition: 0.25s ease;
} */

.toggle-password{

    position: absolute;

    right: 0;

    top: 50%;

    transform: translateY(-50%);

    cursor: pointer;

    color: #64748b;

    transition: 0.25s ease;

}

.toggle-password:hover{
    color: #2563eb;
}

/* ========================================= */

.fp-btn-group{
    display: flex;
    gap: 30px;

    margin-top: 12px;
}

/* ========================================= */

.fp-btn{
    flex: 1;

    height: 40px;

    border: none;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    box-shadow: 2.5px 2.5px 4.6px rgba(8, 28, 43, 0.445);
}

/* ========================================= */

.fp-btn-primary{
    background: #081c2b;
    color: #fff;
}

.fp-btn-primary:hover{
    background: linear-gradient(135deg, #fff, #081c2b);
    border: 2.5px solid #081c2b;
    color: #fbdc94;
    box-shadow: 3px 3px 6.5px rgba(8, 28, 43, 0.445);
}

/* ========================================= */

.fp-btn-secondary{
    background: #e2e8f0;
    color: #334155;
}

.fp-btn-secondary:hover{
    background: #cbd5e1;
    box-shadow: 3px 3px 6.5px rgba(8, 28, 43, 0.445);
}

/* ========================================= */

.fp-btn-success{
    background: #15803d;
    color: #fff;
    box-shadow: 2.5px 2.5px 4.6px rgba(8, 28, 43, 0.445);
}

.fp-btn-success:hover{
    background: linear-gradient(135deg, #fff, #15803d);
    color: #0e642e;
    border: 2.5px solid #15803d;
    box-shadow: 3px 3px 6.5px rgba(8, 28, 43, 0.445);
}

/* ========================================= */

.fp-btn-warning{
    background:  #eab308;
    color: #111827;
    box-shadow: 2.5px 2.5px 4.6px rgba(8, 28, 43, 0.445);
}

.fp-btn-warning:hover{
    background: linear-gradient(135deg, #fff, #eab308);
    color: #b68b09;
    border: 2.5px solid #eab308;
    box-shadow: 3px 3px 6.5px rgba(8, 28, 43, 0.445);
}

/* ========================================= */

.fp-message{
    margin-top: 22px;

    text-align: center;

    font-size: 14px;
    font-weight: 500;

    color: #dc2626;

    min-height: 22px;
}

/* ========================================= */

@keyframes fpFadeIn{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

@keyframes fpPopup{
    from{
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to{
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================
   MOBILE
========================================= */

@media(max-width: 520px){

    .fp-modal-box{
        padding: 28px 22px;
        border-radius: 20px;
    }

    .fp-btn-group{
        flex-direction: column;
    }

    .fp-header h2{
        font-size: 24px;
    }

}