/* WEB PANEL PROXY public CSS */
:root {
            --bg: #f8f9fa;
            --panel: #ffffff;
            --text: #212529;
            --text-muted: #6c757d;
            --green: #10b981;
            --green-bg: #d1fae5;
            --green-text: #065f46;
            --orange: #f59e0b;
            --border: #e5e7eb;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        }
        body {
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.6;
            font-size: 14px;
        }

        /* Шапка */
        header {
            border-bottom: 1px solid var(--border);
            background: var(--panel);
            padding: 20px 0;
        }
        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo {
            font-size: 20px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .logo svg { fill: var(--text); }
        .header-links a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 13px;
        }
        .header-links a:hover { color: var(--text); }

        /* Баннер статуса */
        .status-banner {
            background-color: var(--green-bg);
            color: var(--green-text);
            padding: 15px 20px;
            border-radius: 6px;
            font-size: 18px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 30px 0;
        }
        .status-banner svg { width: 24px; height: 24px; fill: var(--green-text); }

        /* Секции */
        .section-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 15px;
            margin-top: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        /* Компоненты */
        .component-box {
            background: var(--panel);
            border: 1px solid var(--border);
            border-radius: 6px;
            overflow: hidden;
        }
        .component {
            padding: 20px;
            border-bottom: 1px solid var(--border);
        }
        .component:last-child { border-bottom: none; }
        
        .component-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        .component-name {
            font-weight: 600;
            font-size: 15px;
        }
        .component-status {
            color: var(--green-text);
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .status-dot {
            width: 10px;
            height: 10px;
            background: var(--green);
            border-radius: 50%;
        }

        /* Полоски аптайма */
        .uptime-bars {
            display: flex;
            gap: 3px;
            height: 30px;
            margin-bottom: 10px;
        }
        .bar {
            flex: 1;
            background: var(--green);
            border-radius: 2px;
            opacity: 0.8;
            position: relative;
            cursor: pointer;
        }
        .bar:hover { opacity: 1; }
        .bar.orange { background: var(--orange); }
        
        .uptime-meta {
            display: flex;
            justify-content: space-between;
            color: var(--text-muted);
            font-size: 12px;
        }

        /* История инцидентов */
        .incident-box {
            background: var(--panel);
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 20px;
            margin-bottom: 15px;
        }
        .incident-date {
            color: var(--text-muted);
            font-size: 13px;
            margin-bottom: 10px;
        }
        .incident-title {
            font-weight: 600;
            font-size: 15px;
            margin-bottom: 10px;
        }
        .incident-desc {
            color: var(--text);
            font-size: 14px;
            margin-bottom: 15px;
        }
        .incident-status {
            display: inline-block;
            background: var(--green-bg);
            color: var(--green-text);
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
        }

        footer {
            text-align: center;
            color: var(--text-muted);
            font-size: 13px;
            padding: 40px 0;
        }