/* Estilos gerais */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

.container {
    flex: 1;
}

/* Navbar estilo produção */
.navbar {
    background: linear-gradient(90deg, #2c3e50 0%, #34495e 100%) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-weight: bold;
    color: #fff !important;
    font-size: 1.4rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    transition: all 0.3s;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

/* Dashboard Cards */
.stats-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

/* Cores dos ícones com gradientes */
.bg-success-soft {
    background: linear-gradient(135deg, #d4f8e8 0%, #a8e6cf 100%) !important;
    color: #28a745 !important;
}

.bg-danger-soft {
    background: linear-gradient(135deg, #ffe5e5 0%, #ffcccc 100%) !important;
    color: #dc3545 !important;
}

.bg-primary-soft {
    background: linear-gradient(135deg, #d9ecff 0%, #b3d9ff 100%) !important;
    color: #007bff !important;
}

.bg-warning-soft {
    background: linear-gradient(135deg, #fff9e6 0%, #ffeb99 100%) !important;
    color: #ffc107 !important;
}

.bg-info-soft {
    background: linear-gradient(135deg, #d6eef8 0%, #b3e0f2 100%) !important;
    color: #17a2b8 !important;
}

/* Valores dos cards */
.stats-value {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 8px;
}

.stats-label {
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.stats-change {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Botões estilo produção */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 10px 24px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s;
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: #fff;
}

/* Cards dos gráficos */
.chart-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 24px;
    height: 100%;
}

.chart-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.chart-card p {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 20px;
}

/* Lista de atividades */
.activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e9ecef;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 18px;
}

.activity-details {
    flex: 1;
}

.activity-title {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 4px;
}

.activity-date {
    color: #6c757d;
    font-size: 0.875rem;
}

.activity-amount {
    font-weight: 600;
    font-size: 1rem;
}

/* Top despesas */
.expense-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expense-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.expense-item:last-child {
    border-bottom: none;
}

.expense-name {
    color: #2c3e50;
    font-weight: 500;
}

.expense-amount {
    color: #dc3545;
    font-weight: 600;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 20px 0;
    margin-top: 50px;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .stats-card {
        margin-bottom: 16px;
    }
    
    .stats-value {
        font-size: 1.5rem !important;
    }
}

/* Card hover e animações */
.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}