
:root{
    --primary:#0B1F3A;
    --secondary:#174A84;
    --accent:#C8A96B;
    --bg:#F4F7FA;
    --text:#1C2434;
}

body{
    margin:0;
    font-family:'Inter',sans-serif;
    overflow-x:hidden;
    background:var(--bg);
}

.login-wrapper{
    min-height:100vh;
    padding:0;
    margin:0;
}

.login-left{
    position:relative;
    background:
        linear-gradient(
            135deg,
            rgba(11,31,58,.95),
            rgba(23,74,132,.92)
        ),
        url('https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?q=80&w=1600');

    background-size:cover;
    background-position:center;

    color:white;

    padding:80px;
}

.overlay-pattern{
    position:absolute;
    inset:0;
    background-image:
        radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);

    background-size:20px 20px;
}

.brand-zone{
    position:relative;
    z-index:2;
    max-width:600px;
}

.brand-title{
    font-size:64px;
    font-weight:700;
    letter-spacing:-2px;
}

.brand-subtitle{
    margin-top:25px;
    font-size:18px;
    line-height:1.9;
    opacity:.92;
}

.feature-list{
    margin-top:50px;
}

.feature-item{
    display:flex;
    align-items:center;
    margin-bottom:18px;
    font-size:15px;
}

.feature-icon{
    width:42px;
    height:42px;
    border-radius:12px;
    background:rgba(255,255,255,.12);

    display:flex;
    align-items:center;
    justify-content:center;

    margin-right:15px;
}

.login-right{
    background:white;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:50px;
}

.login-card{
    width:100%;
    max-width:470px;
}

.card-premium{
    border:none;
    border-radius:28px;

    box-shadow:
        0 10px 30px rgba(15,23,42,.06),
        0 25px 60px rgba(15,23,42,.08);

    overflow:hidden;
}

.card-body{
    padding:50px;
}

.welcome-badge{
    display:inline-flex;
    align-items:center;

    background:#EEF4FF;

    color:var(--secondary);

    padding:10px 16px;

    border-radius:50px;

    font-size:13px;
    font-weight:600;

    margin-bottom:20px;
}

.login-title{
    font-size:34px;
    font-weight:700;
    color:var(--text);
    letter-spacing:-1px;
}

.login-subtitle{
    color:#7A8599;
    margin-top:10px;
    line-height:1.8;
}

.form-label{
    font-weight:600;
    margin-bottom:10px;
    color:#2B3445;
}

.form-control{
    height:56px;
    border-radius:16px;
    border:1px solid #E2E8F0;

    padding-left:18px;

    font-size:15px;

    transition:.25s;
}

.form-control:focus{
    border-color:var(--secondary);

    box-shadow:
        0 0 0 4px rgba(23,74,132,.08);
}

.btn-login{
    height:56px;

    border:none;

    border-radius:16px;

    background:
        linear-gradient(
            135deg,
            var(--secondary),
            var(--primary)
        );

    color:white;

    font-weight:600;

    transition:.3s;
}

.btn-login:hover{
    transform:translateY(-1px);
    color: white;
    box-shadow:
        0 15px 30px rgba(11,31,58,.18);
}

.footer-note{
    margin-top:30px;
    text-align:center;
    color:#8B95A7;
    font-size:13px;
}

.flash-wrapper{
    position:fixed;

    top:24px;
    right:24px;

    z-index:9999;

    width:380px;
}

.flash-message{
    position:relative;

    display:flex;
    align-items:flex-start;

    padding:20px;

    border-radius:24px;

    margin-bottom:18px;

    overflow:hidden;

    backdrop-filter:blur(14px);

    animation:
        flashSlide .35s ease;

    box-shadow:
        0 20px 50px rgba(15,23,42,.12);
}

.flash-success{
    background:
        linear-gradient(
            135deg,
            rgba(15,157,88,.95),
            rgba(11,110,61,.95)
        );

    color:white;
}

.flash-error{
    background:
        linear-gradient(
            135deg,
            rgba(229,57,53,.95),
            rgba(183,28,28,.95)
        );

    color:white;
}

.flash-warning{
    background:
        linear-gradient(
            135deg,
            rgba(244,161,0,.95),
            rgba(212,136,6,.95)
        );

    color:white;
}

.flash-info{
    background:
        linear-gradient(
            135deg,
            rgba(23,74,132,.95),
            rgba(11,31,58,.95)
        );

    color:white;
}

.flash-icon{
    width:54px;
    height:54px;

    border-radius:18px;

    background:
        rgba(255,255,255,.14);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:24px;

    margin-right:16px;

    flex-shrink:0;
}

.flash-content{
    flex:1;
}

.flash-title{
    font-size:16px;
    font-weight:700;

    margin-bottom:4px;
}

.flash-text{
    font-size:14px;
    opacity:.95;

    line-height:1.5;
}

.flash-close{
    border:none;

    background:none;

    color:white;

    opacity:.8;

    margin-left:10px;

    transition:.2s;
}

.flash-close:hover{
    opacity:1;
    transform:scale(1.1);
}

@keyframes flashSlide{

    from{
        opacity:0;
        transform:
            translateX(40px);
    }

    to{
        opacity:1;
        transform:
            translateX(0);
    }
}

@media(max-width:991px){

    body{
        overflow:auto;
    }

    .login-right{
        padding:25px;
    }

    .card-body{
        padding:35px 25px;
    }

}