/* ==========================================================
   GLOBAL
========================================================== */

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

:root{

    --primary:#2563eb;
    --primary-dark:#1d4ed8;
    --secondary:#0f172a;
    --white:#ffffff;

}

body{

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

    background:
        radial-gradient(circle at top left, rgba(255,255,255,.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(255,255,255,.05), transparent 22%),
        linear-gradient(135deg,#0f172a 0%,#1e3a8a 55%,#2563eb 100%);

    min-height:100vh;

    overflow:hidden;

}

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

.login-container{

    display:flex;

    width:100%;

    height:100vh;

}

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

.branding{

    flex:1.25;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:70px;

    color:white;

    position:relative;

    overflow:hidden;

}

/* Halo principal */

.branding::before{

    content:"";

    position:absolute;

    width:520px;

    height:520px;

    border-radius:50%;

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

    top:-180px;

    left:-180px;

    filter:blur(10px);

}

/* Halo secondaire */

.branding::after{

    content:"";

    position:absolute;

    width:380px;

    height:380px;

    border-radius:50%;

    background:rgba(96,165,250,.10);

    bottom:-140px;

    right:-80px;

    filter:blur(25px);

}

/* ==========================================================
   CONTENT
========================================================== */

.branding-content{

    position:relative;

    z-index:2;

    max-width:560px;

}

/* ==========================================================
   LOGO
========================================================== */

.logo{

    width:190px;

    height:auto;

    display:block;

    margin-bottom:35px;

    filter:drop-shadow(0 10px 25px rgba(0,0,0,.25));

    transition:.35s;

}

.logo:hover{

    transform:scale(1.04);

}

/* ==========================================================
   TITLES
========================================================== */

.branding h1{

    font-size:64px;

    font-weight:700;

    letter-spacing:5px;

    line-height:1;

    margin-bottom:14px;

    text-shadow:0 6px 18px rgba(0,0,0,.25);

}

.branding h2{

    font-size:34px;

    font-weight:500;

    margin-bottom:18px;

}

.branding p{

    font-size:20px;

    line-height:34px;

    opacity:.92;

    margin-bottom:50px;

    max-width:470px;

}
/* ==========================================================
   FEATURES
========================================================== */

.features{

    display:flex;

    flex-direction:column;

    gap:22px;

    margin-top:10px;

}

.feature{

    display:flex;

    align-items:center;

    gap:18px;

    padding:14px 18px;

    border-radius:18px;

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

    backdrop-filter:blur(14px);

    border:1px solid rgba(255,255,255,.08);

    transition:.30s;

}

.feature:hover{

    transform:translateX(8px);

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

}

.feature i{

    width:56px;

    height:56px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:18px;

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

    color:#ffffff;

    font-size:22px;

    flex-shrink:0;

}

.feature span{

    font-size:18px;

    font-weight:500;

    line-height:28px;

}

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

.footer-text{

    margin-top:55px;

    font-size:15px;

    letter-spacing:2px;

    opacity:.85;

    font-weight:500;

}

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

.login-panel{

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:60px;

    position:relative;

}

/* ==========================================================
   LOGIN CARD
========================================================== */

.login-card{

    width:100%;

    max-width:450px;

    padding:50px;

    border-radius:28px;

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

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.55);

    box-shadow:

        0 25px 70px rgba(15,23,42,.28),

        0 8px 30px rgba(37,99,235,.10);

    transition:.35s;

}

.login-card:hover{

    transform:translateY(-5px);

    box-shadow:

        0 35px 90px rgba(15,23,42,.35),

        0 12px 40px rgba(37,99,235,.15);

}

/* ==========================================================
   LOGIN HEADER
========================================================== */

.login-header{

    text-align:center;

    margin-bottom:38px;

}

.login-header h2{

    color:#0f172a;

    font-size:34px;

    font-weight:700;

    margin-bottom:10px;

}

.login-header p{

    color:#64748b;

    font-size:16px;

    line-height:26px;

}
/* ==========================================================
   INPUTS
========================================================== */

.input-group{

    margin-bottom:26px;

}

.input-group label{

    display:block;

    margin-bottom:10px;

    font-size:14px;

    font-weight:600;

    color:#334155;

}

.input-icon{

    display:flex;

    align-items:center;

    gap:12px;

    padding:0 18px;

    height:60px;

    border-radius:16px;

    background:#f8fafc;

    border:1px solid #dbe4ee;

    transition:.30s;

}

.input-icon:hover{

    border-color:#93c5fd;

}

.input-icon:focus-within{

    background:#ffffff;

    border-color:#2563eb;

    box-shadow:0 0 0 5px rgba(37,99,235,.12);

}

.input-icon i{

    color:#2563eb;

    font-size:18px;

    width:22px;

    text-align:center;

}

.input-icon input{

    flex:1;

    border:none;

    outline:none;

    background:transparent;

    font-size:15px;

    color:#0f172a;

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

}

.input-icon input::placeholder{

    color:#94a3b8;

}

/* ==========================================================
   OPTIONS
========================================================== */

.login-options{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin:10px 0 32px;

    font-size:14px;

    color:#64748b;

}

.login-options label{

    display:flex;

    align-items:center;

    gap:8px;

    cursor:pointer;

}

.login-options input{

    accent-color:#2563eb;

}

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

.login-btn{

    width:100%;

    height:58px;

    border:none;

    border-radius:16px;

    cursor:pointer;

    background:linear-gradient(135deg,#2563eb,#1d4ed8);

    color:#ffffff;

    font-size:16px;

    font-weight:600;

    letter-spacing:.3px;

    transition:all .30s ease;

    box-shadow:0 15px 35px rgba(37,99,235,.30);

}

.login-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 20px 45px rgba(37,99,235,.45);

}

.login-btn:active{

    transform:translateY(0);

}

.login-btn i{

    margin-right:10px;

}

/* ==========================================================
   ERROR
========================================================== */

.login-error{

    margin-top:22px;

    padding:16px;

    border-radius:14px;

    background:#fef2f2;

    border:1px solid #fecaca;

    color:#b91c1c;

    font-size:14px;

    text-align:center;

}

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

.login-footer{

    margin-top:35px;

    padding-top:22px;

    border-top:1px solid #e2e8f0;

    text-align:center;

    font-size:13px;

    color:#94a3b8;

}

.login-footer strong{

    color:#2563eb;

    font-weight:600;

}

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

@media(max-width:1200px){

    .branding{

        padding:50px;

    }

    .branding h1{

    font-size:58px;

    letter-spacing:3px;

    margin-bottom:8px;

    }

   .branding h2{

    font-size:30px;

    margin-bottom:40px;

    line-height:42px;

    }

    .logo{

        width:240px;

    }

}

@media(max-width:992px){

    body{

    background:

        radial-gradient(circle at top left,
        rgba(255,255,255,.08),
        transparent 30%),

        linear-gradient(
            135deg,

            #071A3D 0%,

            #0A3D91 45%,

            #1E64E5 100%

        );

    }
    .branding{

        display:none;

    }

    .login-panel{

        flex:1;

        padding:35px;

    }

    .login-card{

        max-width:460px;

    }

}

@media(max-width:576px){

    .login-panel{

        padding:18px;

    }

    .login-card{

        padding:35px 28px;

        border-radius:22px;

    }

    .login-header h2{

        font-size:28px;

    }

}