.am-dashboard-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    max-width: 1200px;
    margin: 0 auto;
}

.am-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.am-dashboard-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1e293b;
}

.am-dashboard-title h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.am-modern-select {
    padding: 12px 16px;
    height: auto;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: white;
    font-size: 15px;
    color: #334155;
    min-width: 300px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    outline: none;
    transition: all 0.2s;
    appearance: auto;
}

.am-modern-select:focus {
    border-color: #6d28d9;
    box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.1);
}

.am-dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.am-kpi-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.am-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.am-kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.am-bg-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.am-bg-green { background: linear-gradient(135deg, #34d399, #10b981); }
.am-bg-blue { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.am-bg-orange { background: linear-gradient(135deg, #fbbf24, #f59e0b); }

.am-kpi-data {
    display: flex;
    flex-direction: column;
}

.am-kpi-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.am-kpi-value {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin-top: 4px;
}

.am-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.am-dashboard-panel {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.am-dashboard-panel h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.am-feed-list {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 10px;
}

.am-feed-item {
    padding: 16px;
    border-radius: 8px;
    background: #f8fafc;
    margin-bottom: 12px;
    border-left: 4px solid #6d28d9;
}

.am-feed-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}

.am-feed-name {
    font-weight: 600;
    color: #334155;
}

.am-feed-text {
    font-size: 14px;
    color: #0f172a;
    line-height: 1.5;
}

.am-feed-list::-webkit-scrollbar {
    width: 6px;
}

.am-feed-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.am-feed-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}