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

:root{

    --bg:#0F172A;
    --card:#182335;
    --card-hover:#1E293B;

    --text:#F8FAFC;
    --muted:#94A3B8;

    --blue:#1D4ED8;
    --blue2:#2563EB;

    --orange:#F97316;
    --orange2:#FB923C;

    --border:#2E3A4F;

    --shadow:0 20px 60px rgba(0,0,0,.45);

}

body{

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

    background:var(--bg);

    color:var(--text);

    overflow-x:hidden;

    overflow-y:auto;

}

.background-glow{

    position:fixed;

    width:550px;

    height:550px;

    border-radius:50%;

    filter:blur(120px);

    opacity:.12;

    z-index:0;

}

.glow-left{

    left:-180px;
    top:-180px;

    background:#2563EB;

}

.glow-right{

    right:-180px;
    bottom:-180px;

    background:#F97316;

}

.login-wrapper{

    width:100vw;
    height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

    z-index:2;

    padding:25px;

}

.login-card{

    width:430px;

    background:rgba(24,35,53,.95);

    backdrop-filter:blur(14px);

    border:1px solid var(--border);

    border-radius:24px;

    padding:48px;

    box-shadow:var(--shadow);

}

.logo-area{

    text-align:center;

    margin-bottom:40px;

}

.logo-area img{

    width:240px;

    margin-bottom:28px;

}

.logo-area h1{

    font-size:28px;

    font-weight:700;

    margin-bottom:10px;

}

.logo-area p{

    color:var(--muted);

    font-size:15px;

}

form{

    display:flex;

    flex-direction:column;

    gap:22px;

}

label{

    display:flex;

    flex-direction:column;

    gap:10px;

    font-size:14px;

    color:var(--muted);

}

input{

    height:56px;

    background:#0F172A;

    border:1px solid var(--border);

    border-radius:14px;

    padding:0 18px;

    color:white;

    font-size:16px;

    transition:.25s;

}

input:focus{

    outline:none;

    border-color:var(--blue2);

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

}

button{

    margin-top:10px;

    height:56px;

    border:none;

    border-radius:14px;

    cursor:pointer;

    font-size:16px;

    font-weight:700;

    color:white;

    background:linear-gradient(
        135deg,
        var(--orange),
        var(--orange2)
    );

    transition:.25s;

}

button:hover{

    transform:translateY(-2px);

    box-shadow:0 14px 30px rgba(249,115,22,.35);

}

#erroLogin{

    margin-top:22px;

    min-height:22px;

    color:#F87171;

    text-align:center;

    font-size:14px;

}

footer{

    margin-top:40px;

    text-align:center;

    color:#64748B;

    font-size:13px;

}

@media(max-width:600px){

    .login-card{

        width:100%;

        padding:35px 28px;

    }

    .logo-area img{

        width:200px;

    }

    .logo-area h1{

        font-size:24px;

    }

}

/* =========================================================
   DASHBOARD
========================================================= */

.sidebar{

    position:fixed;

    left:0;
    top:0;

    width:260px;
    height:100vh;

    background:#162133;

    border-right:1px solid #243247;

    padding:30px;

}

.sidebar .logo{

    width:170px;

    display:block;

    margin:0 auto 20px auto;

}

.sidebar h2{

    text-align:center;

    font-size:24px;

    margin-bottom:8px;

}

.sidebar small{

    display:block;

    text-align:center;

    color:#94A3B8;

    margin-bottom:40px;

}

.sidebar nav{

    display:flex;

    flex-direction:column;

    gap:8px;

}

.sidebar nav a{

    display:block;

    text-decoration:none;

    color:#CBD5E1;

    padding:14px 18px;

    border-radius:12px;

    transition:.20s;

    cursor:pointer;

}

.sidebar nav a:hover{

    background:#223149;

}

.sidebar nav .active{

    background:#F97316;

    color:#FFF;

    font-weight:600;

}

.content{

    margin-left:260px;

    min-height:100vh;

    padding:40px;

    overflow-y:auto;

}

header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:35px;

}

header h1{

    font-size:34px;

    margin-bottom:5px;

}

header span{

    color:#94A3B8;

}

.cards{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

    margin-bottom:35px;

}

.card{

    background:#182335;

    border:1px solid #2E3A4F;

    border-radius:18px;

    padding:25px;

}

.card h3{

    color:#94A3B8;

    font-size:15px;

    margin-bottom:15px;

}

.card strong{

    font-size:34px;

}

.painel{

    background:#182335;

    border:1px solid #2E3A4F;

    border-radius:20px;

    padding:30px;

}

.painel h2{

    margin-bottom:25px;

}

.totem-card{

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:#111C2C;

    border:1px solid #2E3A4F;

    border-radius:16px;

    padding:22px;

    margin-bottom:16px;

    transition:.20s;

}

.totem-card:hover{

    transform:translateY(-2px);

    border-color:#F97316;

}

.totem-card h3{

    margin-bottom:8px;

}

.totem-card p{

    color:#94A3B8;

}
