/* =========================================================
   RISC Networks - Login
   assets/css/style.css
   ========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    height:100%;
    font-family:"Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
    background:#edf2f7;
    color:#1e293b;
}

body{
    overflow:hidden;
}

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

.login-container{
    display:flex;
    width:100%;
    height:100vh;
}

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

.login-left{
    width:55%;
    position:relative;
    background:
        linear-gradient(
            135deg,
            rgba(0,77,153,.88),
            rgba(0,37,79,.92)
        ),
        url("/assets/img/login-bg.jpg");
    background-size:cover;
    background-position:center;
    color:#fff;
}

.overlay{
    width:100%;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:70px;
}

.brand{
    max-width:520px;
}

.brand-logo{
    width:190px;
    margin-bottom:35px;
}

.brand h1{
    font-size:44px;
    font-weight:700;
    line-height:1.2;
    margin-bottom:18px;
}

.brand p{
    font-size:19px;
    line-height:1.7;
    opacity:.92;
}

.features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.feature{
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(12px);
    border:1px solid rgba(255,255,255,.12);
    border-radius:14px;
    padding:18px 22px;
    font-size:17px;
    display:flex;
    align-items:center;
}

.feature span{
    color:#46d369;
    font-weight:bold;
    margin-right:12px;
    font-size:20px;
}

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

.login-right{
    width:45%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:60px;
    background:#f8fafc;
}

.login-card{
    width:100%;
    max-width:470px;
    background:#fff;
    border-radius:20px;
    padding:50px;
    box-shadow:
        0 18px 50px rgba(0,0,0,.08);
}

.logo{
    width:150px;
    display:block;
    margin:auto;
    margin-bottom:25px;
}

.login-card h2{
    text-align:center;
    font-size:34px;
    color:#0f172a;
    margin-bottom:10px;
}

.subtitle{
    text-align:center;
    color:#64748b;
    margin-bottom:35px;
    font-size:16px;
}

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

.alert-error{
    background:#fdeaea;
    color:#c62828;
    border-left:5px solid #d32f2f;
    padding:14px 18px;
    border-radius:8px;
    margin-bottom:24px;
}

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

.form-group{
    margin-bottom:22px;
}

.form-group label{
    display:block;
    font-weight:600;
    margin-bottom:8px;
    color:#334155;
}

.form-control{
    width:100%;
    height:52px;
    border:1px solid #cbd5e1;
    border-radius:10px;
    padding:0 16px;
    font-size:15px;
    transition:.25s;
    outline:none;
}

.form-control:focus{
    border-color:#0068c9;
    box-shadow:0 0 0 4px rgba(0,104,201,.12);
}

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

.form-options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:28px;
    font-size:14px;
}

.remember{
    display:flex;
    align-items:center;
    gap:8px;
    color:#475569;
}

.forgot{
    text-decoration:none;
    color:#0068c9;
}

.disabled{
    opacity:.45;
    pointer-events:none;
}

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

.btn-login{
    width:100%;
    height:54px;
    border:none;
    border-radius:10px;
    background:#005cb9;
    color:#fff;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.25s;
}

.btn-login:hover{
    background:#00478d;
    transform:translateY(-1px);
}

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

.login-divider{
    margin:36px 0 28px;
    text-align:center;
    position:relative;
}

.login-divider::before{
    content:"";
    position:absolute;
    top:50%;
    left:0;
    width:100%;
    height:1px;
    background:#e2e8f0;
}

.login-divider span{
    position:relative;
    background:#fff;
    padding:0 18px;
    color:#64748b;
}

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

.login-info{
    display:grid;
    gap:14px;
}

.info-item{
    display:flex;
    justify-content:space-between;
    padding:12px 0;
    border-bottom:1px solid #edf2f7;
}

.info-item strong{
    color:#334155;
}

.info-item span{
    color:#64748b;
}

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

.security-box{
    margin-top:28px;
    display:flex;
    gap:12px;
    background:#f1f8ff;
    border-left:5px solid #0068c9;
    border-radius:10px;
    padding:18px;
    color:#334155;
    font-size:14px;
}

.security-box svg{
    color:#0068c9;
    min-width:20px;
}

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

.login-footer{
    margin-top:30px;
    padding-top:22px;
    border-top:1px solid #e2e8f0;
}

.footer-item{
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
    font-size:14px;
}

.online{
    color:#1f9d45;
    font-weight:600;
}

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

.page-footer{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    background:#fff;
    border-top:1px solid #e2e8f0;
    padding:14px 35px;
    font-size:13px;
    color:#64748b;
}

.footer-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.footer-left{
    display:flex;
    gap:10px;
}

.footer-right{
    display:flex;
    gap:16px;
}

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

@media(max-width:1100px){
    .login-left{
        display:none;
    }

    .login-right{
        width:100%;
        padding:35px;
    }

    .login-card{
        max-width:520px;
    }
}

@media(max-width:640px){
    body{
        overflow:auto;
    }

    .login-right{
        padding:18px;
    }

    .login-card{
        padding:32px;
        border-radius:14px;
    }

    .footer-content{
        flex-direction:column;
        gap:8px;
        text-align:center;
    }
}