/* BASE */
body {
    margin: 0;
    background: #f5f5f5;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #111;
}

/* LAYOUT */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
    width: 250px;
    background: #000;
    position: fixed;
    height: 100%;
}

.sidebar-logo {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid #26BD04;
}

.sidebar-logo img {
    max-width: 160px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li a {
    display: block;
    padding: 15px 20px;
    color: #ddd;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.sidebar-menu li a:hover,
.sidebar-menu li.active a {
    background: #26BD04;
    color: #fff;
}

.sidebar-menu li.logout a {
    color: #26BD04;
}

/* CONTEÚDO */
.main-content {
    margin-left: 250px;
    padding: 30px;
    width: 100%;
}

/* HEADER */
.content-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
}

.content-header p {
    color: #666;
    margin-bottom: 30px;
}

/* KPI */
.kpi-card {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.kpi-card span {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
}

.kpi-card h2 {
    margin-top: 12px;
    font-size: 26px;
    font-weight: 600;
}

.kpi-card.negativo h2 {
    color: #000;
}

.kpi-card.positivo {
    border: 2px solid #26BD04;
}

.kpi-card.positivo h2 {
    color: #26BD04;
}

/* BOX */
.box {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.box h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

/* RESUMO */
.box.resumo .linha {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 15px;
}

.box.resumo .linha.destaque {
    border-top: 1px solid #eee;
    padding-top: 14px;
    font-size: 17px;
    color: #26BD04;
}

/* RESPONSIVO */
@media (max-width: 768px) {

    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
    }

    .main-content {
        margin-left: 0;
    }

    .dashboard-wrapper {
        flex-direction: column;
    }
}


/* ANIMAÇÕES */
.kpi-animate,
.box-animate {
    opacity: 0;
    position: relative;
}

.kpi-animate {
    top: 20px;
}

.box-animate {
    left: -20px;
}

/* HOVER BOX */
.kpi-card,
.box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kpi-card:hover,
.box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* MENU */
.sidebar-menu li a {
    transition: background 0.3s ease;
}













/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f2f2f2;
    height: 100vh;
}

/* LOGIN WRAPPER */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* LOGIN BOX */
.login-box {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* LOGO */
.login-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

/* TITULO */
.login-title {
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 600;
    color: #26BD04;
}

/* FORM GROUP */
.form-signin .form-group label {
    font-weight: 500;
    color: #000;
}

.form-signin .form-control {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 10px 12px;
}

/* BOTÃO */
.btn-success {
    background: #26BD04;
    border-color: #26BD04;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-success:hover {
    background: #1fa803;
    border-color: #1fa803;
}

/* SMALL */
.text-muted {
    font-size: 12px;
    color: #666;
}

/* RESPONSIVO */
@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }
}