/* LIVE PAGE STYLES ONLY */

/* Live Visitors Card */
.live-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.pulse-dot {
    width: 24px;
    height: 24px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.big-number {
    font-size: 72px;
    font-weight: 700;
    color: #7c68d6;
    line-height: 1;
}

.live-label {
    font-size: 14px;
    color: #6c757d;
    margin-top: 8px;
}

.live-right {
    display: flex;
    gap: 80px;
}

.stat-box {
    text-align: center;
}

.stat-num {
    font-size: 48px;
    font-weight: 700;
    color: #212529;
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

/* Chart Card */
.chart-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.chart-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.period-buttons {
    display: flex;
    gap: 8px;
}

.period-btn {
    padding: 8px 20px;
    background: #f1f3f5;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    color: #495057;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.period-btn:hover {
    background: #e9ecef;
}

.period-btn.active {
    background: #7c68d6;
    color: white;
}

/* Bar Chart */
.bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 220px;
    gap: 16px;
}

.bar-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.bar {
    width: 100%;
    background: #7c68d6;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s;
}

.bar:hover {
    background: #6b5bc5;
}

.bar-label {
    margin-top: 12px;
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

/* Analytics Grid */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: white;
    padding: 24px;
    border-radius: 12px;
}

.card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 20px 0;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: background 0.2s;
}

.list-item:last-child {
    margin-bottom: 0;
}

.list-item:hover {
    background: #e9ecef;
}

.list-item span {
    font-size: 14px;
    color: #495057;
}

.list-item strong {
    font-size: 15px;
    font-weight: 600;
    color: #7c68d6;
}