/* =========================================
   RESET
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    min-height:100vh;
    min-height:100dvh;
    font-family:'Plus Jakarta Sans',sans-serif;
}

/* =========================================
   MAIN LAYOUT
========================================= */

body{
    display:flex;
    background:#fff;
}

/* =========================================
   LEFT PANEL
========================================= */

.left-panel{

    flex:6;

    min-height:100vh;
    min-height:100dvh;

    background:
    linear-gradient(
        rgba(8,33,63,.55),
        rgba(17,75,138,.55)
    ),
    url('../assets/images/unimas-campus.png');

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:60px;

    color:white;

    position:relative;
    overflow:hidden;
}

/* Decorative circles */

.left-panel::before{

    content:'';

    position:absolute;

    width:500px;
    height:500px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    top:-180px;
    right:-180px;
}

.left-panel::after{

    content:'';

    position:absolute;

    width:300px;
    height:300px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    bottom:-120px;
    left:-120px;
}

/* =========================================
   BRANDING
========================================= */

.branding{
    position:relative;
    z-index:2;
    max-width:550px;
}

.brand-logo{
    width:170px;
    margin-bottom:30px;
}

.branding h1{

    font-size:72px;
    font-weight:800;

    margin-bottom:10px;
}

.branding h3{

    font-size:28px;
    font-weight:600;

    margin-bottom:25px;
}

.branding p{

    font-size:18px;
    line-height:1.8;

    opacity:.95;
}

.features{
    margin-top:40px;
}

.features div{

    display:flex;
    align-items:center;

    gap:12px;

    margin-bottom:18px;

    font-size:18px;
    font-weight:500;
}

/* =========================================
   RIGHT PANEL
========================================= */

.right-panel{

    flex:4;

    min-height:100vh;
    min-height:100dvh;

    background:#fff;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:50px;
}

.login-container{

    width:100%;
    max-width:500px;
}

.mobile-logo{
    display:none;
}

/* =========================================
   HEADING
========================================= */

.login-container h2{

    font-size:64px;
    font-weight:700;

    color:#0b2d5c;

    line-height:1.1;

    margin-bottom:10px;
}

.login-container p{

    color:#64748b;

    font-size:18px;

    margin-bottom:30px;
}

/* =========================================
   INPUT
========================================= */

.login-container input{

    width:100%;
    height:58px;

    border:1px solid #d9dee5;
    border-radius:14px;

    padding:0 18px;

    font-size:16px;

    transition:.3s;

    margin-bottom:15px;
}

.login-container input:focus{

    outline:none;

    border-color:#2d6cdf;

    box-shadow:
    0 0 0 4px rgba(45,108,223,.15);
}

/* =========================================
   PASSWORD
========================================= */

.password-box{
    position:relative;
    margin-bottom:20px;
}

.password-box input{
    padding-right:55px;
    margin-bottom:0;
}

.toggle-password{

    position:absolute;

    right:18px;
    top:50%;

    transform:translateY(-50%);

    cursor:pointer;

    color:#64748b;
    font-size:18px;
}

.toggle-password:hover{
    color:#2d6cdf;
}

/* =========================================
   LOGIN BUTTON
========================================= */

.login-btn{

    width:100%;
    height:58px;

    border:none;
    border-radius:14px;

    background:
    linear-gradient(
        135deg,
        #114b8a,
        #2d6cdf
    );

    color:white;

    font-size:17px;
    font-weight:600;

    cursor:pointer;

    transition:.3s;
}

.login-btn:hover{

    transform:translateY(-2px);

    box-shadow:
    0 10px 25px rgba(45,108,223,.25);
}

/* =========================================
   LINKS
========================================= */

.forgot-password{

    text-align:right;
    margin-bottom:20px;
}

.forgot-password a{

    color:#2d6cdf;
    text-decoration:none;
    font-weight:500;
}

.forgot-password a:hover{
    text-decoration:underline;
}

.register-link{

    text-align:center;
    margin-top:25px;

    font-size:16px;
}

.register-link a{

    color:#2d6cdf;
    text-decoration:none;

    font-weight:600;
}

.register-link a:hover{
    text-decoration:underline;
}

/* =========================================
   ERROR MESSAGE
========================================= */

.error-message{

    background:#ffe5e5;
    color:#d10000;

    padding:12px;
    border-radius:10px;

    margin-bottom:20px;

    font-size:14px;
}

/* =========================================
   REGISTER
========================================= */
.register-btn{
    width:100%;
    height:58px;

    border:none;
    border-radius:14px;

    background:
    linear-gradient(
        135deg,
        #114b8a,
        #2d6cdf
    );

    color:#fff;

    font-size:16px;
    font-weight:600;

    cursor:pointer;
    transition:.3s;
}

.register-btn:hover{
    transform:translateY(-2px);

    box-shadow:
    0 10px 25px rgba(45,108,223,.25);
}

/* =========================================
   TABLET
========================================= */

@media(max-width:992px){

    .left-panel{
        flex:5;
        padding:40px;
    }

    .right-panel{
        flex:5;
        padding:40px;
    }

    .branding h1{
        font-size:58px;
    }

    .login-container h2{
        font-size:50px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:768px){

    .left-panel{
        display:none;
    }

    body{
        display:block;
        background:#fff;
    }

    .right-panel{
        width:100%;
        min-height:100vh;
        min-height:100dvh;

        padding:24px;

        display:flex;
        justify-content:center;
        align-items:center;
    }

    .login-container{
        width:100%;
        max-width:100%;
    }

    .mobile-logo{
        display:block;
        width:120px;
        margin:0 auto 20px;
    }

    .login-container h2{
        font-size:40px;
        text-align:center;
        margin-bottom:8px;
    }

    .login-container p{
        text-align:center;
        font-size:16px;
    }

    .login-container input{
        width:100%;
        height:54px;
    }

    .login-btn{
        width:100%;
        height:54px;
    }

}