/* Dashboard Styles */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.dashboard-grid > div {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s;
}

.dashboard-grid > div:hover {
    box-shadow: var(--shadow-md);
}

/* Progress Card */
.progress-card {
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 1s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-weight: bold;
}

.progress-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Stats Card */
.stats-list {
    list-style: none;
    padding: 0;
}

.stats-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

.stats-list li:last-child {
    border-bottom: none;
}

.stats-list span {
    font-weight: 600;
    color: var(--primary-color);
}

/* Quick Start Card */
.quick-start-card {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.quick-start-card h3 {
    color: white;
}

.quick-start-card p {
    margin: 1rem 0;
    opacity: 0.9;
}

.quick-start-card .btn-primary {
    background: white;
    color: var(--primary-color);
}

.quick-start-card .btn-primary:hover {
    background: var(--light-bg);
}

/* Recent Activity */
.activity-list {
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
}

.activity-list li {
    padding: 0.75rem;
    border-left: 3px solid var(--secondary-color);
    margin-bottom: 0.5rem;
    background: var(--light-bg);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 0.9rem;
}

/* Analyzer Section */
.analyzer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.analyzer-input,
.analyzer-results {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.analyzer-results {
    position: relative;
}

.analyzer-results.hidden::after {
    content: "Submit your business data to see analysis";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-light);
    font-style: italic;
}

#results-content {
    line-height: 1.8;
}

.result-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: var(--radius);
}

.result-section h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.recommendation {
    padding: 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--secondary-color);
    margin: 0.5rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.warning {
    padding: 0.75rem;
    background: rgba(245, 158, 11, 0.1);
    border-left: 3px solid var(--accent-color);
    margin: 0.5rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* Module Filters */
.module-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .analyzer-container {
        grid-template-columns: 1fr;
    }

    .module-filters {
        justify-content: center;
    }
}