.analytics-container{flex-direction:column;gap:2.5rem;max-width:1600px;margin:0 auto;padding:1.5rem 1.5rem 120px;display:flex}.analytics-header{flex-wrap:wrap;align-items:center;gap:1.5rem;display:flex}.timeframe-selector{background:var(--bg-glass-soft);border:1px solid var(--border);scrollbar-width:none;border-radius:100px;gap:.25rem;max-width:100%;padding:.35rem;display:inline-flex;overflow-x:auto}.timeframe-selector::-webkit-scrollbar{display:none}.timeframe-btn{cursor:pointer;color:var(--text-muted);white-space:nowrap;background:0 0;border:none;border-radius:100px;padding:.6rem 1.4rem;font-size:.85rem;font-weight:800;transition:all .3s cubic-bezier(.4,0,.2,1)}.timeframe-btn.active{background:var(--accent-primary);color:#fff;box-shadow:0 4px 12px rgba(var(--accent-primary-rgb), .3)}.analytics-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,450px),1fr));gap:2rem;display:grid}.analytics-card{background:var(--bg-glass);min-width:0;-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);border:1px solid var(--glass-border);border-radius:1.5rem;padding:2rem}@media (width<=768px){.analytics-container{gap:1.5rem;padding:1rem 1rem 100px}.analytics-header{flex-direction:column;align-items:flex-start;gap:1rem}.timeframe-selector{justify-content:flex-start;width:100%;padding:.25rem}.timeframe-btn{text-align:center;flex:1;padding:.5rem .75rem;font-size:.75rem}.analytics-card{padding:1.25rem}.analytics-grid{gap:1.25rem}.analytics-kpi-grid{grid-template-columns:1fr 1fr!important;gap:.75rem!important}.analytics-kpi-grid .card-luxury{border-radius:1.25rem!important;padding:1rem!important}.analytics-kpi-grid .stat-value{font-size:1.1rem!important}.analytics-kpi-grid .stat-label{letter-spacing:.05em!important;font-size:.6rem!important}.analytics-kpi-grid .stat-icon{border-radius:.75rem!important;padding:.5rem!important}.analytics-kpi-grid .stat-icon svg{width:16px!important;height:16px!important}}.visitor-analytics-card{border-radius:1.5rem;flex-direction:column;gap:1.5rem;padding:1.5rem;display:flex}.visitor-analytics-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.visitor-header-title-box{align-items:center;gap:.85rem;display:flex}.visitor-header-icon{color:#10b981;background:#10b9811f;border-radius:.85rem;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.visitor-header-title{color:var(--text-main);letter-spacing:-.01em;margin:0;font-size:1.15rem;font-weight:800}.visitor-header-subtitle{color:var(--text-muted);margin:.2rem 0 0;font-size:.825rem}.visitor-live-pill{background:#22c55e14;border:1px solid #22c55e40;border-radius:9999px;align-items:center;gap:.5rem;padding:.4rem .85rem;font-size:.825rem;font-weight:700;display:inline-flex}.visitor-live-dot{background:#22c55e;border-radius:50%;width:8px;height:8px;animation:2s cubic-bezier(.4,0,.6,1) infinite visitorPulse;box-shadow:0 0 #22c55e99}@keyframes visitorPulse{0%{box-shadow:0 0 #22c55e99}70%{box-shadow:0 0 0 6px #22c55e00}to{box-shadow:0 0 #22c55e00}}.visitor-live-label{color:var(--text-muted)}.visitor-live-count{color:#22c55e;font-weight:900}.visitor-metrics-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1rem;display:grid}.visitor-metric-item{background:var(--bg-glass-soft);border:1px solid var(--glass-border);border-radius:1rem;flex-direction:column;justify-content:space-between;gap:.6rem;padding:1.1rem;transition:transform .2s,border-color .2s;display:flex}.visitor-metric-item:hover{border-color:var(--border-hover,#ffffff26)}.visitor-metric-item.highlight{background:linear-gradient(135deg,#f59e0b0d,#f59e0b03);border-color:#f59e0b33}.visitor-metric-top{justify-content:space-between;align-items:center;display:flex}.visitor-metric-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:.75rem;font-weight:700}.visitor-metric-icon-wrap{background:var(--bg-glass-medium);border-radius:.5rem;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.visitor-metric-value-row{flex-wrap:wrap;align-items:baseline;gap:.6rem;display:flex}.visitor-metric-value{color:var(--text-main);letter-spacing:-.02em;font-size:1.6rem;font-weight:900;line-height:1.1}.visitor-trend-badge{border-radius:.4rem;align-items:center;gap:.2rem;padding:.15rem .4rem;font-size:.72rem;font-weight:800;display:inline-flex}.visitor-trend-badge.positive{color:#10b981;background:#10b9811a}.visitor-trend-badge.negative{color:#ef4444;background:#ef44441a}.visitor-metric-footer-text{color:var(--text-dim);font-size:.75rem;font-weight:600}.visitor-timeseries-wrapper{background:var(--bg-glass-soft);border:1px solid var(--glass-border);border-radius:1rem;flex-direction:column;gap:.75rem;padding:1.1rem;display:flex}.visitor-timeseries-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.visitor-timeseries-title{color:var(--text-muted);align-items:center;gap:.5rem;font-size:.8rem;font-weight:700;display:flex}.visitor-timeseries-legend{color:var(--text-muted);align-items:center;gap:.75rem;font-size:.75rem;display:flex}.legend-indicator{border-radius:50%;width:8px;height:8px;margin-inline-end:-.4rem;display:inline-block}.legend-indicator.visitors{background:#10b981}.legend-indicator.pageviews{background:#8b5cf6}.visitor-timeseries-chart{width:100%;min-width:0}.visitor-chart-tooltip{background:var(--bg-surface-elevated,#18181b);border:1px solid var(--glass-border);color:var(--text-main);border-radius:.5rem;flex-direction:column;gap:.35rem;padding:.5rem .75rem;font-size:.75rem;display:flex;box-shadow:0 4px 15px #0003}.visitor-chart-tooltip-title{color:var(--text-muted);border-bottom:1px solid var(--glass-border);padding-bottom:.25rem;font-weight:700}.visitor-chart-tooltip-row{align-items:center;gap:.4rem;display:flex}.visitor-chart-tooltip-row .dot{border-radius:50%;width:6px;height:6px}.visitor-chart-tooltip-row .dot.visitors{background:#10b981}.visitor-chart-tooltip-row .dot.pageviews{background:#8b5cf6}@media (width<=768px){.visitor-analytics-card{gap:1rem;padding:1rem}.visitor-metrics-grid{grid-template-columns:1fr 1fr;gap:.75rem}.visitor-metric-item{padding:.85rem}.visitor-metric-value{font-size:1.3rem}.visitor-timeseries-wrapper{padding:.85rem}}
