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

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
            color: #e8eaf6;
            padding: 20px;
            min-height: 100vh;
        }

        .container {
            max-width: 1800px;
            margin: 0 auto;
        }

        .header {
            text-align: center;
            margin-bottom: 40px;
            padding: 30px 0;
            background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(0, 153, 204, 0.1));
            border-radius: 20px;
            border: 1px solid rgba(0, 217, 255, 0.3);
        }

        h1 {
            color: #00d9ff;
            font-size: 3em;
            font-weight: 800;
            margin-bottom: 10px;
            text-shadow: 0 0 30px rgba(0, 217, 255, 0.6);
            letter-spacing: -1px;
        }

        .subtitle {
            color: #b0bec5;
            font-size: 1.1em;
            font-weight: 500;
        }

        .upload-section {
            background: rgba(255, 255, 255, 0.03);
            border: 3px dashed rgba(0, 217, 255, 0.4);
            border-radius: 20px;
            padding: 50px;
            text-align: center;
            margin-bottom: 40px;
            transition: all 0.3s ease;
        }

        .upload-section:hover {
            border-color: rgba(0, 217, 255, 0.7);
            background: rgba(255, 255, 255, 0.05);
        }

        .upload-section h2 {
            color: #00d9ff;
            font-size: 1.8em;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .upload-section p {
            color: #90a4ae;
            margin-bottom: 25px;
            font-size: 1.1em;
        }

        input[type="file"] {
            display: none;
        }

        .upload-btn {
            background: linear-gradient(135deg, #00d9ff 0%, #0099cc 100%);
            color: #000;
            padding: 18px 50px;
            border: none;
            border-radius: 12px;
            font-size: 1.2em;
            font-weight: 700;
            cursor: pointer;
            display: inline-block;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
        }

        .upload-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(0, 217, 255, 0.5);
        }

        .status {
            margin: 25px 0;
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            font-weight: 600;
            font-size: 1.1em;
            display: none;
        }

        .status.success {
            background: rgba(0, 255, 127, 0.15);
            border: 2px solid rgba(0, 255, 127, 0.5);
            color: #00ff7f;
        }

        .status.error {
            background: rgba(255, 107, 107, 0.15);
            border: 2px solid rgba(255, 107, 107, 0.5);
            color: #ff6b6b;
        }

        .time-filter-section {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(0, 217, 255, 0.2);
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 30px;
        }

        .filter-label {
            color: #00d9ff;
            font-size: 0.9em;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 15px;
        }

        .time-filter {
            display: flex;
            justify-content: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-bottom: 15px;
        }

        .time-btn {
            background: rgba(255, 255, 255, 0.08);
            border: 2px solid rgba(0, 217, 255, 0.3);
            color: #e8eaf6;
            padding: 14px 32px;
            border-radius: 10px;
            cursor: pointer;
            font-size: 1em;
            font-weight: 700;
            transition: all 0.3s ease;
            letter-spacing: 0.5px;
        }

        .time-btn:hover {
            border-color: #00d9ff;
            background: rgba(0, 217, 255, 0.15);
            transform: translateY(-2px);
        }

        .time-btn.active {
            background: linear-gradient(135deg, #00d9ff 0%, #0099cc 100%);
            color: #000;
            border-color: #00d9ff;
            box-shadow: 0 5px 20px rgba(0, 217, 255, 0.4);
        }

        .date-range-display {
            text-align: center;
            color: #90a4ae;
            font-size: 0.95em;
            padding: 12px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 8px;
            font-weight: 600;
        }

        .date-range-display strong {
            color: #00d9ff;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }

        .stat-card {
            background: linear-gradient(135deg, rgba(0, 217, 255, 0.08), rgba(0, 153, 204, 0.08));
            border: 1px solid rgba(0, 217, 255, 0.25);
            border-radius: 16px;
            padding: 30px 20px;
            text-align: center;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
            border-color: rgba(0, 217, 255, 0.5);
        }

        .stat-label {
            color: #00d9ff;
            font-size: 0.9em;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            font-weight: 700;
            text-align: center;
            line-height: 1.3;
            display: block;
            width: 100%;
        }

        .stat-value {
            color: #fff;
            font-size: 2.5em;
            font-weight: 800;
            font-variant-numeric: tabular-nums;
            text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
            letter-spacing: -1px;
            text-align: center;
            line-height: 1.1;
            word-break: keep-all;
            white-space: nowrap;
            display: block;
            width: 100%;
            overflow: visible;
        }

        .stat-compare {
            color: #78909c;
            font-size: 0.85em;
            margin-top: 10px;
            font-weight: 600;
        }

        .section {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(0, 217, 255, 0.2);
            border-radius: 16px;
            padding: 30px;
            margin-bottom: 30px;
            transition: all 0.3s ease;
        }

        .section:hover {
            border-color: rgba(0, 217, 255, 0.4);
        }

        .section-title {
            color: #00d9ff;
            font-size: 1.6em;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid rgba(0, 217, 255, 0.3);
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 700;
        }

        .section-subtitle {
            font-size: 0.7em;
            color: #78909c;
            font-weight: 600;
        }

        .table-wrapper {
            overflow-x: auto;
            max-height: 550px;
            border-radius: 10px;
        }

        table {
            width: 100%;
            border-collapse: collapse;
        }

        th, td {
            padding: 16px;
            text-align: left;
            border-bottom: 1px solid rgba(0, 217, 255, 0.1);
        }

        th {
            background: rgba(0, 217, 255, 0.15);
            color: #00d9ff;
            font-weight: 700;
            position: sticky;
            top: 0;
            z-index: 10;
            text-transform: uppercase;
            font-size: 0.85em;
            letter-spacing: 1px;
        }

        tr:hover {
            background: rgba(0, 217, 255, 0.08);
        }

        .number {
            text-align: right;
            font-variant-numeric: tabular-nums;
            font-weight: 600;
        }

        .chart-container {
            height: 400px;
            margin-top: 25px;
        }

        canvas {
            max-height: 100%;
        }

        .two-col {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        @media (max-width: 1200px) {
            .two-col {
                grid-template-columns: 1fr;
            }
        }

        #dashboard {
            display: none;
        }

        ::-webkit-scrollbar {
            width: 12px;
            height: 12px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, rgba(0, 217, 255, 0.6), rgba(0, 153, 204, 0.6));
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, rgba(0, 217, 255, 0.8), rgba(0, 153, 204, 0.8));
        }

        .custom-date-range {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
            padding: 20px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 12px;
            flex-wrap: wrap;
        }

        .date-input-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .date-input-label {
            color: #00d9ff;
            font-size: 0.85em;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .date-input {
            background: rgba(255, 255, 255, 0.08);
            border: 2px solid rgba(0, 217, 255, 0.3);
            border-radius: 8px;
            padding: 12px 15px;
            color: #e8eaf6;
            font-size: 1em;
            font-weight: 600;
            min-width: 180px;
            transition: all 0.3s ease;
        }

        .date-input:focus {
            outline: none;
            border-color: #00d9ff;
            background: rgba(0, 217, 255, 0.1);
        }

        .date-input::-webkit-calendar-picker-indicator {
            filter: invert(1);
            cursor: pointer;
        }

        .apply-date-btn {
            background: linear-gradient(135deg, #00d9ff 0%, #0099cc 100%);
            color: #000;
            padding: 12px 30px;
            border: none;
            border-radius: 8px;
            font-size: 1em;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
            margin-top: 22px;
        }

        .apply-date-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 217, 255, 0.5);
        }

        .apply-date-btn:active {
            transform: translateY(0);
        }