/* dashboard.css */

.dashboard-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #555;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.dashboard-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
     transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.dashboard-card h3 {
    margin-bottom: 20px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    font-size: 1.3rem;
}

/* Chart Card */
.chart-card {
    min-height: 300px; /* Ensure space for chart */
    position: relative;
}
#salesChart {
    max-height: 350px; /* Control chart height */
    width: 100% !important; /* Ensure chart takes full width */
}


/* KPI Card */
.kpi-card .kpi {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dotted #eee;
    display: flex;
    flex-direction: column;
}
.kpi-card .kpi:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.kpi-value {
    font-size: 2rem;
    font-weight: bold;
    color: #e44d26;
}

.kpi-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* Suggestions Card */
.suggestions-card ul {
    list-style: none;
    padding-left: 0;
}

.suggestions-card li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
    color: #444;
}

.suggestions-card li::before {
    content: '\f0eb'; /* FontAwesome lightbulb icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #f1c40f; /* Yellow */
}
.suggestions-card li:first-child::before {
     color: #2ecc71; /* Green */
}
.suggestions-card li:nth-child(2)::before {
     color: #3498db; /* Blue */
}


/* Pricing Card */
.pricing-card p {
    margin-bottom: 20px;
    color: #555;
}
.pricing-card .btn {
    background-color: #555;
    color: #fff;
}
.pricing-card .btn:hover {
     background-color: #333;
}


/* Ensure section padding is sufficient */
.page-section {
    padding-top: 100px; /* Adjust based on fixed navbar height */
    padding-bottom: 60px;
}