/*
|--------------------------------------------------------------------------
| DNA Business Suite V2
|--------------------------------------------------------------------------
| Client Login V3
|--------------------------------------------------------------------------
| PART 1
| Root
| Reset
| Background
| Layout
| Left Panel
|--------------------------------------------------------------------------
*/

/* ==========================================================
   ROOT
========================================================== */

:root{

    --primary:#2563eb;
    --primary-dark:#1d4ed8;

    --dark:#0f172a;
    --text:#334155;
    --muted:#64748b;

    --surface:#ffffff;
    --background:#f8fafc;
    --border:#e2e8f0;

    --radius:24px;

    --shadow:
        0 30px 70px rgba(15,23,42,.10);

}

/* ==========================================================
   RESET
========================================================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    height:100%;

}

body{

    min-height:100vh;

    font-family:Inter,sans-serif;

    color:var(--text);

    background:
        linear-gradient(
            135deg,
            #eef4ff 0%,
            #f8fafc 45%,
            #ffffff 100%
        );

    overflow-x:hidden;

}

/* ==========================================================
   BACKGROUND
========================================================== */

body::before{

    content:"";

    position:fixed;

    width:720px;
    height:720px;

    left:-260px;
    top:-260px;

    border-radius:50%;

    background:

        radial-gradient(

            circle,

            rgba(37,99,235,.10),

            transparent 72%

        );

    z-index:-2;

}

body::after{

    content:"";

    position:fixed;

    width:560px;
    height:560px;

    right:-180px;
    bottom:-180px;

    border-radius:50%;

    background:

        radial-gradient(

            circle,

            rgba(59,130,246,.08),

            transparent 70%

        );

    z-index:-2;

}

/* ==========================================================
   WRAPPER
========================================================== */

.login-wrapper{

    width:100%;

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:40px;

}

/* ==========================================================
   MAIN SHELL
========================================================== */

.login-shell{

    width:100%;

    max-width:1420px;

    min-height:860px;

    display:flex;

    background:#ffffff;

    border-radius:32px;

    overflow:hidden;

    box-shadow:var(--shadow);

}

/* ==========================================================
   LEFT
========================================================== */

.login-left{

    width:55%;

    min-width:0;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    position:relative;

    padding:70px;

    color:#ffffff;

    background:

        linear-gradient(

            135deg,

            #2563eb 0%,

            #1d4ed8 55%,

            #172554 100%

        );

}

/* ==========================================================
   DECORATION
========================================================== */

.login-left::before{

    content:"";

    position:absolute;

    width:520px;
    height:520px;

    right:-170px;
    top:-170px;

    border-radius:50%;

    background:

        rgba(255,255,255,.06);

}

.login-left::after{

    content:"";

    position:absolute;

    width:360px;
    height:360px;

    left:-120px;
    bottom:-120px;

    border-radius:50%;

    background:

        rgba(255,255,255,.05);

}

/* ==========================================================
   HERO
========================================================== */

.hero{

    position:relative;

    z-index:2;

}

.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 18px;

    margin-bottom:34px;

    border-radius:999px;

    background:

        rgba(255,255,255,.12);

    backdrop-filter:blur(14px);

    font-size:13px;

    font-weight:700;

}

.hero-brand{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:42px;

}

.brand-logo{

    width:72px;
    height:72px;

    border-radius:20px;

    background:#ffffff;

    color:#2563eb;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-shrink:0;

    font-size:30px;

}

.brand-text{

    display:flex;

    flex-direction:column;

}

.brand-text h1{

    margin:0;

    font-size:46px;

    font-weight:800;

    line-height:1;

    letter-spacing:-.03em;

}

.brand-text p{

    margin-top:8px;

    color:rgba(255,255,255,.82);

    font-size:15px;

}

.hero-title{

    max-width:650px;

    margin-bottom:28px;

    font-size:60px;

    line-height:1.08;

    font-weight:800;

    letter-spacing:-.03em;

}

.hero-description{

    max-width:620px;

    color:rgba(255,255,255,.88);

    font-size:18px;

    line-height:1.9;

}
/* ==========================================================
   FEATURE GRID
========================================================== */

.feature-grid{

    position:relative;

    z-index:2;

    margin-top:56px;

    display:grid;

    grid-template-columns:repeat(3,minmax(0,1fr));

    gap:18px;

}

.feature-card{

    padding:22px;

    border-radius:20px;

    background:rgba(255,255,255,.10);

    border:1px solid rgba(255,255,255,.10);

    backdrop-filter:blur(14px);

    transition:.25s ease;

}

.feature-card:hover{

    transform:translateY(-4px);

    background:rgba(255,255,255,.14);

}

.feature-icon{

    width:56px;
    height:56px;

    margin-bottom:18px;

    border-radius:16px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(255,255,255,.16);

    color:#ffffff;

    font-size:24px;

}

.feature-body h4{

    margin:0 0 10px;

    color:#ffffff;

    font-size:18px;

    font-weight:700;

}

.feature-body p{

    margin:0;

    color:rgba(255,255,255,.82);

    font-size:14px;

    line-height:1.7;

}

/* ==========================================================
   HERO STATS
========================================================== */

.hero-stats{

    position:relative;

    z-index:2;

    margin-top:42px;

    display:flex;

    gap:18px;

}

.stat-card{

    flex:1;

    padding:22px;

    border-radius:20px;

    background:rgba(255,255,255,.10);

    border:1px solid rgba(255,255,255,.10);

    backdrop-filter:blur(14px);

    transition:.25s ease;

}

.stat-card:hover{

    transform:translateY(-4px);

}

.stat-card small{

    display:block;

    margin-bottom:10px;

    color:rgba(255,255,255,.70);

    font-size:13px;

    text-transform:uppercase;

    letter-spacing:.05em;

}

.stat-card strong{

    display:block;

    color:#ffffff;

    font-size:22px;

    font-weight:800;

}

.stat-card span{

    display:block;

    margin-top:10px;

    color:rgba(255,255,255,.84);

    font-size:14px;

    line-height:1.6;

}

/* ==========================================================
   SECURITY CARD
========================================================== */

.security-card{

    position:relative;

    z-index:2;

    margin-top:42px;

    display:flex;

    align-items:center;

    gap:18px;

    padding:22px 24px;

    border-radius:22px;

    background:rgba(255,255,255,.10);

    border:1px solid rgba(255,255,255,.10);

    backdrop-filter:blur(16px);

    transition:.25s ease;

}

.security-card:hover{

    transform:translateY(-4px);

}

.security-icon{

    width:64px;
    height:64px;

    flex-shrink:0;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#ffffff;

    color:#2563eb;

    font-size:28px;

}

.security-content{

    flex:1;

}

.security-content h4{

    margin:0 0 8px;

    color:#ffffff;

    font-size:20px;

    font-weight:700;

}

.security-content p{

    margin:0;

    color:rgba(255,255,255,.84);

    line-height:1.7;

    font-size:14px;

}

/* ==========================================================
   FOOTER / VERSION
========================================================== */

.hero-footer{

    position:relative;

    z-index:2;

    margin-top:auto;

    padding-top:48px;

}

.version-card{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    padding:22px 24px;

    border-radius:22px;

    background:rgba(255,255,255,.10);

    border:1px solid rgba(255,255,255,.10);

    backdrop-filter:blur(16px);

    transition:.25s ease;

}

.version-card:hover{

    transform:translateY(-4px);

}

.version-card h5{

    margin:0;

    color:#ffffff;

    font-size:18px;

    font-weight:700;

}

.version-card p{

    margin:6px 0 0;

    color:rgba(255,255,255,.78);

    font-size:14px;

}

.version-pill{

    padding:10px 18px;

    border-radius:999px;

    background:#ffffff;

    color:#2563eb;

    font-weight:800;

    font-size:14px;

    white-space:nowrap;

}

/* ==========================================================
   LEFT ANIMATION
========================================================== */

.hero,
.feature-grid,
.hero-stats,
.security-card,
.hero-footer{

    animation:fadeLeft .7s ease;

}

@keyframes fadeLeft{

    from{

        opacity:0;

        transform:translateX(-30px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}
/* ==========================================================
   RIGHT PANEL
========================================================== */

.login-right{

    width:45%;

    min-width:0;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:64px;

    background:#ffffff;

}

.login-card{

    width:100%;

    max-width:480px;

    animation:fadeRight .7s ease;

}

@keyframes fadeRight{

    from{

        opacity:0;

        transform:translateX(30px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

/* ==========================================================
   LOGIN HEADER
========================================================== */

.login-header{

    margin-bottom:38px;

}

.login-label{

    display:inline-flex;

    align-items:center;

    padding:8px 14px;

    border-radius:999px;

    background:#eff6ff;

    color:var(--primary);

    font-size:12px;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

}

.login-header h2{

    margin:18px 0 14px;

    color:var(--dark);

    font-size:42px;

    font-weight:800;

    letter-spacing:-.03em;

}

.login-header p{

    color:var(--muted);

    font-size:16px;

    line-height:1.8;

}

/* ==========================================================
   LOGIN ACTION
========================================================== */

.login-action{

    display:flex;

    flex-direction:column;

}

/* ==========================================================
   BUTTON
========================================================== */

.login-btn{

    width:100%;

    height:58px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:14px;

    border:none;

    border-radius:16px;

    cursor:pointer;

    font-size:16px;

    font-weight:700;

    transition:.25s;

}

.login-btn i{

    font-size:20px;

}

.login-btn-google{

    background:#ffffff;

    color:#111827;

    border:1px solid var(--border);

    box-shadow:0 10px 25px rgba(15,23,42,.05);

}

.login-btn-google:hover{

    transform:translateY(-2px);

    box-shadow:0 20px 35px rgba(15,23,42,.10);

}

.login-btn-primary{

    background:linear-gradient(

        135deg,

        #2563eb,

        #1d4ed8

    );

    color:#ffffff;

}

.login-btn-primary:hover{

    transform:translateY(-2px);

    box-shadow:0 22px 45px rgba(37,99,235,.28);

}

/* ==========================================================
   DIVIDER
========================================================== */

.login-divider{

    position:relative;

    margin:30px 0;

    text-align:center;

}

.login-divider::before{

    content:"";

    position:absolute;

    left:0;

    right:0;

    top:50%;

    height:1px;

    background:var(--border);

}

.login-divider span{

    position:relative;

    z-index:2;

    padding:0 18px;

    background:#ffffff;

    color:#94a3b8;

    font-size:13px;

    font-weight:700;

}

/* ==========================================================
   LOCAL LOGIN
========================================================== */

.local-login{

    margin-top:24px;

}

/* ==========================================================
   FORM
========================================================== */

.form-group{

    margin-bottom:20px;

}

.form-group label{

    display:block;

    margin-bottom:8px;

    color:var(--dark);

    font-size:14px;

    font-weight:600;

}

.form-control{

    width:100%;

    height:54px;

    border-radius:14px;

    border:1px solid var(--border);

    background:#ffffff;

    padding:0 18px;

    font-size:15px;

    transition:.25s;

}

.form-control:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(37,99,235,.12);

}

.login-options{

    margin:8px 0 28px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:16px;

}

.remember-me{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:14px;

    color:var(--muted);

    cursor:pointer;

}

.forgot-password{

    color:var(--primary);

    text-decoration:none;

    font-size:14px;

    font-weight:600;

}

.forgot-password:hover{

    text-decoration:underline;

}

/* ==========================================================
   REGISTER CARD
========================================================== */

.register-card{

    margin-top:38px;

    padding:28px;

    border-radius:22px;

    border:1px solid var(--border);

    background:#f8fafc;

}

.register-header h3{

    margin:0 0 12px;

    color:var(--dark);

    font-size:24px;

    font-weight:800;

}

.register-header p{

    margin:0 0 24px;

    color:var(--muted);

    line-height:1.8;

}

.btn-register{

    width:100%;

    height:56px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    border-radius:16px;

    text-decoration:none;

    background:#2563eb;

    color:#ffffff;

    font-weight:700;

    transition:.25s;

}

.btn-register:hover{

    background:#1d4ed8;

    transform:translateY(-2px);

}
/* ==========================================================
   PORTAL INFO
========================================================== */

.portal-info{

    margin-top:36px;

    display:flex;

    flex-direction:column;

    gap:18px;

}

.info-card{

    display:flex;

    align-items:flex-start;

    gap:16px;

    padding:18px;

    border:1px solid var(--border);

    border-radius:18px;

    background:#ffffff;

    transition:.25s;

}

.info-card:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 30px rgba(15,23,42,.06);

}

.info-icon{

    width:48px;

    height:48px;

    border-radius:14px;

    background:#eff6ff;

    color:var(--primary);

    display:flex;

    align-items:center;

    justify-content:center;

    flex-shrink:0;

    font-size:20px;

}

.info-body{

    flex:1;

}

.info-body strong{

    display:block;

    margin-bottom:6px;

    color:var(--dark);

    font-size:16px;

    font-weight:700;

}

.info-body p{

    margin:0;

    color:var(--muted);

    font-size:14px;

    line-height:1.7;

}

/* ==========================================================
   STATUS
========================================================== */

.portal-status{

    margin-top:34px;

    display:flex;

    gap:14px;

}

.status-box{

    flex:1;

    padding:18px;

    text-align:center;

    border-radius:18px;

    border:1px solid var(--border);

    background:#f8fafc;

}

.status-box strong{

    display:block;

    color:var(--dark);

    font-size:18px;

    font-weight:800;

}

.status-box small{

    display:block;

    margin-top:6px;

    color:var(--muted);

    font-size:13px;

}

/* ==========================================================
   FOOTER
========================================================== */

.login-footer{

    margin-top:38px;

    text-align:center;

}

.login-footer p{

    margin:4px 0;

    color:var(--muted);

    font-size:13px;

    line-height:1.8;

}

/* ==========================================================
   GLOBAL ANIMATION
========================================================== */

.login-shell{

    animation:loginFade .7s ease;

}

@keyframes loginFade{

    from{

        opacity:0;

        transform:translateY(24px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

::selection{

    background:#2563eb;

    color:#ffffff;

}

button,
a,
input{

    transition:.25s;

}

button:focus,
a:focus,
input:focus{

    outline:none;

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:1200px){

    .login-wrapper{

        padding:28px;

    }

    .login-left{

        padding:56px;

    }

    .login-right{

        padding:56px;

    }

    .hero-title{

        font-size:50px;

    }

    .feature-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media (max-width:992px){

    .login-shell{

        flex-direction:column;

        min-height:auto;

    }

    .login-left,

    .login-right{

        width:100%;

    }

    .login-left{

        padding:50px;

    }

    .login-right{

        padding:50px;

    }

    .feature-grid{

        grid-template-columns:1fr;

    }

    .hero-stats{

        flex-direction:column;

    }

    .portal-status{

        flex-direction:column;

    }

}

@media (max-width:768px){

    .login-wrapper{

        padding:18px;

    }

    .login-shell{

        border-radius:24px;

    }

    .login-left,

    .login-right{

        padding:36px;

    }

    .hero-title{

        font-size:38px;

    }

    .hero-description{

        font-size:16px;

    }

    .brand-text h1{

        font-size:36px;

    }

    .login-header h2{

        font-size:34px;

    }

    .login-options{

        flex-direction:column;

        align-items:flex-start;

    }

}

@media (max-width:576px){

    .login-wrapper{

        padding:12px;

    }

    .login-left,

    .login-right{

        padding:24px;

    }

    .hero-title{

        font-size:30px;

        line-height:1.15;

    }

    .hero-description{

        font-size:15px;

    }

    .brand-logo{

        width:60px;

        height:60px;

        font-size:26px;

    }

    .brand-text h1{

        font-size:30px;

    }

    .login-header h2{

        font-size:28px;

    }

    .login-btn,

    .btn-register{

        height:52px;

        font-size:15px;

    }

    .portal-status{

        gap:12px;

    }

}