/* Analytics Page Specific Styles */

.analytics-header {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.analytics-header::before {
    top: -60%;
    right: 10%;
    width: 320px;
    height: 320px;
}

.analytics-filters {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
    align-items: end;
}

.realtime-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.charts-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.activity-feed {
    padding: 10px 0;
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    padding: 10px;
    background: #f6f7f7;
    border-radius: 4px;
    margin-bottom: 8px;
    border-left: 3px solid;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.activity-building {
    font-weight: 600;
    color: #1d2327;
}

.activity-time {
    font-size: 12px;
    color: #646970;
}

.activity-data {
    font-size: 13px;
    color: #646970;
}

.consumer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f6f7f7;
    border-radius: 4px;
    margin-bottom: 8px;
}

.consumer-info {
    flex: 1;
}

.consumer-name {
    font-weight: 600;
    color: #1d2327;
}

.consumer-type {
    font-size: 12px;
    color: #646970;
}

.consumer-bar {
    flex: 1;
    padding: 0 10px;
}

.consumer-bar-bg {
    background: #dcdcde;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.consumer-bar-fill {
    height: 100%;
}

.consumer-stats {
    text-align: right;
}

.consumer-value {
    font-weight: 600;
    font-size: 16px;
}

.consumer-percent {
    font-size: 12px;
    color: #646970;
}
