/* Activity Logs Styles */
.activity-log-container {
    max-height: 400px;
    overflow-y: auto;
}

.activity-log-item {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    position: relative;
    border-left: 4px solid var(--primary-color);
    background-color: rgba(var(--primary-rgb), 0.05);
    transition: all 0.2s ease;
}

.activity-log-item:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.activity-log-item.sharing {
    border-left-color: var(--success-color);
    background-color: rgba(var(--success-rgb), 0.05);
}

.activity-log-item.access {
    border-left-color: var(--warning-color);
    background-color: rgba(var(--warning-rgb), 0.05);
}

.activity-log-item.collection {
    border-left-color: var(--info-color);
    background-color: rgba(var(--info-rgb), 0.05);
}

.activity-log-item.update {
    border-left-color: var(--secondary-color);
    background-color: rgba(var(--secondary-rgb), 0.05);
}

.activity-timestamp {
    color: var(--text-secondary-color);
    font-size: 0.85rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.activity-timestamp i {
    margin-right: 5px;
}

.activity-description {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.activity-revenue {
    position: absolute;
    top: 12px;
    right: 15px;
    background-color: var(--success-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.insight-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 20px;
    height: 100%;
}

.insight-card h5 {
    color: var(--text-primary-color);
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(108, 118, 147, 0.2);
    padding-bottom: 10px;
}

.chart-container {
    height: 200px;
    margin-bottom: 15px;
}

.activity-filter-container {
    margin-bottom: 20px;
}

.export-button {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.activity-export-options {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(108, 118, 147, 0.2);
}

/* Animation for new log entries */
@keyframes newLogHighlight {
    0% { background-color: rgba(var(--success-rgb), 0.3); }
    100% { background-color: rgba(var(--primary-rgb), 0.05); }
}

.new-log {
    animation: newLogHighlight 2s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .activity-revenue {
        position: static;
        display: inline-block;
        margin-top: 5px;
    }
    
    .insight-card {
        margin-bottom: 20px;
    }
}