.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    border: 1px solid #e1e8ef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.stat-card .stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 13px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-filter.active {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.activity-filter.active:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}

.completion-filter.active {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.completion-filter.active:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}

.completion-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #10b981;
}

.completed-row {
    opacity: 0.6;
}

.completed-row td {
    text-decoration: line-through;
    color: #94a3b8;
}

.completed-row .activity-type-badge {
    opacity: 0.7;
}

.activity-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.activity-type-badge.type-call {
    background: #dbeafe;
    color: #1e40af;
}

.activity-type-badge.type-email {
    background: #ede9fe;
    color: #6b21a8;
}

.activity-type-badge.type-meeting {
    background: #d1fae5;
    color: #065f46;
}

.activity-type-badge.type-note {
    background: #fef3c7;
    color: #92400e;
}

.activity-attachment-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    margin-left: 8px;
}

.activity-attachment-badge i {
    font-size: 11px;
}
