/* ===========================
   BASE GERAL DO SISTEMA
=========================== */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #0b0b12, #1b1b2b, #111119);
    min-height: 100vh;
    color: #e1e1e6;
}

/* Containers padrão */
.container {
    width: 95%;
    max-width: 1200px;
    margin: auto;
}

/* ===========================
   PAINÉIS E ELEMENTOS INTERNOS
=========================== */
.panel {
    background: #15151c;
    padding: 22px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.45);
}

.panel h2 {
    color: #f3c76b;
    margin: 0 0 10px 0;
    font-size: 30px;
}

/* ===========================
   FILTROS / FORMULÁRIOS
=========================== */
.filter-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin: 12px 0 18px;
}

.filter-row label {
    color: #cfcfcf;
    font-size: 14px;
}

.filter-row select,
.filter-row input[type="date"],
input, select {
    background: #1e1e26;
    color: #eee;
    border: 1px solid #333;
    padding: 8px 10px;
    border-radius: 6px;
}

/* ===========================
   TABELAS
=========================== */
.table-container {
    overflow: auto;
    border-radius: 8px;
}

.fin-table {
    width: 100%;
    border-collapse: collapse;
    background: #111217;
    color: #e9eef6;
}

.fin-table th {
    background: #16161b;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid #24242b;
}

.fin-table td {
    padding: 12px;
    border-bottom: 1px solid #1b1b21;
}

.fin-table tr:hover {
    background: #1b1b22;
}

/* Caixa de total */
.total-box {
    background: #0e0e12;
    color: #f3c76b;
    padding: 14px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 18px;
    border: 1px solid #27272d;
    font-size: 26px;
}

/* ===========================
   LOGO
=========================== */
.logo-ipr {
    width: 160px;
    max-width: 40%;
    height: auto;
    margin: 10px 0 18px;
    opacity: 0.95;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.35));
}

/* ===========================
   MENU LATERAL
=========================== */
.side-menu {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100%;
    background: #13131a;
    padding-top: 80px;
    transition: 0.3s;
    box-shadow: 4px 0 18px rgba(0,0,0,0.4);
    z-index: 999;
}

.side-menu.open {
    left: 0;
}

.side-menu a {
    display: block;
    padding: 14px 22px;
    color: #dcdce1;
    text-decoration: none;
    border-bottom: 1px solid #1c1c24;
    font-size: 16px;
}

.side-menu a:hover {
    background: #1f1f2a;
}

/* ===========================
   TOPO / HEADER
=========================== */
.topbar {
    background: #16161d;
    padding: 15px 0;
    color: #e1e1e6;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    position: sticky;
    top: 0;
    z-index: 900;
}

.topbar h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

/* ===========================
   MENU HAMBÚRGUER
=========================== */
.hamburger {
    width: 32px;
    cursor: pointer;
    display: inline-block;
    margin-right: 15px;
}

.hamburger span {
    background: #fff;
    height: 4px;
    width: 100%;
    display: block;
    margin: 5px 0;
    border-radius: 4px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===========================
   MAIN
=========================== */
main.container {
    padding-top: 20px;
}

