* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    display: flex;
    background: linear-gradient(135deg, #0a0f1f, #111827, #1e293b);
    color: #fff;
}

/* SIDEBAR */
.sidebar {
    width: 260px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 30px 20px;
    position: sticky;
}

.sidebar h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 26px;
    letter-spacing: 2px;
    color: #38bdf8;
    text-shadow: 0 0 8px #38bdf8;
}

.sidebar ul li {
    margin: 20px 0;
    font-size: 17px;
    opacity: 0.75;
    cursor: pointer;
    transition: 0.3s;
}

.sidebar ul li:hover {
    opacity: 1;
    transform: translateX(6px);
    color: #38bdf8;
}

/* CONTEÚDO PRINCIPAL */
.content {
    flex: 1;
    padding: 40px;
}

h1 {
    margin-bottom: 20px;
    font-size: 32px;
    text-shadow: 0 0 10px #0ea5e9;
}

/* CARDS */
.cards {
    display: flex;
    gap: 25px;
}

.card {
    flex: 1;
    padding: 25px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 0 18px rgba(0, 238, 255, 0.15);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(0, 238, 255, 0.35);
}

.card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #7dd3fc;
}

.card p {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

/* GRÁFICOS */
.charts {
    margin-top: 40px;
    display: flex;
    gap: 25px;
}

.chart-box {
    flex: 1;
    padding: 30px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(14px);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.2);
}

.chart-box h3 {
    margin-bottom: 15px;
    color: #38bdf8;
    text-shadow: 0 0 8px #38bdf8;
}

/* GRÁFICO CANVAS */
canvas {
    width: 100% !important;
    height: 300px !important;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .cards, .charts {
        flex-direction: column;
    }

    .sidebar {
        display: none;
    }

    .content {
        padding: 20px;
    }
}
.lista {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.item {
    background: rgba(255, 255, 255, 0.06);
    padding: 20px;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
}

.item img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    margin-right: 20px;
}

.item-info {
    flex: 1;
}

.item h3 {
    margin-bottom: 5px;
}

.btn {
    padding: 8px 14px;
    background: #38bdf8;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: #000;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #0ea5e9;
}

/* ocultar telas */
.tela {
    display: none;
}

.tela.ativa {
    display: block;
}
/* BOTÃO TEMA */
.theme-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #38bdf8;
    border: none;
    padding: 12px 15px;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
}

/* MODO CLARO */
.light-mode body {
    background: #e5e7eb;
    color: #000;
}

.light-mode .sidebar {
    background: #fff;
    color: #000;
}

.light-mode .card,
.light-mode .chart-box,
.light-mode .item {
    background: #fff;
    color: #000;
}

.light-mode .theme-btn {
    background: #000;
    color: #fff;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    width: 350px;
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.modal-content img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.close {
    float: right;
    font-size: 25px;
    cursor: pointer;
    margin: -10px -10px 0 0;
}
