<!-- STYLE_VARS_START -->
        :root {
            --primary: #cc0000;
            --btn-color: #610000;
            --bg-color: #ffffff;
            --card-color: #ffffff;
            --text-color: #850000;
            --font: "Lato", sans-serif;
        }
        <!-- STYLE_VARS_END -->


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


        body {
            font-family: var(--font);
            background: #ffffff;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #333;
        }


        .container {
            background: white;
            border-radius: 16px;
            padding: 40px;
            width: 90%;
            max-width: 420px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            text-align: center;
            position: relative;
        }


        .hello-emoji { font-size: 48px; margin-bottom: 12px; }
        h1           { font-size: 26px; margin-bottom: 6px; color: #333; }
        .subtitle    { color: #888; margin-bottom: 24px; font-size: 14px; }


        .lang-switcher { position: absolute; top: 12px; right: 12px; }
        .lang-switcher select {
            padding: 4px 8px;
            border-radius: 6px;
            border: 1px solid #ddd;
            font-size: 12px;
            cursor: pointer;
            background: white;
            color: #555;
        }


        .toggle-wrap { display: none !important; }


        .form-section        { display: none; }
        .form-section.active { display: block; }
        .form-group          { margin-bottom: 16px; text-align: left; }

        label {
            display: block;
            margin-bottom: 6px;
            font-weight: 600;
            font-size: 13px;
            color: #555;
        }
        input[type="text"],
        input[type="password"],
        input[type="email"],
        input[type="number"],
        input[type="tel"],
        input[type="date"] {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 15px;
            outline: none;
            -webkit-appearance: none;
            font-family: inherit;
        }
        input:focus  { border-color: var(--primary); }
        input.error  { border-color: #e74c3c; }


        .field-error      { font-size: 12px; color: #e74c3c; margin-top: 4px; display: none; text-align: left; }
        .field-error.show { display: block; }


        button.submit-btn, button.connect-btn {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--btn-color) 100%);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 8px;
        }
        button.submit-btn:disabled,
        button.connect-btn:disabled { opacity: 0.5; cursor: not-allowed; }


        #statusMsg   { margin-top: 16px; padding: 10px; border-radius: 8px; font-size: 14px; display: none; }
        .error-msg   { background: #fee; color: #c00; display: block !important; }
        .success-msg { background: #efe; color: #080; display: block !important; }
        .info-msg    { background: #eef; color: #008; display: block !important; }


        #logoutSection  { display: none; }
        .disconnect-btn {
            width: 100%;
            padding: 14px;
            background: #e74c3c;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 8px;
        }


        input[type=number]::-webkit-inner-spin-button,
        input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; }
        input[type=number] { -moz-appearance: textfield; }


        .pms-tabs {
            display: flex;
            gap: 6px;
            margin-bottom: 18px;
            background: #f0f0f0;
            border-radius: 10px;
            padding: 4px;
        }
        .pms-tab-btn {
            flex: 1;
            padding: 9px 10px;
            border: none;
            border-radius: 7px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            background: transparent;
            color: #888;
            transition: all 0.2s;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .pms-tab-btn.active {
            background: linear-gradient(135deg, var(--primary) 0%, var(--btn-color) 100%);
            color: white;
        }
        .pms-form-section        { display: none; }
        .pms-form-section.active { display: block; }

        .inp-wrap   { margin-bottom: 16px; text-align: left; }
        .inp-label  {
            display: block;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 6px;
            color: #555;
        }
        .inp-field {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 14px;
            outline: none;
            background: #fafafa;
            color: #333;
            font-family: inherit;
            -webkit-appearance: none;
        }
        .inp-field:focus {
            border-color: var(--primary);
            background: white;
        }


        .pms-msg {
            padding: 10px 14px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 12px;
        }
        .pms-msg.error   { background: #fde8ee; color: #c62828; }
        .pms-msg.success { background: #e8faf4; color: #1b5e20; }
        .pms-msg.info    { background: #eeeeff; color: #3730a3; }


        .pms-container { text-align: left; }