
        body {
            box-sizing: border-box;
        }

        :root {
            /* Основа */
            --bg-dark: #0f1419;
            --bg-darker: #0a0e12;
            
            /* Стекло */
            --glass-light: rgba(255, 255, 255, 0.1);
            --glass-medium: rgba(255, 255, 255, 0.15);
            --glass-dark: rgba(255, 255, 255, 0.08);
            
            /* Подсветка */
            --glow-blue: rgba(100, 150, 255, 0.5);
            --glow-purple: rgba(180, 100, 255, 0.5);
            --glow-cyan: rgba(100, 220, 255, 0.5);
            
            /* Акценты */
            --accent-blue: #64b5ff;
            --accent-purple: #b464ff;
            --accent-cyan: #64dcff;
        }

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

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: 
                radial-gradient(circle at 20% 50%, rgba(100, 181, 255, 0.02) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(180, 100, 255, 0.015) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(100, 220, 255, 0.01) 0%, transparent 50%),
                linear-gradient(135deg, #0f1419 0%, #1a2229 25%, #0f1419 50%, #1a2229 75%, #0f1419 100%);
            background-size: 400% 400%, 400% 400%, 400% 400%, 100% 100%;
            animation: backgroundShift 25s ease-in-out infinite;
            color: rgba(255, 255, 255, 0.8);
            min-height: 100%;
            overflow-x: hidden;
        }

        @keyframes backgroundShift {
            0%, 100% {
                background-position: 0% 50%, 100% 0%, 50% 100%, 0% 0%;
            }
            25% {
                background-position: 100% 50%, 0% 100%, 0% 0%, 0% 0%;
            }
            50% {
                background-position: 100% 100%, 100% 100%, 100% 100%, 0% 0%;
            }
            75% {
                background-position: 0% 100%, 100% 0%, 100% 0%, 0% 0%;
            }
        }

        html {
            height: 100%;
        }

        /* Vanta.js контейнер */
        #vanta-dots {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }

        /* Плавающие геометрические фигуры */
        .floating-shapes {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }

        .shape {
            position: absolute;
            opacity: 0.008;
            animation: floatShape 30s infinite linear;
        }

        .shape.circle {
            border-radius: 50%;
            background: linear-gradient(45deg, rgba(100, 181, 255, 0.03), rgba(180, 100, 255, 0.03));
        }

        .shape.square {
            background: linear-gradient(45deg, rgba(100, 220, 255, 0.03), rgba(255, 100, 150, 0.03));
            transform: rotate(45deg);
        }

        .shape.triangle {
            width: 0;
            height: 0;
            border-left: 25px solid transparent;
            border-right: 25px solid transparent;
            border-bottom: 43px solid rgba(100, 181, 255, 0.03);
            background: none;
        }

        @keyframes floatShape {
            0% { 
                transform: translateY(100vh) translateX(0) rotate(0deg); 
                opacity: 0; 
            }
            10% { 
                opacity: 0.03; 
            }
            90% { 
                opacity: 0.03; 
            }
            100% { 
                transform: translateY(-100px) translateX(200px) rotate(360deg); 
                opacity: 0; 
            }
        }


        .container {
            max-width: 1600px;
            margin: 0 auto;
            display: flex;
            min-height: 100vh;
            position: relative;
            z-index: 1;
        }


        .page-title::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                transparent 50%,
                rgba(255, 255, 255, 0.05) 100%);
            pointer-events: none;
            border-radius: inherit;
        }

        .page-title::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.4), 
                transparent);
            border-radius: 16px 16px 0 0;
        }




        /* Основной контент */
        .main-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            width: 100%;
            padding-bottom: 100px; /* Отступ для dock панели */
        }

        .content {
            flex: 1;
            padding: 2rem;
            animation: fadeInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }

        .page-title {
            color: white;
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 2rem;
            text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
            display: block;
            padding: 2rem;
            text-align: center;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            backdrop-filter: blur(30px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 16px;
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2),
                inset 0 -1px 0 rgba(255, 255, 255, 0.05);
            position: relative;
            overflow: hidden;
        }

        .page-title::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                transparent 50%,
                rgba(255, 255, 255, 0.05) 100%);
            pointer-events: none;
            border-radius: inherit;
        }

        .page-title::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.4), 
                transparent);
            border-radius: 16px 16px 0 0;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Стеклянные карточки */
        .glass-card {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.06) 50%,
                rgba(255, 255, 255, 0.08) 100%);
            backdrop-filter: blur(25px) saturate(180%);
            -webkit-backdrop-filter: blur(25px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 20px;
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.3),
                0 2px 8px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.2),
                inset 0 -1px 0 rgba(255, 255, 255, 0.05);
            padding: 2rem;
            margin-bottom: 2rem;
            position: relative;
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            animation: cardAppear 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        @keyframes cardAppear {
            from {
                opacity: 0;
                transform: scale(0.95) translateY(20px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .glass-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                transparent 30%,
                transparent 70%,
                rgba(255, 255, 255, 0.05) 100%);
            pointer-events: none;
            border-radius: inherit;
        }

        .glass-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.4), 
                transparent);
            border-radius: 20px 20px 0 0;
        }

        .glass-card:hover {
            transform: translateY(-6px) scale(1.02);
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 50%,
                rgba(255, 255, 255, 0.12) 100%);
            border-color: rgba(255, 255, 255, 0.25);
            box-shadow: 
                0 16px 48px rgba(0, 0, 0, 0.4),
                0 0 40px var(--glow-blue),
                0 4px 16px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .card-title {
            color: white;
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
        }

        .card-description {
            color: rgba(255, 255, 255, 0.6);
            line-height: 1.6;
        }

        /* Кнопки */
        .btn-primary {
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.25) 0%,
                rgba(100, 181, 255, 0.15) 100%);
            border: 1px solid rgba(100, 181, 255, 0.4);
            color: var(--accent-blue);
            padding: 0.75rem 1.5rem;
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            backdrop-filter: blur(20px) saturate(150%);
            -webkit-backdrop-filter: blur(20px) saturate(150%);
            font-weight: 500;
            position: relative;
            overflow: hidden;
            box-shadow: 
                0 4px 16px rgba(100, 181, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                transparent 50%,
                rgba(255, 255, 255, 0.05) 100%);
            pointer-events: none;
            border-radius: inherit;
        }

        .btn-primary:hover {
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.35) 0%,
                rgba(100, 181, 255, 0.25) 100%);
            border-color: rgba(100, 181, 255, 0.6);
            box-shadow: 
                0 0 25px var(--glow-blue),
                0 8px 24px rgba(100, 181, 255, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
            transform: translateY(-3px) scale(1.02);
        }

        .btn-secondary {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: rgba(255, 255, 255, 0.9);
            padding: 0.75rem 1.5rem;
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            backdrop-filter: blur(20px) saturate(150%);
            -webkit-backdrop-filter: blur(20px) saturate(150%);
            font-weight: 500;
            position: relative;
            overflow: hidden;
            box-shadow: 
                0 4px 16px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .btn-secondary::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                transparent 50%,
                rgba(255, 255, 255, 0.04) 100%);
            pointer-events: none;
            border-radius: inherit;
        }

        .btn-secondary:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.18) 0%,
                rgba(255, 255, 255, 0.12) 100%);
            border-color: rgba(100, 181, 255, 0.5);
            box-shadow: 
                0 0 30px rgba(100, 181, 255, 0.6),
                0 8px 24px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
            transform: translateY(-3px) scale(1.02);
        }

        /* Статистические карточки */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .stat-card {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.06) 50%,
                rgba(255, 255, 255, 0.10) 100%);
            backdrop-filter: blur(25px) saturate(180%);
            -webkit-backdrop-filter: blur(25px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 18px;
            padding: 1.5rem;
            text-align: center;
            position: relative;
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 
                0 4px 20px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, 
                var(--accent-blue), 
                var(--accent-purple), 
                var(--accent-cyan));
            border-radius: 18px 18px 0 0;
        }

        .stat-card::after {
            content: '';
            position: absolute;
            top: 3px;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                transparent 30%,
                transparent 70%,
                rgba(255, 255, 255, 0.04) 100%);
            pointer-events: none;
            border-radius: 0 0 18px 18px;
        }

        .stat-card:hover {
            transform: translateY(-6px) scale(1.02);
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 50%,
                rgba(255, 255, 255, 0.12) 100%);
            border-color: rgba(255, 255, 255, 0.25);
            box-shadow: 
                0 12px 40px rgba(0, 0, 0, 0.25),
                0 0 30px rgba(100, 181, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 700;
            color: white;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
        }

        /* Индикатор готовности */
        .status-indicator {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.25rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            backdrop-filter: blur(20px) saturate(150%);
            -webkit-backdrop-filter: blur(20px) saturate(150%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 25px;
            font-size: 0.9rem;
            box-shadow: 
                0 4px 16px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            position: relative;
            overflow: hidden;
        }

        .page-title::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                transparent 50%,
                rgba(255, 255, 255, 0.05) 100%);
            pointer-events: none;
            border-radius: inherit;
        }

        .page-title::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.4), 
                transparent);
            border-radius: 16px 16px 0 0;
        }

        .status-indicator::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                transparent 50%,
                rgba(255, 255, 255, 0.04) 100%);
            pointer-events: none;
            border-radius: inherit;
        }

        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--accent-cyan);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        /* Поиск и фильтры */
        .search-container {
            position: relative;
            flex: 1;
            max-width: 500px;
        }

        .search-input {
            width: 100%;
            padding: 0.75rem 1rem 0.75rem 2.5rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            color: white;
            font-size: 0.9rem;
            backdrop-filter: blur(20px);
            transition: all 0.3s ease;
        }

        .search-input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .search-input:focus {
            outline: none;
            border-color: var(--accent-blue);
            box-shadow: 0 0 20px rgba(100, 181, 255, 0.3);
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 100%);
        }

        .search-icon {
            position: absolute;
            left: 0.75rem;
            top: 50%;
            transform: translateY(-50%);
            color: rgba(255, 255, 255, 0.5);
            pointer-events: none;
        }

        .filter-select {
            padding: 0.75rem 1rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            color: white;
            font-size: 0.9rem;
            backdrop-filter: blur(20px);
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 140px;
        }

        .filter-select:focus {
            outline: none;
            border-color: var(--accent-blue);
            box-shadow: 0 0 20px rgba(100, 181, 255, 0.3);
        }

        .filter-select option {
            background: var(--bg-dark);
            color: white;
        }

        /* Стилизация всех select элементов в фирменном стиле */
        select {
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            -ms-appearance: none;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            color: white;
            font-size: 0.9rem;
            padding: 0.75rem 1rem;
            backdrop-filter: blur(20px);
            cursor: pointer;
            transition: all 0.3s ease;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 0.75rem center;
            background-size: 1rem;
            padding-right: 2.5rem;
        }

        select:focus {
            outline: none;
            border-color: var(--accent-blue);
            box-shadow: 0 0 20px rgba(100, 181, 255, 0.3);
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 100%);
        }

        select:hover {
            border-color: rgba(255, 255, 255, 0.3);
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.08) 100%);
        }

        select option {
            background: var(--bg-dark);
            color: white;
            padding: 0.5rem;
            border: none;
        }

        select option:hover,
        select option:focus,
        select option:checked {
            background: rgba(100, 181, 255, 0.2);
            color: var(--accent-blue);
        }

        /* Стили для заголовка страницы */
        .page-header {
            position: relative;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding: 0 0.5rem;
            z-index: 10;
        }

        /* Стили для профиля пользователя */
        .user-profile {
            display: flex;
            align-items: center;
            gap: 1rem;
            background: transparent;
            border: none;
            padding: 0.75rem 0;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: 100;
        }


        .user-profile:hover {
            transform: translateY(-1px);
        }

        .profile-info {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .profile-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            overflow: hidden;
            border: 2px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .profile-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .profile-details {
            display: flex;
            flex-direction: column;
            gap: 0.125rem;
        }

        .profile-name {
            color: white;
            font-size: 0.9rem;
            font-weight: 600;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
        }

        .profile-role {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.75rem;
            font-weight: 400;
        }

        .logout-btn {
            background: linear-gradient(135deg, 
                rgba(255, 100, 100, 0.2) 0%,
                rgba(255, 100, 100, 0.1) 100%);
            border: 1px solid rgba(255, 100, 100, 0.3);
            border-radius: 12px;
            color: rgba(255, 100, 100, 0.9);
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            backdrop-filter: blur(20px) saturate(150%);
            -webkit-backdrop-filter: blur(20px) saturate(150%);
            font-weight: 500;
            position: relative;
            overflow: hidden;
            box-shadow: 
                0 4px 16px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .logout-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 100, 100, 0.1) 0%,
                transparent 50%,
                rgba(255, 100, 100, 0.05) 100%);
            pointer-events: none;
            border-radius: inherit;
        }

        .logout-btn:hover {
            background: linear-gradient(135deg, 
                rgba(255, 100, 100, 0.3) 0%,
                rgba(255, 100, 100, 0.2) 100%);
            border-color: rgba(255, 100, 100, 0.5);
            box-shadow: 
                0 0 25px rgba(255, 100, 100, 0.4),
                0 8px 24px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
            transform: translateY(-2px) scale(1.05);
            color: #ff6464;
        }

        .logout-icon {
            font-size: 1rem;
            z-index: 1;
            position: relative;
        }

        /* Стили для главной страницы (логин) */
        .login-container {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            position: relative;
            z-index: 10;
        }

        .login-card {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 50%,
                rgba(255, 255, 255, 0.12) 100%);
            backdrop-filter: blur(25px) saturate(180%);
            -webkit-backdrop-filter: blur(25px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 24px;
            padding: 3rem;
            width: 100%;
            max-width: 420px;
            box-shadow: 
                0 20px 60px rgba(0, 0, 0, 0.4),
                0 8px 32px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2),
                inset 0 -1px 0 rgba(255, 255, 255, 0.05);
            animation: cardAppear 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            position: relative;
            overflow: hidden;
        }

        .login-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                transparent 30%,
                transparent 70%,
                rgba(255, 255, 255, 0.05) 100%);
            pointer-events: none;
            border-radius: inherit;
        }

        .login-header {
            text-align: center;
            margin-bottom: 2.5rem;
            position: relative;
            z-index: 1;
        }

        .logo {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .logo-icon {
            font-size: 3rem;
            background: linear-gradient(135deg, #64b5ff, #4fc3f7);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            filter: drop-shadow(0 0 20px rgba(100, 181, 255, 0.5));
        }

        .logo-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: white;
            text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
            margin: 0;
        }

        .login-subtitle {
            color: rgba(255, 255, 255, 0.8);
            font-size: 1rem;
            font-weight: 400;
            margin: 0;
        }

        .login-form {
            position: relative;
            z-index: 1;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            display: block;
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 0.5rem;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
        }

        .form-input {
            width: 100%;
            padding: 0.875rem 1rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.06) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            color: white;
            font-size: 1rem;
            font-family: inherit;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow: 
                0 4px 16px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }

        .form-input:focus {
            outline: none;
            border-color: rgba(100, 181, 255, 0.6);
            box-shadow: 
                0 0 25px rgba(100, 181, 255, 0.3),
                0 4px 16px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.18) 0%,
                rgba(255, 255, 255, 0.1) 100%);
        }

        .form-input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }

        .checkbox-label {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
        }

        .checkbox-label input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: #64b5ff;
            cursor: pointer;
        }

        .forgot-link {
            color: rgba(100, 181, 255, 0.8);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s ease;
        }

        .forgot-link:hover {
            color: #64b5ff;
            text-shadow: 0 0 10px rgba(100, 181, 255, 0.5);
        }

        .login-btn {
            width: 100%;
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.8) 0%,
                rgba(100, 181, 255, 0.6) 100%);
            border: 1px solid rgba(100, 181, 255, 0.4);
            border-radius: 12px;
            color: white;
            font-size: 1rem;
            font-weight: 600;
            padding: 0.875rem 1.5rem;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            position: relative;
            overflow: hidden;
            box-shadow: 
                0 8px 24px rgba(100, 181, 255, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .login-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                transparent 50%,
                rgba(255, 255, 255, 0.05) 100%);
            pointer-events: none;
            border-radius: inherit;
        }

        .login-btn:hover {
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 1) 0%,
                rgba(100, 181, 255, 0.8) 100%);
            border-color: rgba(100, 181, 255, 0.6);
            box-shadow: 
                0 0 30px rgba(100, 181, 255, 0.5),
                0 12px 32px rgba(100, 181, 255, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }

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

        .btn-text {
            position: relative;
            z-index: 1;
        }

        .btn-icon {
            position: relative;
            z-index: 1;
            transition: transform 0.3s ease;
        }

        .login-btn:hover .btn-icon {
            transform: translateX(4px);
        }

        .login-footer {
            text-align: center;
            margin-top: 2rem;
            position: relative;
            z-index: 1;
        }

        .footer-text {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
            margin: 0;
        }

        .register-link {
            color: rgba(100, 181, 255, 0.8);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .register-link:hover {
            color: #64b5ff;
            text-shadow: 0 0 10px rgba(100, 181, 255, 0.5);
        }

        /* Разделитель */
        .divider {
            position: relative;
            text-align: center;
            margin: 2rem 0;
            z-index: 1;
        }

        .divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(255, 255, 255, 0.3) 20%, 
                rgba(255, 255, 255, 0.3) 80%, 
                transparent 100%);
        }

        .divider-text {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
            padding: 0.5rem 1rem;
            position: relative;
            z-index: 1;
        }

        /* Кнопка Telegram */
        .telegram-btn {
            width: 100%;
            background: linear-gradient(135deg, 
                rgba(0, 136, 204, 0.8) 0%,
                rgba(0, 136, 204, 0.6) 100%);
            border: 1px solid rgba(0, 136, 204, 0.4);
            border-radius: 12px;
            color: white;
            font-size: 1rem;
            font-weight: 600;
            padding: 0.875rem 1.5rem;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            position: relative;
            overflow: hidden;
            box-shadow: 
                0 8px 24px rgba(0, 136, 204, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .telegram-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                transparent 50%,
                rgba(255, 255, 255, 0.05) 100%);
            pointer-events: none;
            border-radius: inherit;
        }

        .telegram-btn:hover {
            background: linear-gradient(135deg, 
                rgba(0, 136, 204, 1) 0%,
                rgba(0, 136, 204, 0.8) 100%);
            border-color: rgba(0, 136, 204, 0.6);
            box-shadow: 
                0 0 30px rgba(0, 136, 204, 0.5),
                0 12px 32px rgba(0, 136, 204, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }

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

        .telegram-icon {
            font-size: 1.2rem;
            position: relative;
            z-index: 1;
        }

        .telegram-text {
            position: relative;
            z-index: 1;
        }

        /* Адаптивность для главной страницы */
        @media (max-width: 480px) {
            .login-container {
                padding: 1rem;
            }
            
            .login-card {
                padding: 2rem;
            }
            
            .logo-icon {
                font-size: 2.5rem;
            }
            
            .logo-title {
                font-size: 1.5rem;
            }
        }

        /* Стили для сайта продукта */
        #vanta-dots {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        .main-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
            position: relative;
            z-index: 10;
        }

        /* Убедимся, что все элементы видны */
        .content-section,
        .glass-card,
        .hero-section,
        .problem-section,
        .solution-section,
        .features-section,
        .target-section,
        .cta-section {
            position: relative;
            z-index: 10;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .logo-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: white;
            text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
            margin: 0;
        }

        .main-nav {
            display: flex;
            gap: 2rem;
        }

        .nav-link {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .nav-link:hover {
            color: #64b5ff;
            text-shadow: 0 0 10px rgba(100, 181, 255, 0.5);
        }

        /* Героическая секция */
        .hero-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
            margin-bottom: 3rem;
        }

        .hero-title {
            font-size: 3rem;
            font-weight: 800;
            color: white;
            margin-bottom: 1rem;
            line-height: 1.1;
            text-shadow: 0 0 30px rgba(100, 181, 255, 0.3);
        }

        .hero-subtitle {
            font-size: 1.3rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2.5rem;
            line-height: 1.4;
            font-weight: 500;
        }

        .hero-actions {
            display: flex;
            gap: 1rem;
        }

        .hero-btn {
            padding: 1rem 2rem;
            font-size: 1rem;
        }

        .product-showcase {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .showcase-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1.5rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            backdrop-filter: blur(20px);
        }

        .showcase-icon {
            font-size: 2rem;
            background: linear-gradient(135deg, #64b5ff, #4fc3f7);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .showcase-text {
            font-size: 1.1rem;
            font-weight: 600;
            color: white;
        }

        /* Новые стили для страницы продукта */
        .hero-diagram {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            padding: 2rem;
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.1) 0%,
                rgba(100, 181, 255, 0.05) 100%);
            border: 1px solid rgba(100, 181, 255, 0.2);
            border-radius: 20px;
            backdrop-filter: blur(20px);
        }

        .diagram-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }

        .diagram-step .step-icon {
            font-size: 2rem;
            background: linear-gradient(135deg, #64b5ff, #4fc3f7);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .diagram-step .step-text {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 500;
        }

        .diagram-arrow {
            font-size: 1.5rem;
            color: #64b5ff;
            font-weight: bold;
        }

        /* Секции */
        .section-title {
            font-size: 2rem;
            font-weight: 700;
            color: white;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .problem-section {
            margin-bottom: 3rem;
        }

        .problem-text {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.6;
            margin-bottom: 2rem;
            text-align: center;
        }

        .problem-chart {
            display: flex;
            justify-content: center;
            margin-top: 2rem;
        }

        .chart-container {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            padding: 2rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            backdrop-filter: blur(20px);
        }

        .chart-line {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .line-label {
            color: rgba(255, 255, 255, 0.8);
            font-weight: 500;
            min-width: 120px;
        }

        .line-visual {
            width: 200px;
            height: 4px;
            border-radius: 2px;
        }

        .chart-line.rising .line-visual {
            background: linear-gradient(90deg, #ff6464, #ff8888);
        }

        .chart-line.falling .line-visual {
            background: linear-gradient(90deg, #00ff88, #66ffaa);
        }

        .solution-section {
            margin-bottom: 3rem;
        }

        .solution-text {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.6;
            margin-bottom: 2rem;
            text-align: center;
        }

        .solution-diagram {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
            margin-top: 2rem;
        }

        .solution-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem;
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.1) 0%,
                rgba(100, 181, 255, 0.05) 100%);
            border: 1px solid rgba(100, 181, 255, 0.2);
            border-radius: 12px;
            backdrop-filter: blur(20px);
            min-width: 140px;
        }

        .solution-step .step-icon {
            font-size: 1.8rem;
        }

        .solution-step .step-text {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 500;
            text-align: center;
        }

        .arrow {
            font-size: 1.2rem;
            color: #64b5ff;
            font-weight: bold;
        }

        /* Ключевые возможности */
        .features-section {
            margin-bottom: 3rem;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .feature-card {
            padding: 2rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            backdrop-filter: blur(20px);
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(100, 181, 255, 0.2);
        }

        .feature-card .feature-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .feature-card .feature-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: white;
            margin-bottom: 1rem;
        }

        .feature-card .feature-text {
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.5;
        }

        /* Целевая аудитория */
        .target-section {
            margin-bottom: 3rem;
        }

        .target-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
        }

        .target-column {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .target-category {
            font-size: 1.5rem;
            font-weight: 700;
            color: #64b5ff;
            margin-bottom: 1rem;
            text-align: center;
        }

        .target-item {
            display: flex;
            gap: 1rem;
            padding: 1.5rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            backdrop-filter: blur(20px);
        }

        .target-icon {
            font-size: 1.8rem;
            flex-shrink: 0;
        }

        .target-content h5 {
            font-size: 1.1rem;
            font-weight: 600;
            color: white;
            margin-bottom: 0.5rem;
        }

        .target-content p {
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.4;
            font-size: 0.9rem;
        }

        /* Призыв к действию */
        .cta-section {
            margin-bottom: 3rem;
        }

        .cta-content {
            text-align: center;
        }

        .cta-title {
            font-size: 2.2rem;
            font-weight: 700;
            color: white;
            margin-bottom: 1.5rem;
        }

        .cta-text {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.6;
            margin-bottom: 2rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-button {
            padding: 1.2rem 2.5rem;
            font-size: 1.1rem;
            font-weight: 600;
        }

        /* Стили для уведомлений */
        #notification-container {
            position: fixed;
            top: 2rem;
            right: 2rem;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .notification {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            padding: 1rem;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            animation: slideIn 0.3s ease;
        }

        .notification-success {
            border-color: rgba(0, 255, 136, 0.3);
            background: linear-gradient(135deg, 
                rgba(0, 255, 136, 0.1) 0%,
                rgba(0, 255, 136, 0.05) 100%);
        }

        .notification-error {
            border-color: rgba(255, 100, 100, 0.3);
            background: linear-gradient(135deg, 
                rgba(255, 100, 100, 0.1) 0%,
                rgba(255, 100, 100, 0.05) 100%);
        }

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

        .notification-message {
            color: white;
            font-weight: 500;
        }

        .notification-close {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.7);
            font-size: 1.2rem;
            cursor: pointer;
            padding: 0;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .notification-close:hover {
            color: white;
        }

        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        /* Сетка функций */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .feature-item {
            display: flex;
            gap: 1rem;
            padding: 1.5rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            backdrop-filter: blur(20px);
        }

        .feature-icon {
            font-size: 2rem;
            flex-shrink: 0;
        }

        .feature-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: white;
            margin-bottom: 0.5rem;
        }

        .feature-description {
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.5;
        }

        /* Статистика */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
        }

        .stat-item {
            text-align: center;
            padding: 2rem;
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.1) 0%,
                rgba(100, 181, 255, 0.05) 100%);
            border: 1px solid rgba(100, 181, 255, 0.2);
            border-radius: 16px;
            backdrop-filter: blur(20px);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: #64b5ff;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
        }

        /* Инвестиционная секция */
        .investment-overview {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .investment-highlight {
            display: flex;
            gap: 1.5rem;
            padding: 2rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            backdrop-filter: blur(20px);
        }

        .highlight-icon {
            font-size: 2.5rem;
            flex-shrink: 0;
        }

        .highlight-content h4 {
            font-size: 1.3rem;
            font-weight: 600;
            color: white;
            margin-bottom: 0.5rem;
        }

        .highlight-content p {
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.5;
        }

        /* Финансовые метрики */
        .financial-metrics {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .metric-card {
            padding: 1.5rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            backdrop-filter: blur(20px);
        }

        .metric-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .metric-label {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }

        .metric-trend {
            font-size: 0.8rem;
            font-weight: 600;
            padding: 0.25rem 0.5rem;
            border-radius: 8px;
        }

        .metric-trend.positive {
            background: rgba(0, 255, 136, 0.2);
            color: #00ff88;
        }

        .metric-trend.negative {
            background: rgba(255, 100, 100, 0.2);
            color: #ff6464;
        }

        .metric-value {
            font-size: 2rem;
            font-weight: 700;
            color: white;
            margin-bottom: 0.5rem;
        }

        .metric-description {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
        }

        /* Roadmap */
        .roadmap {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .roadmap-item {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
        }

        .roadmap-marker {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            flex-shrink: 0;
            margin-top: 0.25rem;
        }

        .roadmap-item.completed .roadmap-marker {
            background: #00ff88;
            box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
        }

        .roadmap-item.current .roadmap-marker {
            background: #64b5ff;
            box-shadow: 0 0 15px rgba(100, 181, 255, 0.5);
        }

        .roadmap-item.future .roadmap-marker {
            background: rgba(255, 255, 255, 0.3);
            border: 2px solid rgba(255, 255, 255, 0.5);
        }

        .roadmap-content h4 {
            font-size: 1.1rem;
            font-weight: 600;
            color: white;
            margin-bottom: 0.25rem;
        }

        .roadmap-content p {
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.4;
        }

        /* Документы */
        .documents-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .document-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1.5rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            backdrop-filter: blur(20px);
        }

        .document-icon {
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .document-info {
            flex: 1;
        }

        .document-name {
            font-size: 1.1rem;
            font-weight: 600;
            color: white;
            margin-bottom: 0.25rem;
        }

        .document-description {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }

        /* Контакты инвесторов */
        .investor-contact {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 2rem;
        }

        .contact-info {
            flex: 1;
        }

        .contact-item {
            display: flex;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .contact-label {
            color: rgba(255, 255, 255, 0.7);
            font-weight: 500;
            min-width: 80px;
        }

        .contact-value {
            color: white;
            font-weight: 600;
        }

        /* Навигация назад */
        .navigation-footer {
            margin-top: 3rem;
            text-align: center;
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            .hero-section {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .hero-title {
                font-size: 2rem;
            }

            .hero-subtitle {
                font-size: 1.1rem;
            }

            .hero-actions {
                flex-direction: column;
                align-items: center;
            }

            .hero-diagram {
                flex-direction: column;
                gap: 1rem;
            }

            .diagram-arrow {
                transform: rotate(90deg);
            }

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

            .target-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .solution-diagram {
                flex-direction: column;
                gap: 1rem;
            }

            .solution-diagram .arrow {
                transform: rotate(90deg);
            }

            .section-title {
                font-size: 1.6rem;
            }

            .cta-title {
                font-size: 1.8rem;
            }

            .financial-metrics {
                grid-template-columns: 1fr;
            }

            .investor-contact {
                flex-direction: column;
            }
        }

        /* Стили для кнопки фильтров */
        .filter-toggle-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: rgba(255, 255, 255, 0.9);
            padding: 0.75rem 1.5rem;
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            backdrop-filter: blur(20px) saturate(150%);
            -webkit-backdrop-filter: blur(20px) saturate(150%);
            font-weight: 500;
            position: relative;
            overflow: hidden;
            box-shadow: 
                0 4px 16px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .filter-toggle-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                transparent 50%,
                rgba(255, 255, 255, 0.04) 100%);
            pointer-events: none;
            border-radius: inherit;
        }

        .filter-toggle-btn:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.18) 0%,
                rgba(255, 255, 255, 0.12) 100%);
            border-color: rgba(255, 255, 255, 0.3);
            color: white;
        }

        .filter-toggle-btn:focus {
            outline: none;
            border-color: rgba(255, 255, 255, 0.3);
        }

        .filter-icon {
            font-size: 0.8rem;
            transition: transform 0.3s ease;
        }

        .filter-toggle-btn.active .filter-icon {
            transform: rotate(180deg);
        }

        .active-filters-count {
            background: var(--accent-blue);
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            font-weight: 600;
            margin-left: 0.25rem;
        }

        /* Стили для блока фильтров */
        .filters-block {
            margin-bottom: 1.5rem;
            animation: filtersBlockSlide 0.3s ease;
        }

        @keyframes filtersBlockSlide {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .filters-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .filters-header h3 {
            margin: 0;
            color: rgba(255, 255, 255, 0.9);
            font-size: 1.1rem;
            font-weight: 600;
        }

        .close-filters-btn {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 16px;
            color: rgba(255, 255, 255, 0.9);
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            backdrop-filter: blur(20px) saturate(150%);
            -webkit-backdrop-filter: blur(20px) saturate(150%);
            font-weight: 500;
            position: relative;
            overflow: hidden;
            box-shadow: 
                0 4px 16px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            font-size: 1.1rem;
        }

        .close-filters-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                transparent 50%,
                rgba(255, 255, 255, 0.04) 100%);
            pointer-events: none;
            border-radius: inherit;
        }

        .close-filters-btn:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.18) 0%,
                rgba(255, 255, 255, 0.12) 100%);
            border-color: rgba(100, 181, 255, 0.5);
            box-shadow: 
                0 0 30px rgba(100, 181, 255, 0.6),
                0 8px 24px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
            transform: translateY(-3px) scale(1.02);
            color: white;
        }

        .filters-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .filter-section {
            display: flex;
            flex-direction: column;
        }

        .filter-label {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .subscribers-range {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .filter-input {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            color: rgba(255, 255, 255, 0.9);
            padding: 0.75rem;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            backdrop-filter: blur(20px);
            width: 100%;
            min-width: 80px;
        }

        .filter-input:focus {
            outline: none;
            border-color: rgba(100, 181, 255, 0.5);
            box-shadow: 0 0 20px rgba(100, 181, 255, 0.3);
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.18) 0%,
                rgba(255, 255, 255, 0.12) 100%);
        }

        .filter-input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .range-separator {
            color: rgba(255, 255, 255, 0.6);
            font-weight: 600;
            font-size: 1.2rem;
            user-select: none;
        }

        .filter-actions {
            display: flex;
            justify-content: center;
            padding-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .filter-clear-btn {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: rgba(255, 255, 255, 0.9);
            padding: 0.75rem 2rem;
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            backdrop-filter: blur(20px) saturate(150%);
            -webkit-backdrop-filter: blur(20px) saturate(150%);
            font-weight: 500;
            position: relative;
            overflow: hidden;
            box-shadow: 
                0 4px 16px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            min-width: 200px;
        }

        .filter-clear-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                transparent 50%,
                rgba(255, 255, 255, 0.04) 100%);
            pointer-events: none;
            border-radius: inherit;
        }

        .filter-clear-btn:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.18) 0%,
                rgba(255, 255, 255, 0.12) 100%);
            border-color: rgba(100, 181, 255, 0.5);
            box-shadow: 
                0 0 30px rgba(100, 181, 255, 0.6),
                0 8px 24px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
            transform: translateY(-3px) scale(1.02);
        }

        .btn-icon {
            margin-right: 0.5rem;
        }

        /* Таблица устройств */
        .table-container {
            border-radius: 16px;
            margin-bottom: 1.5rem;
        }

        .devices-table {
            width: 100%;
            border-collapse: collapse;
            background: transparent;
        }

        .devices-table th {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            color: white;
            font-weight: 600;
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .devices-table th:first-child {
            border-radius: 16px 0 0 0;
        }

        .devices-table th:last-child {
            border-radius: 0 16px 0 0;
        }



        /* Специальные стили только для таблицы статистики */
        .stats-table th {
            white-space: nowrap !important;
            text-transform: none !important;
            padding: 0.75rem 0.5rem !important;
        }

        /* Ширина столбцов только для таблицы статистики (6 столбцов) */
        .stats-table th:nth-child(1), .stats-table td:nth-child(1) { width: 25%; } /* Аккаунт */
        .stats-table th:nth-child(2), .stats-table td:nth-child(2) { width: 12%; } /* Тематика */
        .stats-table th:nth-child(3), .stats-table td:nth-child(3) { width: 15%; } /* Подписчики */
        .stats-table th:nth-child(4), .stats-table td:nth-child(4) { width: 15%; } /* Прирост пдп */
        .stats-table th:nth-child(5), .stats-table td:nth-child(5) { width: 15%; } /* Прирост пр */
        .stats-table th:nth-child(6), .stats-table td:nth-child(6) { width: 18%; } /* Рилсы */

        /* Стили для сортируемых заголовков - как продолжение таблицы */
        .stats-table .sortable-header {
            cursor: pointer;
            transition: all 0.2s ease;
            text-align: center;
            white-space: nowrap !important;
            text-transform: none !important;
            padding: 0.75rem 0.5rem !important;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 100%) !important;
            border: none !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
            box-shadow: none !important;
            outline: none !important;
            color: rgba(255, 255, 255, 0.9) !important;
            font-weight: 600;
            position: relative;
            display: table-cell !important;
            vertical-align: middle;
            font-family: inherit !important;
            font-size: inherit !important;
            line-height: inherit !important;
            text-decoration: none !important;
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
        }

        .stats-table .sortable-header:hover {
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.2) 0%,
                rgba(100, 181, 255, 0.1) 100%) !important;
            color: rgba(255, 255, 255, 1) !important;
            border-bottom: 1px solid rgba(100, 181, 255, 0.3) !important;
            text-decoration: none !important;
        }

        .stats-table .sortable-header:active {
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.25) 0%,
                rgba(100, 181, 255, 0.15) 100%) !important;
            color: rgba(255, 255, 255, 1) !important;
            border-bottom: 1px solid rgba(100, 181, 255, 0.4) !important;
            text-decoration: none !important;
        }

        .stats-table .sortable-header:focus {
            outline: none !important;
            box-shadow: none !important;
        }

        /* Убираем все псевдоэлементы */
        .stats-table .sortable-header::before,
        .stats-table .sortable-header::after {
            display: none !important;
            content: none !important;
        }

        /* Дополнительные правила для полного сброса стилей кнопок */
        .stats-table th.sortable-header {
            appearance: none !important;
            -webkit-appearance: none !important;
            -moz-appearance: none !important;
            -ms-appearance: none !important;
            border-radius: 0 !important;
            margin: 0 !important;
            min-height: auto !important;
            min-width: auto !important;
            max-width: none !important;
            overflow: visible !important;
            text-overflow: clip !important;
            text-indent: 0 !important;
            text-shadow: none !important;
            transform: none !important;
            filter: none !important;
            backdrop-filter: none !important;
        }

        /* Убираем любые наследуемые стили от родительских элементов */
        .stats-table th.sortable-header * {
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
            outline: none !important;
            text-decoration: none !important;
        }

        .devices-table td {
            padding: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            color: rgba(255, 255, 255, 0.9);
            vertical-align: middle;
        }

        .devices-table tbody tr {
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .devices-table tbody tr:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            transform: translateX(4px);
        }

        .device-id {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-family: 'Courier New', monospace;
            font-size: 0.85rem;
        }

        .copy-btn {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            padding: 0.25rem;
            border-radius: 4px;
            transition: all 0.2s ease;
        }

        .copy-btn:hover {
            color: var(--accent-blue);
            background: rgba(100, 181, 255, 0.1);
        }

        .device-status {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .status-dot-device {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            position: relative;
            animation: statusPulse 2s infinite;
        }

        .status-dot-device.online {
            background: #00ff88;
            box-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88, 0 0 30px #00ff88;
        }

        .status-dot-device.offline {
            background: #ff4444;
            box-shadow: 0 0 10px #ff4444, 0 0 20px #ff4444, 0 0 30px #ff4444;
        }

        .status-dot-device.error {
            background: #ffaa00;
            box-shadow: 0 0 10px #ffaa00, 0 0 20px #ffaa00, 0 0 30px #ffaa00;
        }

        @keyframes statusPulse {
            0%, 100% { 
                opacity: 1; 
                transform: scale(1);
            }
            50% { 
                opacity: 0.6; 
                transform: scale(1.1);
            }
        }

        .accounts-list {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .account-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.4rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .account-item:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            border-color: rgba(255, 255, 255, 0.2);
            transform: translateX(4px);
        }

        .account-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.75rem;
            font-weight: 600;
            border: 2px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .account-info {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            flex: 1;
        }

        .account-username {
            font-weight: 500;
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.85rem;
        }

        .account-followers {
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.6);
        }

        .themes-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .theme-tag {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.4rem 0.8rem;
            border-radius: 16px;
            font-size: 0.75rem;
            font-weight: 500;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            width: fit-content;
        }

        .theme-tag:hover {
            transform: translateX(4px);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .theme-gaming { background: linear-gradient(135deg, rgba(255, 100, 100, 0.2), rgba(255, 100, 100, 0.1)); }
        .theme-lifestyle { background: linear-gradient(135deg, rgba(100, 255, 150, 0.2), rgba(100, 255, 150, 0.1)); }
        .theme-tech { background: linear-gradient(135deg, rgba(100, 150, 255, 0.2), rgba(100, 150, 255, 0.1)); }
        .theme-food { background: linear-gradient(135deg, rgba(255, 200, 100, 0.2), rgba(255, 200, 100, 0.1)); }

        .owner-tag {
            padding: 0.4rem 0.8rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            border-radius: 12px;
            font-size: 0.85rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .actions-container {
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }

        .action-btn {
            width: 36px;
            height: 36px;
            border: none;
            border-radius: 8px;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            color: rgba(255, 255, 255, 0.7);
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .action-btn:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.2) 0%,
                rgba(255, 255, 255, 0.1) 100%);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .action-btn.remote:hover { color: var(--accent-blue); box-shadow: 0 4px 12px var(--glow-blue); }
        .action-btn.scan:hover { color: var(--accent-cyan); box-shadow: 0 4px 12px var(--glow-cyan); }
        .action-btn.owner:hover { color: var(--accent-purple); box-shadow: 0 4px 12px var(--glow-purple); }
        .action-btn.theme:hover { color: var(--accent-blue); box-shadow: 0 4px 12px var(--glow-blue); }

        .action-btn.scanning {
            animation: spin 1s linear infinite;
        }

        .action-btn.connecting {
            animation: pulse 1s ease-in-out infinite;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* Пагинация */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .pagination-btn {
            width: 40px;
            height: 40px;
            border: none;
            border-radius: 10px;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            color: rgba(255, 255, 255, 0.7);
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .pagination-btn:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.2) 0%,
                rgba(255, 255, 255, 0.1) 100%);
            color: white;
            transform: translateY(-2px);
        }

        .pagination-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
            transform: none;
        }

        .pagination-numbers {
            display: flex;
            gap: 0.25rem;
        }

        .page-number {
            width: 40px;
            height: 40px;
            border: none;
            border-radius: 10px;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            color: rgba(255, 255, 255, 0.7);
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .page-number:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.2) 0%,
                rgba(255, 255, 255, 0.1) 100%);
            color: white;
        }

        .page-number.active {
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.3) 0%,
                rgba(100, 181, 255, 0.2) 100%);
            color: var(--accent-blue);
            border-color: rgba(100, 181, 255, 0.4);
            box-shadow: 0 0 20px var(--glow-blue);
        }

        /* Модальные окна */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 50%,
                rgba(255, 255, 255, 0.12) 100%);
            backdrop-filter: blur(30px) saturate(180%);
            -webkit-backdrop-filter: blur(30px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 24px;
            box-shadow: 
                0 20px 60px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            padding: 2rem;
            max-width: 500px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
            transform: scale(0.8) translateY(20px);
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .modal-overlay.active .modal {
            transform: scale(1) translateY(0);
        }

        .modal::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                transparent 50%,
                rgba(255, 255, 255, 0.05) 100%);
            pointer-events: none;
            border-radius: inherit;
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .modal-title {
            color: white;
            font-size: 1.5rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .modal-close {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.6);
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .modal-close:hover {
            color: white;
            background: rgba(255, 255, 255, 0.1);
            transform: scale(1.1);
        }

        .modal-body {
            color: rgba(255, 255, 255, 0.9);
        }

        /* Модалка удаленного доступа */
        .connection-steps {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .connection-step {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0.5;
            transform: translateX(-20px);
            transition: all 0.5s ease;
        }

        .connection-step.active {
            opacity: 1;
            transform: translateX(0);
            border-color: var(--accent-blue);
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.15) 0%,
                rgba(100, 181, 255, 0.08) 100%);
            animation: stepPulse 2s infinite;
        }

        .connection-step.active .step-icon {
            opacity: 1;
            animation: iconSpin 1.5s linear infinite;
            filter: drop-shadow(0 0 10px var(--accent-blue));
        }

        .connection-step.completed {
            opacity: 1;
            transform: translateX(0);
            border-color: #00ff88;
            background: linear-gradient(135deg, 
                rgba(0, 255, 136, 0.15) 0%,
                rgba(0, 255, 136, 0.08) 100%);
        }

        .connection-step.completed .step-icon {
            opacity: 1;
            animation: iconSuccess 0.6s ease-out;
            filter: drop-shadow(0 0 10px #00ff88);
            transform: scale(1.1);
        }

        @keyframes stepPulse {
            0%, 100% { box-shadow: 0 0 20px rgba(100, 181, 255, 0.3); }
            50% { box-shadow: 0 0 30px rgba(100, 181, 255, 0.5); }
        }

        @keyframes iconSpin {
            0% { transform: rotate(0deg) scale(1); }
            25% { transform: rotate(90deg) scale(1.1); }
            50% { transform: rotate(180deg) scale(1); }
            75% { transform: rotate(270deg) scale(1.1); }
            100% { transform: rotate(360deg) scale(1); }
        }

        @keyframes iconSuccess {
            0% { transform: scale(1); }
            50% { transform: scale(1.3) rotate(10deg); }
            100% { transform: scale(1.1) rotate(0deg); }
        }

        @keyframes iconPulse {
            0%, 100% { 
                transform: scale(1);
                filter: drop-shadow(0 0 5px var(--accent-blue));
            }
            50% { 
                transform: scale(1.2);
                filter: drop-shadow(0 0 15px var(--accent-blue));
            }
        }

        .step-icon {
            font-size: 1.5rem;
            opacity: 0.5;
            transition: all 0.5s ease;
            flex-shrink: 0;
        }

        .step-number {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 0.9rem;
            flex-shrink: 0;
        }

        .step-number.completed {
            background: linear-gradient(135deg, #00ff88, #00cc66);
        }

        .step-text {
            flex: 1;
            font-size: 0.95rem;
        }

        .progress-container {
            margin-bottom: 2rem;
        }

        .progress-label {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }

        .progress-bar {
            width: 100%;
            height: 8px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            overflow: hidden;
            position: relative;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
            border-radius: 4px;
            width: 0%;
            transition: width 0.5s ease;
            position: relative;
        }

        .progress-fill::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.3), 
                transparent);
            animation: progressShine 2s infinite;
        }

        @keyframes progressShine {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .connection-timer {
            text-align: center;
            font-size: 2rem;
            font-weight: 600;
            color: var(--accent-blue);
            margin-bottom: 1rem;
            font-family: 'Courier New', monospace;
        }

        /* Модалка сканирования */
        .scanner-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
        }

        .radar-container {
            position: relative;
            width: 200px;
            height: 200px;
            margin-bottom: 2rem;
        }

        .radar-circle {
            position: absolute;
            border: 2px solid rgba(100, 181, 255, 0.3);
            border-radius: 50%;
            animation: radarPulse 3s infinite;
        }

        .radar-circle:nth-child(1) {
            width: 60px;
            height: 60px;
            top: 70px;
            left: 70px;
        }

        .radar-circle:nth-child(2) {
            width: 120px;
            height: 120px;
            top: 40px;
            left: 40px;
            animation-delay: 0.5s;
        }

        .radar-circle:nth-child(3) {
            width: 180px;
            height: 180px;
            top: 10px;
            left: 10px;
            animation-delay: 1s;
        }

        @keyframes radarPulse {
            0% { 
                opacity: 1; 
                transform: scale(0.8);
            }
            100% { 
                opacity: 0; 
                transform: scale(1.2);
            }
        }

        .radar-sweep {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 2px;
            height: 90px;
            background: linear-gradient(to top, 
                transparent, 
                var(--accent-blue));
            transform-origin: bottom center;
            animation: radarSweep 2s linear infinite;
        }

        @keyframes radarSweep {
            0% { transform: translate(-50%, 0) rotate(0deg); }
            100% { transform: translate(-50%, 0) rotate(360deg); }
        }

        .scan-progress {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--accent-blue);
            margin-bottom: 1rem;
        }

        .scan-components {
            width: 100%;
        }

        .scan-component {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.75rem 1rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border-radius: 8px;
            margin-bottom: 0.5rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .scan-component.checking {
            border-color: var(--accent-blue);
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.15) 0%,
                rgba(100, 181, 255, 0.08) 100%);
            animation: componentPulse 1.5s infinite;
        }

        .scan-component.completed {
            border-color: #00ff88;
            background: linear-gradient(135deg, 
                rgba(0, 255, 136, 0.15) 0%,
                rgba(0, 255, 136, 0.08) 100%);
        }

        @keyframes componentPulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        .component-status {
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }

        /* Модалка владельца */
        .owner-search {
            width: 100%;
            padding: 0.75rem 1rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            color: white;
            font-size: 0.9rem;
            backdrop-filter: blur(20px);
            margin-bottom: 1.5rem;
        }

        .owner-search::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .owners-list {
            max-height: 300px;
            overflow-y: auto;
            margin-bottom: 1.5rem;
        }

        .owner-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border-radius: 12px;
            margin-bottom: 0.5rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            cursor: pointer;
            transition: all 0.3s ease;
            opacity: 0;
            transform: translateY(20px);
            animation: ownerItemAppear 0.3s ease forwards;
        }

        .owner-item:nth-child(1) { animation-delay: 0.1s; }
        .owner-item:nth-child(2) { animation-delay: 0.2s; }
        .owner-item:nth-child(3) { animation-delay: 0.3s; }
        .owner-item:nth-child(4) { animation-delay: 0.4s; }

        @keyframes ownerItemAppear {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .owner-item:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            border-color: rgba(255, 255, 255, 0.2);
            transform: translateX(4px);
        }

        .owner-item.selected {
            border-color: var(--accent-blue);
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.2) 0%,
                rgba(100, 181, 255, 0.1) 100%);
            box-shadow: 0 0 20px var(--glow-blue);
        }

        .owner-color {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            border: 2px solid rgba(255, 255, 255, 0.3);
            flex-shrink: 0;
        }

        .owner-info {
            flex: 1;
        }

        .owner-name {
            font-weight: 500;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 0.25rem;
        }

        .owner-devices {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.6);
        }

        .add-owner-form {
            display: flex;
            gap: 0.75rem;
            align-items: center;
        }

        .add-owner-input {
            flex: 1;
            padding: 0.75rem 1rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            color: white;
            font-size: 0.9rem;
        }

        .add-owner-input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .color-picker {
            width: 40px;
            height: 40px;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
            transition: all 0.3s ease;
        }

        .color-picker:hover {
            transform: scale(1.1);
            box-shadow: 0 0 20px var(--glow-blue);
        }

        /* Модалка тематики */
        .themes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .theme-option {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            cursor: pointer;
            transition: all 0.3s ease;
            opacity: 0;
            transform: scale(0.8);
            animation: themeAppear 0.4s ease forwards;
        }

        .theme-option:nth-child(1) { animation-delay: 0.1s; }
        .theme-option:nth-child(2) { animation-delay: 0.2s; }
        .theme-option:nth-child(3) { animation-delay: 0.3s; }
        .theme-option:nth-child(4) { animation-delay: 0.4s; }
        .theme-option:nth-child(5) { animation-delay: 0.5s; }
        .theme-option:nth-child(6) { animation-delay: 0.6s; }

        @keyframes themeAppear {
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .theme-option:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            border-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-4px) scale(1.05);
        }

        .theme-option.selected {
            border-color: var(--accent-blue);
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.2) 0%,
                rgba(100, 181, 255, 0.1) 100%);
            box-shadow: 0 0 20px var(--glow-blue);
            transform: translateY(-4px) scale(1.05);
        }

        .theme-icon {
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }

        .theme-name {
            font-size: 0.85rem;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.9);
            text-align: center;
        }

        .theme-color-indicator {
            width: 24px;
            height: 4px;
            border-radius: 2px;
            margin-top: 0.5rem;
        }

        .color-palette {
            display: grid;
            grid-template-columns: repeat(8, 1fr);
            gap: 0.5rem;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .color-option {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.3s ease;
            position: relative;
        }

        .color-option:hover {
            transform: scale(1.2);
            border-color: rgba(255, 255, 255, 0.5);
        }

        .color-option.selected {
            transform: scale(1.2);
            border-color: white;
            box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
        }

        .color-option.selected::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-weight: bold;
            font-size: 0.8rem;
            text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
        }

        .new-theme-form {
            display: flex;
            gap: 0.75rem;
            align-items: center;
            padding: 1rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .new-theme-input {
            flex: 1;
            padding: 0.75rem 1rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            color: white;
            font-size: 0.9rem;
        }

        .new-theme-input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .icon-picker {
            padding: 0.75rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .icon-picker:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            transform: scale(1.1);
        }

        .modal-actions {
            display: flex;
            gap: 1rem;
            justify-content: flex-end;
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .modal-btn {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
            backdrop-filter: blur(20px);
        }

        .modal-btn-primary {
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.25) 0%,
                rgba(100, 181, 255, 0.15) 100%);
            border: 1px solid rgba(100, 181, 255, 0.4);
            color: var(--accent-blue);
        }

        .modal-btn-primary:hover {
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.35) 0%,
                rgba(100, 181, 255, 0.25) 100%);
            box-shadow: 0 0 20px var(--glow-blue);
            transform: translateY(-2px);
        }

        .modal-btn-secondary {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: rgba(255, 255, 255, 0.9);
        }

        .modal-btn-secondary:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.18) 0%,
                rgba(255, 255, 255, 0.12) 100%);
            transform: translateY(-2px);
        }

        /* Стили настроек */
        .settings-tabs {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 2rem;
            padding: 0.5rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .settings-tab {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.75rem 1rem;
            background: transparent;
            border: none;
            border-radius: 8px;
            color: rgba(255, 255, 255, 0.7);
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .settings-tab:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            color: rgba(255, 255, 255, 0.9);
        }

        .settings-tab.active {
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.25) 0%,
                rgba(100, 181, 255, 0.15) 100%);
            color: var(--accent-blue);
            border: 1px solid rgba(100, 181, 255, 0.3);
            box-shadow: 0 0 15px var(--glow-blue);
        }

        .settings-content {
            display: none;
        }

        .settings-content.active {
            display: block;
        }

        .settings-section {
            margin-bottom: 2rem;
        }

        .settings-section-title {
            color: white;
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .add-item-form {
            display: flex;
            gap: 0.75rem;
            align-items: center;
            padding: 1.5rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }

        .settings-input {
            flex: 1;
            min-width: 200px;
            padding: 0.75rem 1rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            color: white;
            font-size: 0.9rem;
        }

        .settings-input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .settings-input:focus {
            outline: none;
            border-color: var(--accent-blue);
            box-shadow: 0 0 15px rgba(100, 181, 255, 0.3);
        }

        .settings-color-picker {
            width: 50px;
            height: 40px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            background: transparent;
            transition: all 0.3s ease;
        }

        .settings-color-picker:hover {
            transform: scale(1.1);
            box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
        }

        .settings-icon-picker {
            width: 50px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }

        .settings-icon-picker:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            transform: scale(1.1);
        }

        .settings-btn-add {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.25rem;
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.25) 0%,
                rgba(100, 181, 255, 0.15) 100%);
            border: 1px solid rgba(100, 181, 255, 0.4);
            border-radius: 8px;
            color: var(--accent-blue);
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .settings-btn-add:hover {
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.35) 0%,
                rgba(100, 181, 255, 0.25) 100%);
            box-shadow: 0 0 20px var(--glow-blue);
            transform: translateY(-2px);
        }

        .settings-list {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            max-height: 300px;
            overflow-y: auto;
            overflow-x: hidden;
        }

        .settings-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .settings-item:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            border-color: rgba(255, 255, 255, 0.2);
            transform: translateX(4px);
        }

        .settings-item-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .settings-item-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }

        .settings-item-name {
            color: rgba(255, 255, 255, 0.9);
            font-weight: 500;
            font-size: 0.95rem;
        }

        .settings-item-meta {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.8rem;
        }

        .settings-item-actions {
            display: flex;
            gap: 0.5rem;
        }

        .settings-item-btn {
            width: 32px;
            height: 32px;
            border: none;
            border-radius: 6px;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            color: rgba(255, 255, 255, 0.7);
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
        }

        .settings-item-btn:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.2) 0%,
                rgba(255, 255, 255, 0.1) 100%);
            color: white;
            transform: scale(1.1);
        }

        .settings-item-btn.delete:hover {
            background: linear-gradient(135deg, 
                rgba(255, 100, 100, 0.3) 0%,
                rgba(255, 100, 100, 0.2) 100%);
            color: #ff6464;
            box-shadow: 0 0 15px rgba(255, 100, 100, 0.3);
        }

        /* Стили панели статистики */
        .stats-overview {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .stats-row {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .stats-group {
            flex: 1;
            min-width: 300px;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.06) 50%,
                rgba(255, 255, 255, 0.10) 100%);
            backdrop-filter: blur(25px) saturate(180%);
            -webkit-backdrop-filter: blur(25px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 20px;
            padding: 1.5rem;
            position: relative;
            overflow: hidden;
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.3),
                0 2px 8px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.2),
                inset 0 -1px 0 rgba(255, 255, 255, 0.05);
        }

        .stats-group::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                transparent 30%,
                transparent 70%,
                rgba(255, 255, 255, 0.05) 100%);
            pointer-events: none;
            border-radius: inherit;
        }

        .stats-group::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.4), 
                transparent);
            border-radius: 20px 20px 0 0;
        }

        .stats-group:hover {
            transform: translateY(-4px) scale(1.01);
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 50%,
                rgba(255, 255, 255, 0.12) 100%);
            border-color: rgba(255, 255, 255, 0.25);
            box-shadow: 
                0 12px 40px rgba(0, 0, 0, 0.35),
                0 0 35px rgba(100, 181, 255, 0.25),
                0 4px 16px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .stats-group-title {
            color: white;
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
        }

        .stats-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
            gap: 0.75rem;
        }

        .mini-stat-card {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 0.75rem;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .mini-stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 12px 12px 0 0;
        }

        .mini-stat-card:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            border-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        }

        .mini-stat-card.online::before {
            background: linear-gradient(90deg, transparent, #00ff88, transparent);
        }

        .mini-stat-card.offline::before {
            background: linear-gradient(90deg, transparent, #ff4444, transparent);
        }

        .mini-stat-card.error::before {
            background: linear-gradient(90deg, transparent, #ffaa00, transparent);
        }

        .mini-stat-card.theme-gaming::before {
            background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
        }

        .mini-stat-card.theme-lifestyle::before {
            background: linear-gradient(90deg, transparent, #4ecdc4, transparent);
        }

        .mini-stat-card.theme-tech::before {
            background: linear-gradient(90deg, transparent, #45b7d1, transparent);
        }

        .mini-stat-card.theme-food::before {
            background: linear-gradient(90deg, transparent, #f9ca24, transparent);
        }

        .mini-stat-number {
            font-size: 1.5rem;
            font-weight: 700;
            color: white;
            margin-bottom: 0.25rem;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
        }

        .mini-stat-label {
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.7);
            font-weight: 500;
        }

        .owners-stats {
            width: 100%;
        }

        .owners-stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
        }

        .owner-stat-card {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 1rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .owner-stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            border-radius: 12px 12px 0 0;
        }

        .owner-stat-card:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            border-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        }

        .owner-stat-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
        }

        .owner-stat-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 0.9rem;
            border: 2px solid rgba(255, 255, 255, 0.2);
            flex-shrink: 0;
        }

        .owner-stat-name {
            color: white;
            font-weight: 600;
            font-size: 0.95rem;
        }

        .owner-stat-metrics {
            display: flex;
            justify-content: space-between;
            gap: 1rem;
        }

        .owner-stat-metric {
            text-align: center;
            flex: 1;
        }

        .owner-stat-value {
            font-size: 1.25rem;
            font-weight: 700;
            color: white;
            margin-bottom: 0.25rem;
        }

        .owner-stat-label {
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.6);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Стили VPN */
        .vpn-keys-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
            gap: 1.5rem;
        }

        .vpn-key-card {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.06) 50%,
                rgba(255, 255, 255, 0.08) 100%);
            backdrop-filter: blur(25px) saturate(180%);
            -webkit-backdrop-filter: blur(25px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 20px;
            padding: 1.5rem;
            position: relative;
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            animation: cardAppear 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.3),
                0 2px 8px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.2),
                inset 0 -1px 0 rgba(255, 255, 255, 0.05);
        }

        .vpn-key-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                transparent 30%,
                transparent 70%,
                rgba(255, 255, 255, 0.05) 100%);
            pointer-events: none;
            border-radius: inherit;
        }

        .vpn-key-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.4), 
                transparent);
            border-radius: 20px 20px 0 0;
        }

        .vpn-key-card:hover {
            transform: translateY(-6px) scale(1.02);
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 50%,
                rgba(255, 255, 255, 0.12) 100%);
            border-color: rgba(255, 255, 255, 0.25);
            box-shadow: 
                0 16px 48px rgba(0, 0, 0, 0.4),
                0 0 40px var(--glow-blue),
                0 4px 16px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .vpn-key-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1rem;
        }

        .vpn-key-info {
            flex: 1;
        }

        .vpn-key-name {
            color: white;
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
        }

        .vpn-key-id {
            font-family: 'Courier New', monospace;
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.6);
            background: rgba(255, 255, 255, 0.1);
            padding: 0.25rem 0.5rem;
            border-radius: 6px;
            display: inline-block;
            margin-bottom: 0.5rem;
        }

        .vpn-key-status {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .vpn-status-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            position: relative;
            animation: vpnStatusPulse 2s infinite;
        }

        .vpn-status-dot.active {
            background: #00ff88;
            box-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88, 0 0 30px #00ff88;
        }

        .vpn-status-dot.warning {
            background: #ffaa00;
            box-shadow: 0 0 10px #ffaa00, 0 0 20px #ffaa00, 0 0 30px #ffaa00;
        }

        @keyframes vpnStatusPulse {
            0%, 100% { 
                opacity: 1; 
                transform: scale(1);
            }
            50% { 
                opacity: 0.6; 
                transform: scale(1.2);
            }
        }

        .vpn-devices-count {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .vpn-locations {
            margin-bottom: 1.5rem;
        }

        .vpn-locations-title {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .vpn-countries-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 0.5rem;
        }

        .vpn-country-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 0.75rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            transition: all 0.3s ease;
            cursor: pointer;
            opacity: 0;
            transform: translateY(10px);
            animation: countryAppear 0.4s ease forwards;
        }

        .vpn-country-item:nth-child(1) { animation-delay: 0.1s; }
        .vpn-country-item:nth-child(2) { animation-delay: 0.2s; }
        .vpn-country-item:nth-child(3) { animation-delay: 0.3s; }
        .vpn-country-item:nth-child(4) { animation-delay: 0.4s; }
        .vpn-country-item:nth-child(5) { animation-delay: 0.5s; }
        .vpn-country-item:nth-child(6) { animation-delay: 0.6s; }

        @keyframes countryAppear {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .vpn-country-item:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            border-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        }

        .vpn-country-flag {
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .vpn-country-name {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 500;
        }

        .vpn-key-actions {
            display: flex;
            gap: 0.5rem;
            justify-content: flex-end;
        }

        .vpn-action-btn {
            width: 36px;
            height: 36px;
            border: none;
            border-radius: 8px;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            color: rgba(255, 255, 255, 0.7);
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .vpn-action-btn:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.2) 0%,
                rgba(255, 255, 255, 0.1) 100%);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .vpn-action-btn.edit:hover { 
            color: var(--accent-blue); 
            box-shadow: 0 4px 12px var(--glow-blue); 
        }

        .vpn-action-btn.copy:hover { 
            color: var(--accent-cyan); 
            box-shadow: 0 4px 12px var(--glow-cyan); 
        }

        .vpn-action-btn.delete:hover { 
            color: #ff6464; 
            box-shadow: 0 4px 12px rgba(255, 100, 100, 0.3); 
        }

        /* Стили модалок VPN */
        .vpn-modal {
            max-width: 700px;
        }

        .vpn-form-section {
            margin-bottom: 2rem;
        }

        .vpn-form-section-title {
            color: white;
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .vpn-form-group {
            margin-bottom: 1.5rem;
        }

        .vpn-form-label {
            display: block;
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 0.5rem;
        }

        .vpn-form-input {
            width: 100%;
            padding: 0.75rem 1rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            color: white;
            font-size: 0.9rem;
            backdrop-filter: blur(20px);
            transition: all 0.3s ease;
        }

        .vpn-form-input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .vpn-form-input:focus {
            outline: none;
            border-color: var(--accent-blue);
            box-shadow: 0 0 20px rgba(100, 181, 255, 0.3);
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 100%);
        }

        .vpn-form-textarea {
            min-height: 100px;
            resize: vertical;
            font-family: 'Courier New', monospace;
        }

        .vpn-status-toggle {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .vpn-toggle-switch {
            position: relative;
            width: 60px;
            height: 30px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .vpn-toggle-switch.active {
            background: linear-gradient(135deg, #00ff88, #00cc66);
            box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
        }

        .vpn-toggle-switch.inactive {
            background: linear-gradient(135deg, #ff4444, #cc3333);
            box-shadow: 0 0 20px rgba(255, 68, 68, 0.4);
        }

        .vpn-toggle-handle {
            position: absolute;
            top: 2px;
            left: 2px;
            width: 24px;
            height: 24px;
            background: white;
            border-radius: 50%;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .vpn-toggle-switch.active .vpn-toggle-handle {
            transform: translateX(28px);
        }

        .vpn-toggle-switch.inactive .vpn-toggle-handle {
            transform: translateX(28px);
        }

        .vpn-toggle-label {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 500;
        }

        .vpn-countries-selector {
            max-height: 200px;
            overflow-y: auto;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
        }

        .vpn-country-search {
            width: 100%;
            padding: 0.75rem 1rem;
            background: transparent;
            border: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            color: white;
            font-size: 0.9rem;
        }

        .vpn-country-search::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .vpn-country-search:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.05);
        }

        .vpn-country-option {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .vpn-country-option:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .vpn-country-option.selected {
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.2) 0%,
                rgba(100, 181, 255, 0.1) 100%);
            border-color: rgba(100, 181, 255, 0.3);
        }

        .vpn-country-option-flag {
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .vpn-country-option-name {
            color: rgba(255, 255, 255, 0.9);
            font-weight: 500;
        }

        .vpn-devices-assignment {
            margin-top: 1.5rem;
        }

        .vpn-device-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.75rem 1rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            margin-bottom: 0.5rem;
            transition: all 0.3s ease;
            cursor: grab;
        }

        .vpn-device-item:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            border-color: rgba(255, 255, 255, 0.2);
            transform: translateX(4px);
        }

        .vpn-device-item.dragging {
            opacity: 0.5;
            transform: rotate(5deg);
            cursor: grabbing;
        }

        .vpn-device-info {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .vpn-device-id {
            font-family: 'Courier New', monospace;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.9);
        }

        .vpn-device-country {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.25rem 0.5rem;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            font-size: 0.8rem;
        }

        .vpn-selected-countries {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .vpn-selected-country {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 0.75rem;
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.2) 0%,
                rgba(100, 181, 255, 0.1) 100%);
            border: 1px solid rgba(100, 181, 255, 0.3);
            border-radius: 20px;
            color: var(--accent-blue);
            font-size: 0.85rem;
            font-weight: 500;
        }

        .vpn-selected-country-remove {
            background: none;
            border: none;
            color: inherit;
            cursor: pointer;
            font-size: 1rem;
            padding: 0;
            margin-left: 0.25rem;
            transition: all 0.3s ease;
        }

        .vpn-selected-country-remove:hover {
            transform: scale(1.2);
            color: #ff6464;
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            .container {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
                height: auto;
            }
            
            .stats-grid {
                grid-template-columns: 1fr;
            }

            .stats-row {
                flex-direction: column;
                gap: 1rem;
            }

            .stats-group {
                min-width: auto;
            }

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

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

            .search-container {
                max-width: none;
            }

            .accounts-list {
                gap: 0.5rem;
            }

            .account-item {
                padding: 0.4rem;
            }

            .actions-container {
                flex-direction: column;
                gap: 0.25rem;
            }

            .modal {
                width: 95%;
                padding: 1.5rem;
                max-height: 90vh;
            }

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

            .color-palette {
                grid-template-columns: repeat(6, 1fr);
            }

            .modal-actions {
                flex-direction: column;
            }

            /* VPN адаптивность */
            .vpn-keys-grid {
                grid-template-columns: 1fr;
            }

            .vpn-key-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }

            .vpn-key-actions {
                align-self: flex-end;
            }

            .vpn-countries-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .vpn-form-section {
                margin-bottom: 1.5rem;
            }

            .vpn-status-toggle {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.75rem;
            }

            .vpn-selected-countries {
                gap: 0.25rem;
            }

            .vpn-selected-country {
                font-size: 0.8rem;
                padding: 0.4rem 0.6rem;
            }

            .vpn-countries-selector {
                max-height: 150px;
            }

            .vpn-device-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }

            .vpn-device-info {
                width: 100%;
            }
        }

        .page-content {
            display: none;
        }

        .page-content.active {
            display: block;
        }

        /* Стили для страницы ошибок */
        .error-item {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            transition: all 0.3s ease;
        }

        .error-item.critical {
            border-left: 4px solid #ff4444;
            background: linear-gradient(135deg, 
                rgba(255, 68, 68, 0.1) 0%,
                rgba(255, 68, 68, 0.05) 100%);
        }

        .error-item.warning {
            border-left: 4px solid #ffaa00;
            background: linear-gradient(135deg, 
                rgba(255, 170, 0, 0.1) 0%,
                rgba(255, 170, 0, 0.05) 100%);
        }

        .error-item.info {
            border-left: 4px solid #64b5ff;
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.1) 0%,
                rgba(100, 181, 255, 0.05) 100%);
        }

        .error-item:hover {
            transform: translateY(-4px) scale(1.02);
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            border-color: rgba(255, 255, 255, 0.25);
            box-shadow: 
                0 12px 40px rgba(0, 0, 0, 0.25),
                0 0 30px rgba(100, 181, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .error-item.critical:hover {
            background: linear-gradient(135deg, 
                rgba(255, 68, 68, 0.15) 0%,
                rgba(255, 68, 68, 0.08) 100%);
            box-shadow: 
                0 12px 40px rgba(0, 0, 0, 0.25),
                0 0 30px rgba(255, 68, 68, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .error-item.warning:hover {
            background: linear-gradient(135deg, 
                rgba(255, 170, 0, 0.15) 0%,
                rgba(255, 170, 0, 0.08) 100%);
            box-shadow: 
                0 12px 40px rgba(0, 0, 0, 0.25),
                0 0 30px rgba(255, 170, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .error-item.info:hover {
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.15) 0%,
                rgba(100, 181, 255, 0.08) 100%);
            box-shadow: 
                0 12px 40px rgba(0, 0, 0, 0.25),
                0 0 30px rgba(100, 181, 255, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .hover-glow:hover {
            box-shadow: 0 8px 32px rgba(100, 181, 255, 0.25), 0 0 0 1px rgba(255,255,255,0.08) inset;
            transform: translateY(-2px);
        }

        /* Dock панель стили */
        .dock-container {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            display: flex;
            justify-content: center;
            align-items: flex-end;
            padding: 1rem;
            pointer-events: none;
        }

        .dock-panel {
            position: relative;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            border-radius: 1.5rem;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 100%);
            backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 0.75rem 1rem;
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2),
                inset 0 -1px 0 rgba(255, 255, 255, 0.1);
            pointer-events: all;
            height: 68px; /* Фиксированная высота */
            overflow: visible; /* Позволяем элементам выходить за границы */
        }

        .dock-panel::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                transparent 50%,
                rgba(255, 255, 255, 0.05) 100%);
            border-radius: inherit;
            pointer-events: none;
        }

        .dock-item {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            border-radius: 12px;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            border: 1px solid rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            cursor: pointer;
            outline: none;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 
                0 4px 16px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        /* Уровни масштабирования с подсветкой */
        .dock-item.scale-3 {
            width: 85px;
            height: 85px;
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.3) 0%,
                rgba(100, 181, 255, 0.2) 100%);
            border-color: rgba(100, 181, 255, 0.5);
            box-shadow: 
                0 8px 32px rgba(100, 181, 255, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.4),
                0 0 25px rgba(100, 181, 255, 0.6);
        }

        .dock-item.scale-2 {
            width: 72px;
            height: 72px;
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.25) 0%,
                rgba(100, 181, 255, 0.15) 100%);
            border-color: rgba(100, 181, 255, 0.4);
            box-shadow: 
                0 6px 24px rgba(100, 181, 255, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.35),
                0 0 18px rgba(100, 181, 255, 0.5);
        }

        .dock-item.scale-1 {
            width: 62px;
            height: 62px;
            /* Только увеличение размера, без изменения фона */
        }

        /* Классы только для увеличения размеров без подсветки */
        .dock-item.scale-size-2 {
            width: 72px;
            height: 72px;
        }

        .dock-item.scale-size-1 {
            width: 62px;
            height: 62px;
        }

        .dock-item.active {
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.3) 0%,
                rgba(100, 181, 255, 0.2) 100%);
            border-color: rgba(100, 181, 255, 0.5);
            box-shadow: 
                0 8px 32px rgba(100, 181, 255, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3),
                0 0 20px rgba(100, 181, 255, 0.4);
        }

        .dock-item:focus {
            outline: 2px solid rgba(100, 181, 255, 0.5);
            outline-offset: 2px;
        }

        .dock-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.9);
            font-size: 1.25rem;
            transition: all 0.3s ease;
        }

        .dock-item.scale-3 .dock-icon {
            color: #64b5ff;
            transform: scale(1.3);
            text-shadow: 0 0 15px rgba(100, 181, 255, 0.8);
        }

        .dock-item.scale-2 .dock-icon {
            color: #64b5ff;
            transform: scale(1.15);
            text-shadow: 0 0 12px rgba(100, 181, 255, 0.6);
        }

        .dock-item.scale-1 .dock-icon {
            color: #64b5ff;
            transform: scale(1.08);
            text-shadow: 0 0 8px rgba(100, 181, 255, 0.4);
        }

        /* Стили для иконок при увеличении размера без подсветки */
        .dock-item.scale-size-2 .dock-icon {
            transform: scale(1.15);
        }

        .dock-item.scale-size-1 .dock-icon {
            transform: scale(1.08);
        }

        .dock-item.active .dock-icon {
            color: #64b5ff;
        }

        .dock-label {
            position: absolute;
            bottom: 100%;
            left: 50%;
            margin-bottom: 0.5rem;
            width: fit-content;
            white-space: nowrap;
            border-radius: 0.5rem;
            background: linear-gradient(135deg, 
                rgba(0, 0, 0, 0.8) 0%,
                rgba(0, 0, 0, 0.9) 100%);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 0.375rem 0.75rem;
            font-size: 0.75rem;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.9);
            box-shadow: 
                0 4px 16px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            transform: translateX(-50%);
            z-index: 1001;
            opacity: 0;
            pointer-events: none;
            transition: all 0.2s ease;
        }

        .dock-label::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 4px solid transparent;
            border-top-color: rgba(0, 0, 0, 0.9);
        }

        .dock-item:hover .dock-label {
            opacity: 1;
            transform: translateX(-50%) translateY(-5px);
        }

        /* Адаптивность для dock */
        @media (max-width: 768px) {
            .dock-panel {
                gap: 0.5rem;
                padding: 0.5rem 0.75rem;
                border-radius: 1rem;
                height: 60px;
            }
            
            .dock-item {
                width: 40px;
                height: 40px;
                border-radius: 8px;
            }
            
            .dock-item.scale-3 {
                width: 65px;
                height: 65px;
            }
            
            .dock-item.scale-2 {
                width: 55px;
                height: 55px;
            }
            
            .dock-item.scale-1 {
                width: 48px;
                height: 48px;
            }
            
            .dock-item.scale-size-2 {
                width: 55px;
                height: 55px;
            }
            
            .dock-item.scale-size-1 {
                width: 48px;
                height: 48px;
            }
            
            .dock-icon {
                font-size: 1rem;
            }
            
            .dock-label {
                font-size: 0.7rem;
                padding: 0.25rem 0.5rem;
            }
        }

        .error-header {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
        }

        .error-icon {
            font-size: 1.5rem;
            margin-top: 0.25rem;
        }

        .error-info {
            flex: 1;
        }

        .error-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: white;
            margin-bottom: 0.5rem;
        }

        .error-description {
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 1rem;
        }

        .error-details {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .error-detail {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }

        .error-detail-label {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.6);
        }

        .error-detail-value {
            font-size: 0.9rem;
            color: white;
            font-weight: 500;
        }

        .error-detail-value.device-id {
            font-family: 'Courier New', monospace;
            background: rgba(255, 255, 255, 0.1);
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .error-detail-value.device-id:hover {
            background: rgba(100, 181, 255, 0.2);
            color: var(--accent-blue);
        }

        .error-actions {
            display: flex;
            gap: 0.75rem;
            align-items: center;
        }

        /* Стили для палочек рилсов */
        .reels-container {
            display: flex;
            gap: 6px;
            align-items: center;
            height: 40px;
            padding: 0 4px;
        }

        .reel-bar {
            width: 5px;
            height: 100%;
            border-radius: 2.5px;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
            flex: 1;
        }

        .reel-bar:hover {
            transform: scaleY(1.2);
            box-shadow: 0 0 8px currentColor;
        }

        /* Цвета палочек по диапазонам просмотров */
        .reel-bar.views-1-10 {
            background: #d3d3d3;
            box-shadow: 0 0 4px rgba(211, 211, 211, 0.4);
        }

        .reel-bar.views-11-100 {
            background: #808080;
            box-shadow: 0 0 6px rgba(128, 128, 128, 0.4);
        }

        .reel-bar.views-101-1000 {
            background: #ffd700;
            box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
        }

        .reel-bar.views-1001-10000 {
            background: #228b22;
            box-shadow: 0 0 8px rgba(34, 139, 34, 0.4);
        }

        .reel-bar.views-10001-99999 {
            background: #00ff7f;
            box-shadow: 0 0 10px rgba(0, 255, 127, 0.4);
        }

        .reel-bar.views-100000-plus {
            background: linear-gradient(to top, #9b59b6, #8e44ad);
            box-shadow: 0 0 12px rgba(155, 89, 182, 0.4);
        }

        .reel-bar.error {
            background: linear-gradient(to top, #e74c3c, #c0392b);
            box-shadow: 0 0 10px rgba(231, 76, 60, 0.4);
        }

        /* Tooltip для палочек */
        .reel-tooltip {
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.9);
            color: white;
            padding: 6px 10px;
            border-radius: 6px;
            font-size: 11px;
            white-space: nowrap;
            z-index: 1000;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s ease;
            margin-bottom: 5px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
        }

        .reel-tooltip::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 4px solid transparent;
            border-top-color: rgba(0, 0, 0, 0.9);
        }

        .reel-bar:hover .reel-tooltip {
            opacity: 1;
        }

        /* Стили для страницы залив/прогрев */
        .tabs-container {
            display: flex;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 0.5rem;
        }

        .tab-button {
            flex: 1;
            padding: 0.75rem 1.5rem;
            background: transparent;
            border: none;
            border-radius: 8px;
            color: rgba(255, 255, 255, 0.7);
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .tab-button.active {
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.08) 0%,
                rgba(100, 181, 255, 0.05) 100%);
            color: var(--accent-blue);
            border: 1px solid rgba(100, 181, 255, 0.15);
            box-shadow: 0 0 8px var(--glow-blue);
        }
        .tab-button:hover {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.1) 0%,
                rgba(255, 255, 255, 0.05) 100%);
            color: rgba(255, 255, 255, 0.9);
        }

        .rules-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 1.5rem;
        }

        .rule-card {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.04) 100%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 1.5rem;
            transition: all 0.3s ease;
        }

        .rule-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        }

        .rule-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1rem;
        }

        .rule-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: white;
            margin-bottom: 0.5rem;
        }

        .rule-type {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .rule-type.heating {
            background: linear-gradient(135deg, rgba(255, 170, 0, 0.15), rgba(255, 215, 0, 0.15));
            color: #ffaa00;
            border: 1px solid rgba(255, 170, 0, 0.1);
        }

        .rule-type.filling {
            background: linear-gradient(135deg, rgba(100, 181, 255, 0.1), rgba(180, 100, 255, 0.1));
            color: #64b5ff;
            border: 1px solid rgba(100, 181, 255, 0.1);
        }

        .rule-actions {
            display: flex;
            gap: 0.5rem;
        }

        .rule-action-btn {
            width: 32px;
            height: 32px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
        }

        .rule-action-btn.toggle.active {
            background: linear-gradient(135deg, #00ff88, #00d4aa);
            color: white;
        }

        .rule-action-btn.edit:hover {
            background: rgba(100, 181, 255, 0.2);
            color: var(--accent-blue);
        }

        .rule-action-btn.delete:hover {
            background: rgba(255, 100, 100, 0.2);
            color: #ff6464;
        }

        .vpn-action-btn.toggle:hover {
            background: rgba(100, 181, 255, 0.2);
            color: var(--accent-blue);
            transform: scale(1.1);
        }

        .rule-details {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .rule-detail {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .rule-detail-label {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
        }

        .rule-detail-value {
            font-size: 0.9rem;
            color: white;
            font-weight: 500;
        }

        /* Стили для статистики */
        .stats-control {
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }

        .stats-control label {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            font-weight: 500;
        }

        .chart-container {
            height: 300px;
            background: linear-gradient(135deg, 
                rgba(100, 181, 255, 0.1) 0%,
                rgba(100, 181, 255, 0.05) 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.6);
            font-size: 1.1rem;
        }

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

        .stats-table th {
            padding: 1rem;
            text-align: left;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.8);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .stats-table td {
            padding: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            color: white;
        }

        .stats-table tr:hover {
            background: rgba(255, 255, 255, 0.05);
        }

        .sortable-header {
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
        }

        .sortable-header:hover {
            color: white;
        }

        .sort-icon {
            font-size: 0.8rem;
            opacity: 0.6;
        }

        .account-name {
            font-weight: 600;
        }

        .positive {
            color: #00ff88 !important;
            font-weight: 700 !important;
            text-shadow: 0 0 5px rgba(0, 255, 136, 0.3);
        }

        .negative {
            color: #ff4444 !important;
            font-weight: 700 !important;
            text-shadow: 0 0 5px rgba(255, 68, 68, 0.3);
        }

        .avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            font-weight: 700;
            color: white;
            background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
            border: 1px solid rgba(255,255,255,0.15);
            box-shadow: 0 4px 16px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
        }

        /* Theme badges for rules */
        .theme-badge {
            display: inline-block;
            padding: 0.25rem 0.5rem;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .theme-badge.tech {
            background: linear-gradient(135deg, rgba(100, 181, 255, 0.2), rgba(100, 181, 255, 0.1));
            color: #64b5ff;
            border: 1px solid rgba(100, 181, 255, 0.3);
        }

        .theme-badge.lifestyle {
            background: linear-gradient(135deg, rgba(255, 100, 181, 0.2), rgba(255, 100, 181, 0.1));
            color: #ff64b5;
            border: 1px solid rgba(255, 100, 181, 0.3);
        }

        .theme-badge.entertainment {
            background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.1));
            color: #ffc107;
            border: 1px solid rgba(255, 193, 7, 0.3);
        }

        .theme-badge.fashion {
            background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(156, 39, 176, 0.1));
            color: #9c27b0;
            border: 1px solid rgba(156, 39, 176, 0.3);
        }

        .table-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .table-controls {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .page-size-selector {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .page-size-selector label {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.8);
        }

        .page-size-selector select {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            padding: 0.5rem 0.75rem;
            color: white;
            font-size: 0.9rem;
            min-width: 80px;
        }

        .page-size-selector select:focus {
            outline: none;
            border-color: var(--accent-blue);
            box-shadow: 0 0 0 2px rgba(100, 181, 255, 0.2);
        }


        /* VPN Key Details Styling */
        .vpn-key-details {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .vpn-key-detail {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .vpn-key-label {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
        }

        .vpn-key-value {
            font-size: 0.9rem;
            color: white;
            font-weight: 500;
        }

        .vpn-status {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .vpn-status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #ff4444;
            animation: pulse 2s infinite;
            box-shadow: 0 0 10px #ff4444, 0 0 20px #ff4444, 0 0 30px #ff4444;
        }

        .vpn-status-dot.active {
            background: #00ff88;
            box-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88, 0 0 30px #00ff88;
        }

        .vpn-status-text {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.8);
        }

        .vpn-key-footer {
            margin-top: 1.5rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Стили для новых вкладок настроек */
        .profile-description-form, .links-management-form {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-row {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .form-group-half {
            flex: 1;
            margin-bottom: 0;
        }

        .form-group-full {
            width: 100%;
        }

        .settings-textarea-full {
            width: 100%;
            resize: vertical;
        }

        .form-actions {
            display: flex;
            gap: 1rem;
            justify-content: flex-start;
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .modal-btn-save {
            background: linear-gradient(135deg, rgba(100, 255, 136, 0.2), rgba(100, 181, 255, 0.2));
            border: 1px solid rgba(100, 255, 136, 0.3);
            color: #64ff88;
        }

        .modal-btn-save:hover {
            background: linear-gradient(135deg, rgba(100, 255, 136, 0.3), rgba(100, 181, 255, 0.3));
            box-shadow: 0 0 20px rgba(100, 255, 136, 0.2);
        }

        .form-label {
            display: block;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 0.5rem;
        }

        .profile-descriptions-list, .links-list {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 12px;
            padding: 1rem;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .profile-description-item, .link-item {
            background: rgba(255, 255, 255, 0.08);
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 1rem;
            border-left: 3px solid var(--accent-blue);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .profile-description-item:last-child, .link-item:last-child {
            margin-bottom: 0;
        }

        .profile-description-info, .link-info {
            flex: 1;
        }

        .profile-description-theme, .profile-description-owner, .link-theme {
            color: var(--accent-blue);
            font-size: 0.8rem;
            margin-bottom: 0.25rem;
        }

        .profile-description-text, .link-url {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }

        .profile-description-actions, .link-actions {
            display: flex;
            gap: 0.5rem;
        }

        .btn-edit, .btn-delete {
            padding: 0.25rem 0.75rem;
            border-radius: 6px;
            border: none;
            cursor: pointer;
            font-size: 0.8rem;
            transition: all 0.2s ease;
        }

        .btn-edit {
            background: rgba(100, 181, 255, 0.2);
            color: var(--accent-blue);
            border: 1px solid rgba(100, 181, 255, 0.3);
        }

        .btn-edit:hover {
            background: rgba(100, 181, 255, 0.3);
        }

        .btn-delete {
            background: rgba(255, 100, 100, 0.2);
            color: #ff6464;
            border: 1px solid rgba(255, 100, 100, 0.3);
        }

        .btn-delete:hover {
            background: rgba(255, 100, 100, 0.3);
        }

        /* Стили для поля ввода тегов */
        .tag-input-container {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 1rem;
            transition: all 0.3s ease;
        }

        .tag-input-container:focus-within {
            border-color: var(--accent-blue);
            box-shadow: 0 0 0 3px rgba(100, 181, 255, 0.1);
        }

        .tag-input-wrapper {
            position: relative;
            min-height: 50px;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.5rem;
            padding: 0.5rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .tag-input {
            flex: 1;
            min-width: 200px;
            background: transparent;
            border: none;
            outline: none;
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.9rem;
            padding: 0.5rem;
            font-family: inherit;
        }

        .tag-input:empty:before {
            content: attr(placeholder);
            color: rgba(255, 255, 255, 0.4);
            font-style: italic;
        }

        .tag-input:focus {
            outline: none;
        }

        .tag-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .tag-item {
            background: linear-gradient(135deg, rgba(100, 181, 255, 0.2), rgba(180, 100, 255, 0.2));
            border: 1px solid rgba(100, 181, 255, 0.3);
            border-radius: 20px;
            padding: 0.5rem 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.9rem;
            font-weight: 500;
            animation: tagSlideIn 0.3s ease;
            position: relative;
        }

        .tag-item::before {
            content: '@';
            color: var(--accent-blue);
            font-weight: bold;
        }

        .tag-remove {
            background: rgba(255, 100, 100, 0.2);
            border: 1px solid rgba(255, 100, 100, 0.3);
            color: #ff6464;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 0.8rem;
            transition: all 0.2s ease;
            margin-left: 0.5rem;
        }

        .tag-remove:hover {
            background: rgba(255, 100, 100, 0.3);
            transform: scale(1.1);
        }

        @keyframes tagSlideIn {
            from {
                opacity: 0;
                transform: translateY(-10px) scale(0.9);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .tag-item.removing {
            animation: tagSlideOut 0.3s ease forwards;
        }

        @keyframes tagSlideOut {
            from {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
            to {
                opacity: 0;
                transform: translateY(-10px) scale(0.9);
            }
        }

        /* Стили для уведомлений */
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            background: linear-gradient(135deg, rgba(100, 181, 255, 0.9), rgba(180, 100, 255, 0.9));
            color: white;
            padding: 1rem 1.5rem;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 32px rgba(100, 181, 255, 0.3);
            backdrop-filter: blur(20px);
            z-index: 10000;
            transform: translateX(400px);
            transition: transform 0.3s ease;
            max-width: 300px;
        }

        .notification.show {
            transform: translateX(0);
        }

        .notification.error {
            background: linear-gradient(135deg, rgba(255, 100, 100, 0.9), rgba(255, 170, 0, 0.9));
            box-shadow: 0 8px 32px rgba(255, 100, 100, 0.3);
        }

        .notification.success {
            background: linear-gradient(135deg, rgba(100, 255, 136, 0.9), rgba(100, 181, 255, 0.9));
            box-shadow: 0 8px 32px rgba(100, 255, 136, 0.3);
        }

        .notification-content {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .notification-icon {
            font-size: 1.2rem;
        }

        .notification-message {
            flex: 1;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .notification-close {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            font-size: 1.2rem;
            opacity: 0.7;
            transition: opacity 0.2s ease;
        }

        .notification-close:hover {
            opacity: 1;
        }

        /* Стили для блока команды */
        .team-section {
            margin-bottom: 2rem;
            position: relative;
            z-index: 10;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.15) 0%,
                rgba(255, 255, 255, 0.08) 50%,
                rgba(255, 255, 255, 0.12) 100%) !important;
            border: 2px solid rgba(100, 181, 255, 0.3) !important;
            padding: 2rem !important;
        }

        .team-description {
            color: rgba(255, 255, 255, 0.9) !important;
            font-size: 1.2rem !important;
            line-height: 1.6;
            margin-bottom: 2rem;
            text-align: center;
            position: relative;
            z-index: 10;
            font-weight: 500 !important;
        }

        .team-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
            position: relative;
            z-index: 10;
        }

        .stat-item {
            text-align: center;
            padding: 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            position: relative;
            z-index: 10;
        }

        .stat-item:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateY(-2px);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            color: #64b5ff;
            margin-bottom: 0.5rem;
            display: block;
            position: relative;
            z-index: 10;
        }

        .stat-label {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
            font-weight: 500;
            position: relative;
            z-index: 10;
        }

        /* Дополнительные стили для заголовка команды */
        .team-section .section-title {
            color: #64b5ff !important;
            font-size: 2rem !important;
            font-weight: 700 !important;
            text-align: center !important;
            margin-bottom: 1.5rem !important;
            position: relative !important;
            z-index: 10 !important;
        }

        /* Простой фон без анимации */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 80%, rgba(100, 181, 255, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(100, 181, 255, 0.05) 0%, transparent 50%);
            pointer-events: none;
            z-index: -1;
        }