.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.dashboard-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.dashboard-subtitle {
    font-size: 16px;
    color: #64748b;
    margin: 0;
}

.dashboard-date {
    font-size: 14px;
    color: #64748b;
    padding: 8px 16px;
    background: #f1f5f9;
    border-radius: 8px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-card-primary .stat-icon {
    background: #e0e7ff;
    color: #4f46e5;
}

.stat-card-success .stat-icon {
    background: #d1fae5;
    color: #10b981;
}

.stat-card-warning .stat-icon {
    background: #fef3c7;
    color: #f59e0b;
}

.stat-card-info .stat-icon {
    background: #dbeafe;
    color: #3b82f6;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 8px 0;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.stat-change {
    font-size: 12px;
    color: #64748b;
}

.stat-change.positive {
    color: #10b981;
}

.dashboard-section {
    margin-bottom: 32px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 16px 0;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.action-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1e293b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #1e293b;
}

.action-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-icon-primary {
    background: #e0e7ff;
    color: #4f46e5;
}

.action-icon-success {
    background: #d1fae5;
    color: #10b981;
}

.action-icon-warning {
    background: #fef3c7;
    color: #f59e0b;
}

.action-icon-info {
    background: #dbeafe;
    color: #3b82f6;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.dashboard-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.card-filter {
    padding: 6px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
}

.card-link {
    font-size: 14px;
    color: #4f46e5;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

.card-body {
    padding: 24px;
}

.chart-placeholder {
    padding: 20px 0;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
    gap: 8px;
    margin-bottom: 16px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, #4f46e5, #818cf8);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
}

.bar-value {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
}

.chart-labels {
    display: flex;
    justify-content: space-around;
    font-size: 12px;
    color: #64748b;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon-success {
    background: #d1fae5;
    color: #10b981;
}

.activity-icon-warning {
    background: #fef3c7;
    color: #f59e0b;
}

.activity-icon-info {
    background: #dbeafe;
    color: #3b82f6;
}

.activity-icon-primary {
    background: #e0e7ff;
    color: #4f46e5;
}

.activity-content {
    flex: 1;
}

.activity-text {
    font-size: 14px;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.activity-time {
    font-size: 12px;
    color: #64748b;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-label {
    font-size: 14px;
    color: #64748b;
}

.summary-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}