﻿:root {
            --primary: #ff5a1f;
            --purple: #6f42c1;
            --blue: #38bdf8;
            --green: #16a34a;
            --red: #dc2626;
            --dark: #0b0f1a;
            --text: #475569;
            --muted: #94a3b8;
            --border: rgba(226, 232, 240, 0.9);
            --soft: #f8fafc;
            --white: #ffffff;
            --gradient: linear-gradient(135deg, #ff5a1f 0%, #6f42c1 55%, #38bdf8 100%);
            --shadow: 0 30px 90px rgba(15, 23, 42, 0.13);
        }

        .status-page {
            margin-top: 70px;
            min-height: 100vh;
            padding: 34px 16px 50px;
            background:
                radial-gradient(circle at top left, rgba(255, 90, 31, 0.16), transparent 32%),
                radial-gradient(circle at bottom right, rgba(111, 66, 193, 0.18), transparent 34%),
                linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
            color: var(--dark);
        }

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

        .brand-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            margin-bottom: 34px;
        }

        .brand {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: var(--dark);
        }

        .brand-logo {
            width: 46px;
            height: 46px;
            border-radius: 15px;
            background: var(--gradient);
            color: var(--white);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: 900;
            box-shadow: 0 18px 38px rgba(255, 90, 31, 0.25);
        }

        .brand-name {
            line-height: 1.1;
        }

        .brand-name strong {
            display: block;
            font-size: 22px;
            font-weight: 900;
            letter-spacing: -0.6px;
        }

        .brand-name span {
            display: block;
            color: var(--muted);
            font-size: 13px;
            font-weight: 700;
            margin-top: 3px;
        }

        .visit-site {
            text-decoration: none;
            background: var(--dark);
            color: var(--white);
            padding: 12px 18px;
            border-radius: 999px;
            font-size: 14px;
            font-weight: 800;
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
            transition: 0.25s ease;
        }

        .visit-site:hover {
            transform: translateY(-2px);
            background: var(--primary);
            color: var(--white);
        }

        .hero-card {
            position: relative;
            overflow: hidden;
            background: var(--dark);
            border-radius: 34px;
            padding: 38px;
            margin-bottom: 24px;
            color: var(--white);
            box-shadow: var(--shadow);
        }

        .hero-card::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at 15% 20%, rgba(255, 90, 31, 0.45), transparent 28%),
                radial-gradient(circle at 85% 25%, rgba(56, 189, 248, 0.28), transparent 30%),
                radial-gradient(circle at 70% 90%, rgba(111, 66, 193, 0.36), transparent 34%);
            pointer-events: none;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .status-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 24px;
            flex-wrap: wrap;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.84);
            font-size: 13px;
            font-weight: 800;
            margin-bottom: 16px;
        }

        .pulse-dot {
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: var(--green);
            box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.18);
        }

        .status-header h1 {
            margin: 0;
            font-size: 44px;
            line-height: 1.05;
            font-weight: 950;
            letter-spacing: -1.6px;
            color: var(--white);
        }

        .status-header p {
            margin: 13px 0 0;
            color: rgba(255, 255, 255, 0.72);
            font-size: 16px;
            word-break: break-all;
        }

        .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 18px;
            border-radius: 999px;
            font-weight: 900;
            font-size: 14px;
            white-space: nowrap;
            border: 1px solid rgba(255, 255, 255, 0.14);
            backdrop-filter: blur(10px);
        }

        .status-badge.up {
            background: rgba(22, 163, 74, 0.16);
            color: #86efac;
        }

        .status-badge.down {
            background: rgba(220, 38, 38, 0.16);
            color: #fca5a5;
        }

        .status-dot {
            width: 11px;
            height: 11px;
            border-radius: 50%;
            display: inline-block;
        }

        .status-badge.up .status-dot {
            background: var(--green);
            box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.18);
        }

        .status-badge.down .status-dot {
            background: var(--red);
            box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.18);
        }

        .hero-meta {
            display: flex;
            align-items: center;
            gap: 14px;
            flex-wrap: wrap;
            margin-top: 26px;
            color: rgba(255, 255, 255, 0.74);
            font-size: 14px;
        }

        .hero-meta span {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 10px 12px;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.08);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 16px;
            margin-top: 28px;
        }

        .stat-box {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 22px;
            padding: 21px;
            backdrop-filter: blur(12px);
        }

        .stat-label {
            color: rgba(255, 255, 255, 0.62);
            font-size: 12px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            margin-bottom: 9px;
        }

        .stat-value {
            font-size: 28px;
            font-weight: 950;
            color: var(--white);
            letter-spacing: -0.8px;
        }

        .error-box {
            margin-top: 22px;
            padding: 17px;
            background: rgba(220, 38, 38, 0.13);
            color: #fecaca;
            border: 1px solid rgba(248, 113, 113, 0.2);
            border-radius: 18px;
            line-height: 1.6;
        }

        .history-card {
            background: rgba(255, 255, 255, 0.86);
            border: 1px solid var(--border);
            border-radius: 30px;
            padding: 26px;
            box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
            backdrop-filter: blur(16px);
        }

        .history-title {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 20px;
        }

        .history-title h2 {
            margin: 0;
            font-size: 23px;
            font-weight: 950;
            letter-spacing: -0.6px;
            color: var(--dark);
        }

        .history-title span {
            color: var(--muted);
            font-size: 14px;
            font-weight: 700;
        }

        .history-bars {
            display: grid;
            grid-template-columns: repeat(60, 1fr);
            gap: 4px;
            margin-bottom: 26px;
            padding: 16px;
            background: var(--soft);
            border: 1px solid var(--border);
            border-radius: 20px;
        }

        .history-bar {
            height: 44px;
            border-radius: 8px;
            background: var(--border);
        }

        .history-bar.up {
            background: linear-gradient(180deg, #22c55e, #16a34a);
        }

        .history-bar.down {
            background: linear-gradient(180deg, #ef4444, #dc2626);
        }

        .checks-table-wrapper {
            overflow-x: auto;
            border: 1px solid var(--border);
            border-radius: 20px;
            background: var(--white);
        }

        .checks-table {
            width: 100%;
            border-collapse: collapse;
            background: var(--white);
            margin: 0;
        }

        .checks-table th,
        .checks-table td {
            text-align: left;
            padding: 15px 14px;
            border-bottom: 1px solid var(--border);
            font-size: 14px;
            white-space: nowrap;
            color: var(--dark);
        }

        .checks-table th {
            color: var(--muted);
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            background: #f8fafc;
            font-weight: 900;
        }

        .mini-status {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-weight: 900;
        }

        .mini-dot {
            width: 9px;
            height: 9px;
            border-radius: 50%;
            display: inline-block;
        }

        .mini-status.up {
            color: var(--green);
        }

        .mini-status.down {
            color: var(--red);
        }

        .mini-status.up .mini-dot {
            background: var(--green);
        }

        .mini-status.down .mini-dot {
            background: var(--red);
        }

        .empty-state {
            text-align: center;
            color: rgba(255, 255, 255, 0.78);
            padding: 38px 20px;
            line-height: 1.7;
        }

        .empty-state code {
            display: inline-block;
            background: rgba(255, 255, 255, 0.12);
            color: var(--white);
            padding: 10px 14px;
            border-radius: 12px;
            margin-top: 8px;
        }

        .history-card .empty-state {
            color: var(--text);
        }

        .footer-note {
            text-align: center;
            margin-top: 24px;
            color: var(--muted);
            font-size: 14px;
        }

        .footer-note strong {
            color: var(--dark);
        }

        .simple-pagination {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex-wrap: wrap;
            padding: 18px;
            border-top: 1px solid var(--border);
            background: var(--white);
        }

        .simple-pagination-info {
            color: var(--text);
            font-size: 14px;
            font-weight: 700;
        }

        .simple-pagination-links {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .simple-pagination-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            padding: 8px 13px;
            border-radius: 12px;
            border: 1px solid var(--border);
            background: var(--white);
            color: var(--dark);
            text-decoration: none;
            font-size: 14px;
            font-weight: 900;
            transition: 0.2s ease;
        }

        .simple-pagination-link:hover {
            background: var(--dark);
            color: var(--white);
            border-color: var(--dark);
        }

        .simple-pagination-link.active {
            background: var(--gradient);
            color: var(--white);
            border-color: transparent;
        }

        .simple-pagination-link.disabled {
            opacity: 0.45;
            pointer-events: none;
            background: #f8fafc;
            color: var(--muted);
        }

        @media (max-width: 900px) {
            .hero-card {
                padding: 28px;
            }

            .status-header h1 {
                font-size: 36px;
            }

            .stats-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .history-bars {
                grid-template-columns: repeat(30, 1fr);
            }
        }

        @media (max-width: 560px) {
            .status-page {
                padding: 22px 12px 36px;
            }

            .brand-bar {
                align-items: flex-start;
                flex-direction: column;
            }

            .visit-site {
                width: 100%;
                text-align: center;
            }

            .hero-card,
            .history-card {
                border-radius: 24px;
                padding: 20px;
            }

            .status-header h1 {
                font-size: 30px;
            }

            .status-header p {
                font-size: 14px;
            }

            .stats-grid {
                grid-template-columns: 1fr;
            }

            .stat-value {
                font-size: 24px;
            }

            .history-title {
                align-items: flex-start;
                flex-direction: column;
            }

            .history-bars {
                grid-template-columns: repeat(20, 1fr);
                gap: 3px;
                padding: 12px;
            }

            .history-bar {
                height: 36px;
            }

            .simple-pagination {
                justify-content: center;
                text-align: center;
            }
        }

