/* WEB PANEL PROXY public CSS */
:root {
            --primary-blue: #00d2ff;
            --primary-hover: #00a8cc;
            --accent-orange: #ff6a00;
            --bg-dark: #040814;
            --glass-bg: rgba(6, 11, 25, 0.65);
            --glass-border: rgba(0, 210, 255, 0.15);
            --error-color: #ff3344;
            --text-main: #ffffff;
            --text-muted: #8fa0ba;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-main);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            overflow: hidden;
            position: relative;
        }

        /* Интерактивный холст на весь экран */
        #network-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            pointer-events: auto; /* Матрица реагирует на мышь */
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            width: 100%;
            position: relative;
            z-index: 10;
        }

        /* Шапка */
        header {
            background: linear-gradient(to bottom, rgba(4,8,20,0.8), rgba(4,8,20,0));
            padding: 20px 0;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 22px;
            font-weight: 700;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            gap: 10px;
            user-select: none;
            color: var(--text-main);
        }

        .logo svg {
            color: var(--primary-blue);
            filter: drop-shadow(0 0 8px var(--primary-blue));
        }

        .btn-admin {
            background-color: var(--primary-blue);
            color: #040814;
            border: none;
            padding: 10px 24px;
            border-radius: 6px;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
            transition: all 0.2s ease;
        }

        .btn-admin:hover {
            background-color: #fff;
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
            transform: translateY(-1px);
        }

        /* Главный интерфейс */
        .main-content {
            flex-grow: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Центральный футуристичный блок */
        .glass-panel {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            padding: 55px 45px;
            border-radius: 20px;
            max-width: 600px;
            width: 100%;
            text-align: center;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 210, 255, 0.05);
        }

        .glass-panel h1 {
            font-size: 38px;
            font-weight: 800;
            margin-bottom: 20px;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #fff 60%, var(--primary-blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .glass-panel p {
            font-size: 17px;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 35px;
        }

        .btn-action {
            background-color: var(--accent-orange);
            color: white;
            padding: 16px 40px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 700;
            border: none;
            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 0 20px rgba(255, 106, 0, 0.3);
            transition: all 0.2s ease;
        }

        .btn-action:hover {
            background-color: #ff8522;
            box-shadow: 0 0 25px rgba(255, 133, 34, 0.5);
            transform: translateY(-2px);
        }

        /* Подвал */
        footer {
            padding: 25px 0;
            text-align: center;
            border-top: 1px solid rgba(255, 255, 255, 0.03);
            background: rgba(4, 8, 20, 0.4);
        }

        footer p {
            color: rgba(255, 255, 255, 0.25);
            font-size: 13px;
        }

        /* Окна */
        .modal-blur {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(2, 4, 10, 0.85);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            z-index: 2000;
        }

        .modal-blur.active {
            opacity: 1;
            pointer-events: auto;
        }

        .modal-box {
            background: #0b1224;
            border: 1px solid rgba(255,255,255,0.08);
            padding: 40px;
            border-radius: 16px;
            width: 100%;
            max-width: 420px;
            position: relative;
            transform: scale(0.95);
            transition: transform 0.3s ease;
            box-shadow: 0 25px 50px rgba(0,0,0,0.6);
        }

        .modal-blur.active .modal-box {
            transform: scale(1);
        }

        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            font-size: 26px;
            color: var(--text-muted);
            cursor: pointer;
        }

        .modal-box h2 {
            font-size: 22px;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .modal-box p {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 25px;
            line-height: 1.5;
        }

        .input-ctrl {
            width: 100%;
            padding: 14px;
            background: rgba(0,0,0,0.3);
            border: 2px solid #1e293b;
            border-radius: 6px;
            color: white;
            font-size: 16px;
            outline: none;
            transition: border-color 0.2s;
        }

        .input-ctrl:focus {
            border-color: var(--primary-blue);
        }

        .input-ctrl.is-invalid {
            border-color: var(--error-color);
            background: rgba(255, 51, 68, 0.03);
        }

        .err-label {
            color: var(--error-color);
            font-size: 13.5px;
            margin-top: 8px;
            margin-bottom: 18px;
            display: none;
            font-weight: 600;
            text-align: left;
        }

        .err-label.is-visible {
            display: block;
        }

        .btn-send {
            width: 100%;
            background: var(--text-main);
            color: #040814;
            padding: 14px;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.2s;
            margin-top: 5px;
        }

        .btn-send:hover {
            background: #cbd5e1;
        }

        @media(max-width: 768px) {
            .glass-panel { padding: 40px 20px; margin: 0 15px; }
            .glass-panel h1 { font-size: 28px; }
        }

[data-wpp-style="wpp-0"]{display:flex; justify-content:center;}