body { 
    font-family: 'Inter', sans-serif; 
    background-color: #f8fafc; 
}

/* === ESTILOS DE RESPONSIVIDADE INÍCIO === */
.sidebar {
    transition: transform 0.3s ease-in-out;
    width: 260px;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    z-index: 100;
}

.sidebar-hidden {
    transform: translateX(-100%);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    transition: opacity 0.3s ease-in-out;
}

@media (max-width: 767px) {
    .responsive-table thead { display: none; }
    .responsive-table tr { 
        display: block; 
        background-color: #fff; 
        border: 1px solid #e5e7eb; 
        border-radius: 0.75rem; 
        padding: 1rem; 
        margin-bottom: 1rem; 
        box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05); 
    }
    .responsive-table td { 
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        padding: 0.75rem 0.25rem; 
        border-bottom: 1px solid #f3f4f6; 
        text-align: right; 
    }
    .responsive-table td:last-child { border-bottom: none; }
    .responsive-table td::before { 
        content: attr(data-label); 
        font-weight: 600; 
        text-align: left; 
        margin-right: 1rem; 
        color: #4b5563; 
    }
}

@media (min-width: 1024px) {
    .sidebar { transform: translateX(0) !important; }
    .main-content { margin-left: 260px; }
    #mobile-header { display: none; }
}
/* === ESTILOS DE RESPONSIVIDADE FIM === */

.modal-backdrop { 
    background-color: rgba(0, 0, 0, 0.6); 
}

.toast { 
    visibility: hidden; 
    min-width: 250px; 
    background-color: #334155; 
    color: #fff; 
    text-align: center; 
    border-radius: 8px; 
    padding: 16px; 
    position: fixed; 
    z-index: 110; 
    left: 50%; 
    transform: translateX(-50%); 
    bottom: 30px; 
    transition: visibility 0s, opacity 0.5s linear; 
    opacity: 0; 
}

.toast.show { 
    visibility: visible; 
    opacity: 1; 
}

.page-container { 
    display: none; 
}

.page-container.active { 
    display: block; 
}

@media print {
    body * { visibility: hidden; }
    #report-printable-area, #report-printable-area * { visibility: visible; }
    #report-printable-area { 
        position: absolute; 
        left: 0; 
        top: 0; 
        width: 100%; 
    }
    .no-print { display: none; }
}
