/* =======================================LOGIN - MERKATICS BOX Identidad corporativa #C6443F ======================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

body{
    font-family:'Inter',sans-serif;
    height:100vh;
    display:flex;
    overflow:hidden;
}

/* =======================================PANEL IZQUIERDO - MERKATICS======================================= */

.login-left{
    width:45%;
    background:#1E1E1E;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:60px 50px;
    position:relative;
    overflow:hidden;
}

.login-left::before{
    content:'';
    position:absolute;
    top:-120px;
    right:-120px;
    width:400px;
    height:400px;
    background:#C6443F;
    border-radius:50%;
    opacity:.18;
}

.login-left::after{
    content:'';
    position:absolute;
    bottom:-100px;
    left:-100px;
    width:350px;
    height:350px;
    background:#E95349;
    border-radius:50%;
    opacity:.12;
}

.login-left-content{
    position:relative;
    z-index:1;
    text-align:center;
}

.login-brand-logo{
    width:180px;
    margin-bottom:40px;
}

.login-brand-title{
    font-size:28px;
    font-weight:800;
    color:#ffffff;
    margin-bottom:14px;
    line-height:1.2;
}

.login-brand-sub{
    font-size:14px;
    color:rgba(255,255,255,.55);
    line-height:1.7;
    max-width:280px;
    margin:0 auto 40px;
}

.login-features{
    display:flex;
    flex-direction:column;
    gap:14px;
    width:100%;
    max-width:280px;
}

.login-feature{
    display:flex;
    align-items:center;
    gap:12px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:12px;
    padding:14px 18px;
    color:rgba(255,255,255,.80);
    font-size:13px;
    font-weight:500;
}

.login-feature-dot{
    width:8px;
    height:8px;
    background:#C6443F;
    border-radius:50%;
    flex-shrink:0;
}

/* =======================================PANEL DERECHO - FORMULARIO======================================= */

.login-right{
    flex:1;
    background:#ffffff;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:60px 50px;
}

.login-box{
    width:100%;
    max-width:380px;
}

.login-box h1{
    font-size:26px;
    font-weight:800;
    color:#1E1E1E;
    margin-bottom:8px;
    text-align:left;
}

.login-box p{
    font-size:14px;
    color:#64748b;
    margin-bottom:36px;
    text-align:left;
}

.input-group{
    text-align:left;
    margin-bottom:20px;
}

.input-group label{
    font-weight:600;
    color:#475569;
    display:block;
    margin-bottom:8px;
    font-size:13px;
}

input[type="text"],
input[type="password"]{
    width:100%;
    padding:14px 16px;
    font-size:15px;
    border:2px solid #e2e8f0;
    border-radius:12px;
    box-sizing:border-box;
    outline:none;
    transition:.25s ease;
    font-family:'Inter',sans-serif;
    color:#1E1E1E;
    background:#f8fafc;
}

input[type="text"]:focus,
input[type="password"]:focus{
    border-color:#C6443F;
    background:#ffffff;
    box-shadow:0 0 0 4px rgba(198,68,63,.10);
}

.btn-login{
    background:#C6443F;
    color:white;
    padding:16px;
    border:none;
    border-radius:12px;
    font-weight:700;
    font-size:15px;
    cursor:pointer;
    width:100%;
    transition:.25s ease;
    margin-top:8px;
    font-family:'Inter',sans-serif;
    letter-spacing:.3px;
}

.btn-login:hover{
    background:#D64D4D;
    transform:translateY(-1px);
    box-shadow:0 8px 20px rgba(198,68,63,.30);
}

.btn-login:active{
    transform:translateY(0);
}

.error-msg{
    background:#fee2e2;
    color:#991b1b;
    padding:12px 16px;
    border-radius:10px;
    margin-bottom:20px;
    font-size:13px;
    font-weight:600;
    border:1px solid #fecaca;
}

.login-footer{
    margin-top:32px;
    text-align:center;
    font-size:12px;
    color:#94a3b8;
}

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

@media(max-width:768px){

    .login-left{
        display:none;
    }

    .login-right{
        padding:40px 24px;
    }

    .login-box h1{
        text-align:center;
    }

    .login-box p{
        text-align:center;
    }
}