/* CSS Padrão para todas as páginas do Dashboard Financeiro */
.sidebar {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.nav-link {
    color: rgba(255,255,255,.8);
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    background-color: rgba(255,255,255,.1);
    border-radius: 5px;
}

/* Estilo para impressão */
@media print {
    .no-print { 
        display: none !important; 
    }
    .sidebar { 
        display: none !important; 
    }
    .col-md-9 { 
        flex: 0 0 100% !important; 
        max-width: 100% !important; 
    }
    main {
        margin-left: 0 !important;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        z-index: 1000;
        transition: left 0.3s;
    }
    
    .sidebar.show {
        left: 0;
    }
}

/* Estilos para tabelas */
.table-responsive {
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 0.375rem;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

/* Botões */
.btn {
    border-radius: 0.375rem;
}

/* Alerts */
.alert {
    border-radius: 0.375rem;
}

/* Upload area */
.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 0.375rem;
    padding: 3rem;
    text-align: center;
    background-color: #f8f9fa;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: #0d6efd;
    background-color: #e3f2fd;
}

.upload-area.dragover {
    border-color: #0d6efd;
    background-color: #e3f2fd;
}
