:root{
    --bg:#0b0f14;
    --sidebar:#121821;
    --card:#161d27;
    --hover:#1d2633;
    --border:#263041;
    --text:#ffffff;
    --text2:#9aa4b2;
    --primary:#ffffff;
    --radius:18px;
    --transition:0.25s;
    --shadow:0 10px 30px rgba(0,0,0,0.35);
}

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    font-family:'Segoe UI',sans-serif;
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;
}

/* SCROLL */

::-webkit-scrollbar{
    width:6px;
}

::-webkit-scrollbar-thumb{
    background:#2b3545;
    border-radius:20px;
}

/* SIDEBAR */

.sidebar{
    width:270px;
    height:100vh;
    background:rgba(18,24,33,0.95);
    backdrop-filter:blur(12px);
    border-right:1px solid var(--border);
    position:fixed;
    top:0;
    left:0;
    z-index:999;
    padding:22px 18px;
    transition:var(--transition);
    overflow-y:auto;
}

/* LOGO */

.sidebar-logo{
    display:flex;
    align-items:center;
    gap:14px;
    padding:10px;
    margin-bottom:35px;
}

.logo-img{
    width:48px;
    height:48px;
    object-fit:contain;
}

.sidebar-logo h2{
    font-size:20px;
    font-weight:700;
    margin:0;
    letter-spacing:0.5px;
}

/* MENU */

.sidebar ul{
    list-style:none;
}

.sidebar ul li{
    margin-bottom:10px;
}

.sidebar ul li a{
    display:flex;
    align-items:center;
    gap:14px;
    text-decoration:none;
    color:var(--text2);
    padding:15px 16px;
    border-radius:14px;
    transition:var(--transition);
    font-size:15px;
    font-weight:500;
}

.sidebar ul li a i{
    width:20px;
    text-align:center;
    font-size:16px;
}

.sidebar ul li a:hover{
    background:var(--hover);
    color:var(--text);
    transform:translateX(4px);
}

.sidebar ul li a.active{
    background:linear-gradient(135deg,#ffffff10,#ffffff05);
    color:#fff;
    border:1px solid #ffffff12;
}

/* MAIN */

.main-content{
    margin-left:270px;
    min-height:100vh;
    padding:35px;
}

/* CARDS */

.card,
.box,
.container-box{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:25px;
}

/* TABLE */

table{
    width:100%;
    border-collapse:collapse;
    background:var(--card);
    border-radius:16px;
    overflow:hidden;
}

table tr{
    border-bottom:1px solid var(--border);
}

table td,
table th{
    padding:16px;
    color:var(--text2);
}

table th{
    color:#fff;
    font-weight:600;
}

/* INPUTS */

input,
select,
textarea{
    width:100%;
    background:#111720;
    border:1px solid var(--border);
    border-radius:14px;
    padding:14px;
    color:white;
    outline:none;
    transition:var(--transition);
}

input:focus,
select:focus,
textarea:focus{
    border-color:#4b5565;
    background:#151d28;
}

/* BUTTONS */

button,
.btn{
    background:white;
    color:black;
    border:none;
    border-radius:14px;
    padding:13px 22px;
    font-weight:600;
    transition:var(--transition);
    cursor:pointer;
}

button:hover,
.btn:hover{
    transform:translateY(-2px);
    opacity:0.9;
}

/* MOBILE TOPBAR */

.mobile-topbar{
    display:none;
}

/* RESPONSIVO */

@media(max-width:950px){

    .sidebar{
        left:-100%;
        width:280px;
    }

    .sidebar.active{
        left:0;
    }

    .mobile-topbar{
        width:100%;
        height:72px;
        position:fixed;
        top:0;
        left:0;
        z-index:998;
        background:rgba(18,24,33,0.97);
        backdrop-filter:blur(10px);
        border-bottom:1px solid var(--border);

        display:flex;
        align-items:center;
        justify-content:space-between;

        padding:0 20px;
    }

    .logo-area{
        display:flex;
        align-items:center;
        gap:12px;
        font-weight:700;
        font-size:18px;
    }

    .menu-toggle{
        width:45px;
        height:45px;
        border-radius:12px;
        border:none;
        background:#1a2230;
        color:white;
        font-size:20px;
        cursor:pointer;
    }

    .main-content{
        margin-left:0;
        padding:95px 18px 25px;
    }
}

/* ANIMAÇÕES */

.sidebar,
.card,
table,
button,
input{
    transition:all .25s ease;
}

/* TITLES */

h1,h2,h3,h4,h5{
    font-weight:700;
    margin-bottom:15px;
}

/* LINKS */

a{
    text-decoration:none !important;
}