/* =========================================
   RESET
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* =========================================
   BODY
========================================= */

body{
    font-family:'Poppins', sans-serif;
    background:#0f172a;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow-x:hidden;
    position:relative;
    padding:20px;
}

/* =========================================
   FUNDO
========================================= */

.bg-circle{
    position:absolute;
    border-radius:50%;
    filter:blur(100px);
    opacity:0.5;
    animation:float 10s infinite alternate;
    z-index:1;
}

.circle-1{
    width:400px;
    height:400px;
    background:#2563eb;
    top:-120px;
    left:-120px;
}

.circle-2{
    width:350px;
    height:350px;
    background:#7c3aed;
    bottom:-120px;
    right:-120px;
}

/* =========================================
   CONTAINER
========================================= */

.login-container{
    width:100%;
    max-width:1200px;
    min-height:680px;
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.08);
    backdrop-filter:blur(25px);
    border-radius:35px;
    overflow:hidden;
    display:flex;
    position:relative;
    z-index:10;
    box-shadow:
    0 20px 50px rgba(0,0,0,0.45),
    inset 0 0 20px rgba(255,255,255,0.03);
}

/* =========================================
   LEFT SIDE
========================================= */

.login-left{
    width:50%;
    padding:70px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    color:white;
}

.logo{
    font-size:42px;
    font-weight:700;
    margin-bottom:45px;
}

.logo span{
    color:#60a5fa;
}

.login-left h1{
    font-size:55px;
    line-height:1.1;
    margin-bottom:25px;
    font-weight:700;
}

.login-left p{
    font-size:17px;
    line-height:1.8;
    color:#cbd5e1;
    margin-bottom:45px;
}

/* =========================================
   FEATURES
========================================= */

.features{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.feature-item{
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.06);
    padding:18px 20px;
    border-radius:18px;
    transition:0.3s;
    backdrop-filter:blur(10px);
    font-size:15px;
}

.feature-item:hover{
    transform:translateX(8px);
    background:rgba(255,255,255,0.12);
}

/* =========================================
   RIGHT SIDE
========================================= */

.login-right{
    width:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:50px;
}

/* =========================================
   CARD LOGIN
========================================= */

.login-card{
    width:100%;
    max-width:430px;
    background:white;
    padding:45px;
    border-radius:30px;
    box-shadow:
    0 10px 40px rgba(0,0,0,0.18);
    animation:fadeUp 0.5s ease;
}

.login-card h2{
    font-size:38px;
    color:#111827;
    margin-bottom:10px;
    font-weight:700;
}

.subtitle{
    color:#6b7280;
    margin-bottom:35px;
    font-size:15px;
}

/* =========================================
   INPUTS
========================================= */

.input-group{
    margin-bottom:22px;
}

.input-group label{
    display:block;
    margin-bottom:10px;
    font-size:14px;
    font-weight:600;
    color:#374151;
}

.input-group input{
    width:100%;
    height:58px;
    border:2px solid #e5e7eb;
    border-radius:16px;
    padding:0 18px;
    outline:none;
    font-size:15px;
    transition:0.3s;
    background:#f9fafb;
}

.input-group input:focus{
    border-color:#2563eb;
    background:white;
    box-shadow:0 0 0 5px rgba(37,99,235,0.12);
}

/* =========================================
   REMEMBER
========================================= */

.remember{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:28px;
    gap:15px;
    flex-wrap:wrap;
}

.remember label{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:14px;
    color:#374151;
}

.remember a{
    color:#2563eb;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
}

.remember a:hover{
    text-decoration:underline;
}

/* =========================================
   BOTÃO
========================================= */

.btn-login{
    width:100%;
    height:58px;
    border:none;
    border-radius:18px;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:white;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
    box-shadow:0 10px 20px rgba(37,99,235,0.25);
}

.btn-login:hover{
    transform:translateY(-3px);
    box-shadow:0 15px 30px rgba(37,99,235,0.35);
}

/* =========================================
   REGISTER
========================================= */

.register-link{
    margin-top:28px;
    text-align:center;
    color:#6b7280;
    font-size:14px;
}

.register-link a{
    color:#2563eb;
    font-weight:700;
    text-decoration:none;
}

.register-link a:hover{
    text-decoration:underline;
}

/* =========================================
   ALERT ERROR
========================================= */

.alert-error{
    width:100%;
    background:#fee2e2;
    color:#dc2626;
    padding:15px;
    border-radius:15px;
    margin-bottom:25px;
    font-size:14px;
    border:1px solid #fecaca;
}

/* =========================================
   ANIMAÇÕES
========================================= */

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(25px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

@keyframes float{

    from{
        transform:translateY(0px) translateX(0px);
    }

    to{
        transform:translateY(30px) translateX(20px);
    }

}

/* =========================================
   NOTEBOOK
========================================= */

@media(max-width:1100px){

    .login-left{
        padding:50px;
    }

    .login-left h1{
        font-size:42px;
    }

}

/* =========================================
   TABLET
========================================= */

@media(max-width:900px){

    .login-container{
        flex-direction:column;
        min-height:auto;
    }

    .login-left{
        width:100%;
        padding:50px 40px;
        text-align:center;
        align-items:center;
    }

    .login-right{
        width:100%;
        padding:40px;
    }

    .features{
        width:100%;
        max-width:500px;
    }

    .login-left h1{
        font-size:38px;
    }

}

/* =========================================
   MOBILE
========================================= */

@media(max-width:600px){

    body{
        padding:12px;
    }

    .login-container{
        border-radius:25px;
    }

    .login-left{
        padding:40px 25px;
    }

    .login-left h1{
        font-size:30px;
    }

    .login-left p{
        font-size:15px;
    }

    .logo{
        font-size:34px;
    }

    .feature-item{
        font-size:14px;
        padding:16px;
    }

    .login-right{
        padding:20px;
    }

    .login-card{
        padding:35px 25px;
        border-radius:25px;
    }

    .login-card h2{
        font-size:30px;
    }

    .input-group input{
        height:54px;
        font-size:14px;
    }

    .btn-login{
        height:54px;
        font-size:15px;
    }

}

/* =========================================
   CELULARES PEQUENOS
========================================= */

@media(max-width:400px){

    .login-left h1{
        font-size:26px;
    }

    .login-card{
        padding:28px 20px;
    }

    .login-card h2{
        font-size:26px;
    }

    .remember{
        flex-direction:column;
        align-items:flex-start;
    }

}