/*=========================================================
 SmartDocs Login
=========================================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

body{

    font-family:'Inter',sans-serif;

    background:linear-gradient(
        135deg,
        #0f172a,
        #1d4ed8,
        #38bdf8
    );

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

}

.login-container{

    width:100%;

    max-width:1350px;

    height:88vh;

    background:#ffffff;

    border-radius:28px;

    overflow:hidden;

    display:grid;

    grid-template-columns:1fr 520px;

    box-shadow:
    0 30px 80px rgba(0,0,0,.25);

}
/*=========================================================
 LEFT BRANDING PANEL
=========================================================*/

.branding-panel{

    background:linear-gradient(
        160deg,
        #0f172a,
        #1d4ed8,
        #2563eb
    );

    color:#ffffff;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:70px;

    position:relative;

    overflow:hidden;

}

.branding-panel::before{

    content:"";

    position:absolute;

    width:420px;

    height:420px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    top:-150px;

    right:-120px;

}

.branding-panel::after{

    content:"";

    position:absolute;

    width:280px;

    height:280px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    bottom:-90px;

    left:-90px;

}

.branding-content{

    position:relative;

    z-index:2;

    max-width:520px;

}

.brand-logo{

    width:110px;

    margin-bottom:25px;

}
.login-logo{

    width:120px;

    height:auto;

    display:block;

    margin:0 auto 25px;

}
.branding-content h1{

    font-size:52px;

    font-weight:800;

    letter-spacing:-1px;

}

.tagline{

    margin-top:12px;

    font-size:18px;

    opacity:.9;

    line-height:1.7;

}

.branding-divider{

    width:90px;

    height:4px;

    border-radius:20px;

    background:#ffffff;

    margin:35px 0;

}

.branding-content h2{

    font-size:30px;

    margin-bottom:18px;

    font-weight:700;

}

.branding-description{

    font-size:17px;

    line-height:1.9;

    opacity:.9;

}
/*=========================================================
 LOGIN PANEL
=========================================================*/

.login-panel{

    display:flex;

    align-items:center;

    justify-content:center;

    background:#f8fafc;

    padding:60px;

}

.login-card{

    width:380px;

    min-height:560px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    padding:40px;

    text-align:center;
background:#ffffff;

    border-radius:24px;

    box-shadow:
    0 20px 60px rgba(15,23,42,.08);

}


.login-card h2{

    font-size:34px;

    color:#0f172a;

    margin-bottom:14px;

    font-weight:700;

}

.login-card p{

    color:#64748b;

    font-size:16px;

    line-height:1.7;

    margin-bottom:40px;

}

.google-btn{

    width:100%;

    height:60px;

    border:none;

    border-radius:14px;

    background:#ffffff;

    border:2px solid #dbeafe;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:14px;

    cursor:pointer;

    font-size:17px;

    font-weight:600;

    transition:.25s;

}

.google-btn img{

    width:30px;

    height:30px;

    object-fit:contain;

    flex-shrink:0;

}

.google-btn:hover{

    transform:translateY(-2px);

    border-color:#2563eb;

    box-shadow:
    0 10px 25px rgba(37,99,235,.18);

}

.login-footer{

    margin-top:35px;

    color:#94a3b8;

    font-size:14px;

    letter-spacing:.5px;

}
/*=========================================================
 LOGIN LINKS
=========================================================*/

.login-links{

    margin-top:35px;

    text-align:center;

}

.login-links p{

    margin-bottom:10px;

    color:#64748b;

    font-size:15px;

}

.login-links a{

    color:#2563eb;

    text-decoration:none;

    font-weight:700;

    font-size:17px;

}

.login-links a:hover{

    text-decoration:underline;

}

/*=========================================================
 VERSION
=========================================================*/

.version{

    margin-top:30px;

    color:#64748b;

    font-size:15px;

    font-weight:600;

}

/*=========================================================
 FOOTER LINKS
=========================================================*/

.footer-links{

    margin-top:12px;

    display:flex;

    justify-content:center;

    gap:8px;

    flex-wrap:wrap;

}

.footer-links a{

    color:#1d4ed8;

    text-decoration:none;

    font-size:14px;

}

.footer-links a:hover{

    text-decoration:underline;

}

.footer-links span{

    color:#94a3b8;

}

/*=========================================================
 LOADING
=========================================================*/

.loading-overlay{

    position:fixed;

    inset:0;

    background:rgba(15,23,42,.65);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:9999;

}

.loading-box{

    width:320px;

    background:#fff;

    border-radius:20px;

    padding:35px;

    text-align:center;

    box-shadow:0 20px 50px rgba(0,0,0,.25);

}

.loader{

    width:60px;

    height:60px;

    margin:0 auto 20px;

    border:5px solid #dbeafe;

    border-top:5px solid #2563eb;

    border-radius:50%;

    animation:spin 1s linear infinite;

}

@keyframes spin{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}

/*=========================================================
 MOBILE
=========================================================*/

@media(max-width:992px){

    .login-container{

        grid-template-columns:1fr;

        height:auto;

        margin:20px;

    }

    .branding-panel{

        display:none;

    }

    .login-panel{

        padding:40px 25px;

    }

    .login-card{

        width:100%;

        min-height:auto;

        padding:20px;

    }

    .login-logo{

        width:180px;

    }

}