/* Analytics Dashboard Styles */

:root {
    --primary-color: #0d6efd; --secondary-color: #6c757d; --success-color: #28a745; --danger-color: #dc3545; --warning-color: #ffc107; --info-color: #17a2b8; --light-bg: #f8f9fa; --dark-bg: #212529; --text-color: #333; --text-light: #666; --border-color: #dee2e6; --shadow: 0 2px 10px rgba(0, 0, 0, 0.1); --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15); --border-radius: 8px; --transition: all 0.3s ease; }

* {
    margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', 'PT Sans', sans-serif; color: var(--text-color); background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; line-height: 1.6; }

.container {
    max-width: 1400px; }

/* Header */
.dashboard-header {
    backdrop-filter: blur(10px); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; }

.header-content {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }

.back-link {
    text-decoration: none; transition: var(--transition); font-size: 0.9rem; font-weight: 500; }

.back-link:hover {
    opacity: 0.8; transform: translateX(-3px); }

.time-display {
    border-radius: var(--border-radius); }

.refresh-btn {
    border: none; cursor: pointer; }

/* Hero Section */
.dashboard-hero {
    text-align: center; margin-bottom: 2rem; }

/* Stats Grid */
.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.stat-card {
    overflow: hidden; }

.stat-card::before {
    content: ''; left: 0; width: 4px; height: 100%; }

.stat-title {
    text-transform: uppercase; }

.chart-header {
    padding-bottom: 1rem; border-bottom: 2px solid var(--border-color); }

.period-select:focus {
    outline: none; border-color: var(--primary-color); }

.widget-progress {
    margin-top: 1rem; }

.widget-list {
    list-style: none; }

.table-container {
    overflow-x: auto; }

.data-table {
    border-collapse: collapse; }

.modal-content {
    max-height: 90vh; overflow-y: auto; animation: scaleIn 0.3s; }

@keyframes scaleIn {
}

/* Responsive */
@media (max-width: 968px) {
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column; }
}

