/* WEB PANEL PROXY public CSS */
/* ----- Сброс и шрифты ----- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
            background: linear-gradient(145deg, #0b0f1c 0%, #1a1f33 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
            color: #eef2ff;
        }

        /* ----- Основная карточка (стекло) ----- */
        .auth-card {
            width: 100%;
            max-width: 420px;
            background: rgba(20, 28, 48, 0.75);
            backdrop-filter: blur(16px) saturate(180%);
            -webkit-backdrop-filter: blur(16px) saturate(180%);
            border-radius: 2.5rem;
            border: 1px solid rgba(120, 160, 255, 0.2);
            box-shadow: 0 30px 50px -15px rgba(0, 0, 0, 0.8),
                        0 0 0 1px rgba(200, 220, 255, 0.05) inset;
            padding: 2.2rem 2rem 2.5rem;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .auth-card:hover {
            box-shadow: 0 35px 60px -18px #000000cc,
                        0 0 0 1px rgba(160, 190, 255, 0.15) inset;
        }

        /* ----- Логотип и заголовок ----- */
        .logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-bottom: 1.8rem;
            color: #b7c9ff;
            font-weight: 500;
            letter-spacing: 0.5px;
        }

        .logo-icon {
            font-size: 2.1rem;
            filter: drop-shadow(0 0 8px #4f7cff);
        }

        .logo-text {
            font-size: 1.6rem;
            font-weight: 600;
            background: linear-gradient(135deg, #d6e2ff, #a0b9ff);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            letter-spacing: -0.5px;
        }

        .tagline {
            text-align: center;
            font-size: 0.9rem;
            color: #9bb1e0;
            margin-bottom: 2.2rem;
            border-bottom: 1px dashed #2b3a5e;
            padding-bottom: 1.3rem;
            font-weight: 300;
            letter-spacing: 0.3px;
        }

        /* ----- Переключатель вкладок (вход/регистрация) ----- */
        .tabs {
            display: flex;
            gap: 0.5rem;
            background: #0e1422;
            padding: 0.4rem;
            border-radius: 3rem;
            margin-bottom: 2rem;
            border: 1px solid #232e48;
        }

        .tab-btn {
            flex: 1;
            padding: 0.8rem 0.5rem;
            border: none;
            background: transparent;
            color: #7e8fb0;
            font-size: 1rem;
            font-weight: 500;
            border-radius: 2rem;
            cursor: pointer;
            transition: all 0.2s ease;
            font-family: inherit;
            letter-spacing: 0.3px;
        }

        .tab-btn.active {
            background: #21304d;
            color: #eef4ff;
            box-shadow: 0 4px 12px rgba(0, 20, 60, 0.6), 0 0 0 1px #3f5a8c inset;
        }

        .tab-btn:hover:not(.active) {
            color: #b8c8f0;
            background: #141e30;
        }

        /* ----- Формы ----- */
        .auth-form {
            display: none;
            flex-direction: column;
            gap: 1.3rem;
            animation: fade 0.25s ease;
        }

        .auth-form.active-form {
            display: flex;
        }

        @keyframes fade {
            from { opacity: 0.4; transform: translateY(6px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .input-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .input-group label {
            font-size: 0.82rem;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            font-weight: 500;
            color: #9eb2da;
            padding-left: 0.2rem;
        }

        .input-group input {
            background: #0b111f;
            border: 1.5px solid #26334d;
            border-radius: 1.2rem;
            padding: 0.9rem 1.2rem;
            font-size: 0.98rem;
            color: #ffffff;
            font-family: inherit;
            transition: border 0.2s, box-shadow 0.2s, background 0.2s;
            outline: none;
            width: 100%;
        }

        .input-group input:focus {
            border-color: #4f7cff;
            box-shadow: 0 0 0 3px rgba(79, 124, 255, 0.25);
            background: #0d1527;
        }

        .input-group input::placeholder {
            color: #5b6f96;
            font-weight: 300;
            opacity: 0.8;
        }

        /* ----- Кнопка отправки ----- */
        .submit-btn {
            margin-top: 0.6rem;
            padding: 1rem 1.5rem;
            border-radius: 3rem;
            border: none;
            background: linear-gradient(135deg, #2f5bff, #1e3fc9);
            color: white;
            font-weight: 600;
            font-size: 1rem;
            letter-spacing: 0.5px;
            cursor: pointer;
            box-shadow: 0 8px 18px -6px #1e3fc9, 0 0 0 1px #6285ff inset;
            transition: all 0.15s ease;
            font-family: inherit;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .submit-btn:hover {
            background: linear-gradient(135deg, #3e6aff, #2548d4);
            transform: scale(1.01);
            box-shadow: 0 12px 22px -8px #2a50e0, 0 0 0 1px #8aa4ff inset;
        }

        .submit-btn:active {
            transform: scale(0.98);
            background: #1a37b0;
        }

        .submit-btn i {
            font-size: 1.2rem;
            line-height: 1;
        }

        /* ----- Дополнительные ссылки / примечания ----- */
        .form-footer {
            margin-top: 1.5rem;
            text-align: center;
            font-size: 0.82rem;
            color: #6f82aa;
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }

        .form-footer a {
            color: #8da6ff;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.15s;
        }

        .form-footer a:hover {
            color: #b7c9ff;
            text-decoration: underline;
        }

        .divider {
            display: flex;
            align-items: center;
            gap: 1rem;
            color: #3b4a6b;
            font-size: 0.75rem;
            letter-spacing: 1px;
        }

        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #29344e;
        }

        /* ----- Сообщение об ошибке / уведомление (скрыто по умолчанию) ----- */
        .message {
            font-size: 0.85rem;
            padding: 0.65rem 1rem;
            border-radius: 2rem;
            background: #1f1a2e;
            color: #e0b0ff;
            border-left: 4px solid #a555ff;
            display: none;
            margin-bottom: 0.2rem;
        }

        .message.show {
            display: block;
        }

        /* ----- Адаптивность ----- */
        @media (max-width: 480px) {
            .auth-card {
                padding: 1.8rem 1.3rem 2rem;
                border-radius: 2rem;
            }
            .logo-text {
                font-size: 1.4rem;
            }
            .tab-btn {
                font-size: 0.9rem;
                padding: 0.7rem 0.3rem;
            }
        }