/* Financial Dashboard Styles */
.lm-financial-overview .summary-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.card h4 {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 14px;
    font-weight: normal;
}

.card .amount {
    font-size: 24px;
    font-weight: bold;
}

.card.revenue .amount { color: #46b450; }
.card.expense .amount { color: #d63638; }
.card.profit.positive .amount { color: #46b450; }
.card.profit.negative .amount { color: #d63638; }

.period-selector {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.period-selector label {
    font-weight: 500;
}

.breakdown-section {
    margin-bottom: 30px;
}

.breakdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.breakdown-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.breakdown-list .category {
    font-weight: 500;
}

.breakdown-list .amount {
    font-weight: bold;
}

.breakdown-list .percentage {
    color: #666;
    font-size: 14px;
}

.lm-financial-chart {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.lm-profitability-analysis table {
    margin-top: 20px;
}

.lm-profitability-analysis .positive {
    color: #46b450;
    font-weight: bold;
}

.lm-profitability-analysis .negative {
    color: #d63638;
    font-weight: bold;
}

.profitability-chart {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.breed-analysis {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}

.breed-analysis h4 {
    margin-top: 0;
    color: #333;
}

.breed-analysis a {
    color: #1565c0;
    text-decoration: none;
}

.breed-analysis a:hover {
    text-decoration: underline;
}

/* Financial Post Type List Styles */
.column-amount {
    width: 120px;
    text-align: right;
}

.column-category, .column-source {
    width: 150px;
}

.column-expense_date, .column-revenue_date {
    width: 120px;
}

/* Media Queries */
@media (max-width: 768px) {
    .lm-financial-overview .summary-cards {
        grid-template-columns: 1fr;
    }
    
    .breakdown-list li {
        flex-direction: column;
        gap: 5px;
    }
}