/* ==========================================================
   SK-TECH
   FILE: forgot-password.css
========================================================== */

/* ==========================================================
   RESET
========================================================== */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Poppins",sans-serif;

    background:#F5F8FC;

    color:#0B1F3A;

    overflow-x:hidden;

}

/* ==========================================================
   FORGOT PASSWORD SECTION
========================================================== */

.forgot-section{

    width:100%;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:20px;

}

/* ==========================================================
   CONTAINER
========================================================== */

.forgot-container{

    width:100%;

    max-width:1200px;

    display:flex;

    background:#FFFFFF;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 20px 50px rgba(0,0,0,.12);

}

/* ==========================================================
   LEFT PANEL
========================================================== */

.forgot-left{

    flex:1;

    background:linear-gradient(135deg,#0B1F3A,#2D6CDF);

    color:#FFFFFF;

    padding:50px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}

/* ==========================================================
   BRAND
========================================================== */

.brand{

    text-align:center;

    margin-bottom:40px;

}

.logo{

    width:110px;

    height:110px;

    object-fit:contain;

    margin:0 auto 18px;

}

.brand h1{

    font-size:38px;

    margin-bottom:8px;

    letter-spacing:2px;

}

.brand p{

    opacity:.9;

    font-size:16px;

}

/* ==========================================================
   INTRO TEXT
========================================================== */

.forgot-text{

    margin-bottom:40px;

}

.forgot-text h2{

    font-size:32px;

    margin-bottom:15px;

}

.forgot-text p{

    line-height:1.8;

    font-size:16px;

}

/* ==========================================================
   SECURITY BOX
========================================================== */

.security-box{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.security-box div{

    display:flex;

    align-items:center;

    gap:15px;

    padding:15px;

    background:rgba(255,255,255,.12);

    border-radius:12px;

}

.security-box i{

    width:45px;

    height:45px;

    border-radius:50%;

    background:#FFFFFF;

    color:#2D6CDF;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:20px;

}

/* ==========================================================
   RIGHT PANEL
========================================================== */

.forgot-right{

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px;

    background:#FFFFFF;

}

.forgot-card{

    width:100%;

    max-width:450px;

}

/* ==========================================================
   CARD HEADER
========================================================== */

.card-header{

    text-align:center;

    margin-bottom:30px;

}

.card-logo{

    width:80px;

    margin:0 auto 15px;

}

.card-header h2{

    font-size:30px;

    margin-bottom:10px;

    color:#0B1F3A;

}

.card-header p{

    color:#6B7280;

    line-height:1.6;

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

.input-group{

    margin-bottom:25px;

}

.input-group label{

    display:block;

    margin-bottom:8px;

    font-size:15px;

    font-weight:600;

    color:#0B1F3A;

}

/* ==========================================================
   INPUT BOX
========================================================== */

.input-box{

    position:relative;

}

.input-box i{

    position:absolute;

    left:18px;

    top:50%;

    transform:translateY(-50%);

    color:#2D6CDF;

    font-size:18px;

}

.input-box input{

    width:100%;

    height:55px;

    padding:0 18px 0 52px;

    border:2px solid #E5E7EB;

    border-radius:12px;

    background:#FFFFFF;

    font-size:15px;

    transition:.3s;

}

.input-box input:focus{

    outline:none;

    border-color:#2D6CDF;

    box-shadow:0 0 0 4px rgba(45,108,223,.15);

}

/* ==========================================================
   SEND BUTTON
========================================================== */

.send-btn{

    width:100%;

    height:56px;

    border:none;

    border-radius:12px;

    background:#2D6CDF;

    color:#FFFFFF;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.send-btn:hover{

    background:#0B1F3A;

    transform:translateY(-2px);

}

.send-btn:active{

    transform:scale(.98);

}

.send-btn i{

    margin-right:10px;

}

/* ==========================================================
   BACK TO LOGIN
========================================================== */

.back-login{

    text-align:center;

    margin:25px 0;

}

.back-login a{

    color:#2D6CDF;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.back-login a:hover{

    color:#0B1F3A;

}

.back-login i{

    margin-right:8px;

}

/* ==========================================================
   SECURITY NOTICE
========================================================== */

.security-note{

    display:flex;

    align-items:flex-start;

    gap:12px;

    padding:18px;

    background:#F4F8FF;

    border-left:4px solid #2D6CDF;

    border-radius:12px;

    margin-top:20px;

}

.security-note i{

    color:#2D6CDF;

    font-size:20px;

    margin-top:2px;

}

.security-note p{

    font-size:14px;

    color:#4B5563;

    line-height:1.7;

}

/* ==========================================================
   FOOTER
========================================================== */

.forgot-footer{

    text-align:center;

    margin-top:30px;

}

.forgot-footer p{

    font-size:13px;

    color:#6B7280;

    line-height:1.8;

}
/* ==========================================================
   LOADING OVERLAY
========================================================== */

.loading-overlay{

    position:fixed;

    inset:0;

    display:none;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    background:rgba(255,255,255,.95);

    z-index:9999;

}

.loader{

    width:60px;

    height:60px;

    border:5px solid #E5E7EB;

    border-top:5px solid #2D6CDF;

    border-radius:50%;

    animation:spin .8s linear infinite;

}

.loading-overlay p{

    margin-top:18px;

    font-size:16px;

    font-weight:600;

    color:#0B1F3A;

}

@keyframes spin{

    100%{

        transform:rotate(360deg);

    }

}

/* ==========================================================
   TOAST
========================================================== */

.toast{

    position:fixed;

    top:20px;

    right:20px;

    display:none;

    align-items:center;

    gap:12px;

    background:#16A34A;

    color:#FFFFFF;

    padding:16px 20px;

    border-radius:12px;

    box-shadow:0 10px 30px rgba(0,0,0,.15);

    z-index:10000;

    animation:slideDown .3s ease;

}

.toast i{

    font-size:20px;

}

.toast span{

    font-size:15px;

}

@keyframes slideDown{

    from{

        opacity:0;

        transform:translateY(-20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ==========================================================
   RESPONSIVE DESIGN
========================================================== */

@media (max-width:992px){

    .forgot-container{

        flex-direction:column;

        max-width:600px;

    }

    .forgot-left{

        display:none;

    }

    .forgot-right{

        width:100%;

        padding:30px 20px;

    }

}

@media (max-width:768px){

    .forgot-section{

        padding:15px;

    }

    .forgot-container{

        width:100%;

        border-radius:18px;

    }

    .forgot-right{

        padding:25px 18px;

    }

    .forgot-card{

        width:100%;

        max-width:100%;

    }

    .card-header h2{

        font-size:26px;

    }

    .card-logo{

        width:70px;

    }

    .send-btn{

        height:52px;

        font-size:15px;

    }

    .toast{

        left:15px;

        right:15px;

        top:15px;

    }

}

@media (max-width:480px){

    .forgot-section{

        padding:10px;

    }

    .forgot-right{

        padding:20px 15px;

    }

    .input-box input{

        height:50px;

        font-size:14px;

    }

    .security-note{

        flex-direction:column;

        text-align:left;

    }

    .security-note i{

        margin-bottom:8px;

    }

}

/* ==========================================================
   SCROLLBAR
========================================================== */

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-thumb{

    background:#2D6CDF;

    border-radius:10px;

}

::-webkit-scrollbar-track{

    background:#EEF2F7;

}

/* ==========================================================
   TEXT SELECTION
========================================================== */

::selection{

    background:#2D6CDF;

    color:#FFFFFF;

}