/* ===========================
   Dashboard Page Specific Styles
=========================== */

/* Dashboard Metric Card Custom Styles */
.dashboard-metric-card {
    background-color: var(--bg-secondary);       /* A lighter or different background */
    border: 2px solid var(--border-secondary);       /* A slightly thicker, softer border */
    border-radius: 8px;
    box-shadow: 0 2px 3px var(--shadow-light);
    padding: 15px;
    text-align: center;
    min-height: 100px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.dashboard-metric-card .card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-primary);                /* Dark text */
    margin-bottom: 5px;
}

.dashboard-metric-card .card-value {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--text-primary);
}

/* Specific Value Styling for Cards */
#income-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--brand-green);  /* Green for income */
}
#expenses-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--brand-red);  /* Red for expenses */
}
#savings-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--brand-yellow);  /* Yellow for savings */
}
#health-score {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--brand-purple-dark);  /* Purple for financial health */
}

/* Checklist Styling */
.allocation-checklist {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.allocation-checklist .d-flex.flex-wrap label {
    margin-right: 10px;
    color: var(--text-primary);
}
.allocation-checklist input[type="checkbox"] {
    margin-right: 5px;
    accent-color: var(--brand-purple-dark); /* Use primary purple color (#be4afc) for checkboxes */
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Visualization Section */
.dashboard-visualization-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow-light);
    padding: 15px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.dashboard-visualization-card h6 {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.card-modern {
    background: var(--bg-primary);
    border-radius: 1.25rem;
    padding: 1rem;
    height: 350px;
    overflow: hidden;
    box-shadow: 0 2px 12px var(--shadow-light);
    width: 58.33%; /* 7/12 */
    transition: background-color 0.3s ease;
}

.stat-box {
    background: var(--bg-tertiary);
    padding: 0.5rem;
    border-radius: 0.5rem;
    width: 48%;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s ease;
}

.vendor-pill {
    background-color: var(--bg-quaternary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

