/* WEB PANEL PROXY public CSS */
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
        }

        body {
            min-height: 100vh;
            background: linear-gradient(145deg, #fff9e6 0%, #fff3d1 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
        }

        /* Основная карточка */
        .login-card {
            background: #ffffff;
            width: 100%;
            max-width: 420px;
            border-radius: 2.5rem;
            padding: 2.5rem 2rem 2.2rem;
            box-shadow: 0 20px 40px -12px rgba(255, 193, 7, 0.25),
                        0 8px 24px -6px rgba(0, 0, 0, 0.05),
                        0 0 0 1px rgba(255, 215, 0, 0.3);
            transition: box-shadow 0.2s;
        }

        /* Логотип / иконка */
        .logo {
            display: flex;
            justify-content: center;
            margin-bottom: 2rem;
        }

        .logo-circle {
            background: #ffd966;
            width: 68px;
            height: 68px;
            border-radius: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 12px 18px -8px rgba(255, 193, 7, 0.4);
        }

        .logo-circle svg {
            width: 38px;
            height: 38px;
            fill: #ffffff;
            stroke: #ffffff;
            stroke-width: 0.6;
        }

        /* Заголовок */
        h1 {
            font-size: 1.9rem;
            font-weight: 600;
            letter-spacing: -0.02em;
            color: #3e2e0b;
            text-align: center;
            margin-bottom: 0.35rem;
        }

        .subhead {
            text-align: center;
            color: #b38f4d;
            font-size: 0.95rem;
            font-weight: 400;
            margin-bottom: 2rem;
            border-bottom: 2px solid #fff1cc;
            padding-bottom: 0.9rem;
        }

        /* Поля ввода */
        .input-group {
            margin-bottom: 1.4rem;
        }

        .input-group label {
            display: block;
            font-size: 0.85rem;
            font-weight: 500;
            color: #7a5e2e;
            margin-bottom: 0.4rem;
            letter-spacing: 0.3px;
        }

        .input-wrapper {
            display: flex;
            align-items: center;
            background: #fffdf7;
            border: 2px solid #f7e5b5;
            border-radius: 20px;
            padding: 0.1rem 0.1rem 0.1rem 1.2rem;
            transition: border 0.2s, box-shadow 0.2s, background 0.2s;
        }

        .input-wrapper:focus-within {
            border-color: #ffc107;
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.2);
        }

        .input-wrapper svg {
            width: 20px;
            height: 20px;
            fill: none;
            stroke: #dbb85c;
            stroke-width: 2;
            margin-right: 0.4rem;
            flex-shrink: 0;
        }

        .input-wrapper input {
            width: 100%;
            border: none;
            outline: none;
            background: transparent;
            padding: 0.9rem 0.8rem 0.9rem 0.2rem;
            font-size: 1rem;
            color: #2e2412;
            font-weight: 500;
        }

        .input-wrapper input::placeholder {
            color: #d6c29b;
            font-weight: 400;
            font-size: 0.95rem;
            opacity: 0.9;
        }

        /* Кнопка входа */
        .login-btn {
            width: 100%;
            background: #ffd966;
            border: none;
            border-radius: 22px;
            padding: 1rem 1.5rem;
            font-size: 1.1rem;
            font-weight: 600;
            color: #3e2e0b;
            letter-spacing: 0.3px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            margin-top: 1.2rem;
            margin-bottom: 1.6rem;
            cursor: pointer;
            transition: all 0.25s ease;
            box-shadow: 0 12px 18px -8px rgba(255, 193, 7, 0.5);
            border: 2px solid #f5ce5b;
        }

        .login-btn:hover {
            background: #ffd12e;
            box-shadow: 0 16px 22px -10px #ffc107;
            transform: scale(1.01);
            border-color: #ffc107;
        }

        .login-btn:active {
            transform: scale(0.99);
            background: #f5c63b;
            box-shadow: 0 8px 14px -8px #e6b422;
        }

        .login-btn svg {
            width: 20px;
            height: 20px;
            fill: none;
            stroke: #3e2e0b;
            stroke-width: 2.2;
        }

        /* Сообщение об ошибке */
        .error-message {
            background: #fff5e0;
            border-left: 6px solid #ffb800;
            border-radius: 14px;
            padding: 0.9rem 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin-bottom: 1.2rem;
            font-weight: 500;
            color: #8a6200;
            font-size: 0.95rem;
            box-shadow: 0 2px 8px rgba(255, 193, 7, 0.1);
            transition: opacity 0.25s, transform 0.2s;
        }

        .error-message svg {
            width: 22px;
            height: 22px;
            fill: none;
            stroke: #cf8f00;
            stroke-width: 2;
            flex-shrink: 0;
        }

        .error-message.hidden {
            display: none;
        }

        /* Подсказка / футер */
        .hint {
            text-align: center;
            color: #c2a661;
            font-size: 0.8rem;
            margin-top: 0.4rem;
            letter-spacing: 0.2px;
        }

        /* Анимация встряски для поля */
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            20% { transform: translateX(-5px); }
            40% { transform: translateX(5px); }
            60% { transform: translateX(-3px); }
            80% { transform: translateX(3px); }
        }

        .shake {
            animation: shake 0.3s ease-in-out;
        }