/**
 * Copyright (c) 2014 The xterm.js authors. All rights reserved.
 * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
 * https://github.com/chjj/term.js
 * @license MIT
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * Originally forked from (with the author's permission):
 *   Fabrice Bellard's javascript vt100 for jslinux:
 *   http://bellard.org/jslinux/
 *   Copyright (c) 2011 Fabrice Bellard
 *   The original design remains. The terminal itself
 *   has been extended to include xterm CSI codes, among
 *   other features.
 */.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;background:#000;color:#fff;line-height:1.6}.container{max-width:900px;margin:0 auto;padding:40px 20px;min-height:100vh;display:flex;flex-direction:column}.header{text-align:center;margin-bottom:40px}h1{font-size:36px;font-weight:800;margin:0;background:linear-gradient(to right,#fff,#888);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.subtitle{margin-top:10px;font-size:18px;color:#888}.card{background:#111;border-radius:12px;padding:30px;box-shadow:0 4px 30px #0000001a;border:1px solid rgba(255,255,255,.1)}.input-group{display:flex;margin-bottom:20px}.package-input{flex:1;padding:0 20px;height:50px;font-size:16px;border:1px solid rgba(255,255,255,.1);background:#0003;color:#fff;border-radius:8px 0 0 8px;transition:all .2s ease;box-sizing:border-box}.package-input:focus{outline:none;border-color:#3291ff;box-shadow:0 0 0 2px #3291ff4d}.package-input::placeholder{color:#666}.analyze-button{padding:0 24px;min-width:120px;height:50px;font-size:16px;font-weight:500;background:#3291ff;color:#fff;border:none;border-radius:0 8px 8px 0;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 4px 6px #3291ff1c,0 1px 3px #00000014;transform:translateY(0)}.analyze-button:hover{background:#0070f3;transform:translateY(-1px);box-shadow:0 7px 14px #3291ff1a,0 3px 6px #00000014}.analyze-button:active{transform:translateY(1px);box-shadow:0 4px 6px #3291ff1c,0 1px 3px #00000014}.analyze-button:disabled{background:#555;cursor:not-allowed;box-shadow:none;transform:translateY(0)}.loading{width:140px}.loading-icon{font-size:20px;color:#fff}.result-card{background:#3291ff26;border-radius:8px;padding:20px;margin-bottom:20px;border:1px solid rgba(50,145,255,.3);text-align:center}.result-title{font-size:14px;color:#3291ff;text-transform:uppercase;letter-spacing:1px;margin-bottom:5px}.result-value{font-size:36px;font-weight:700;margin:10px 0}.result-description{font-size:14px;color:#888}.terminal-container{width:100%;height:320px;border-radius:8px;overflow:hidden;background:#000;border:1px solid rgba(255,255,255,.1)}.link{color:#3291ff;text-decoration:none;font-weight:500;transition:all .2s ease;border-bottom:1px dotted rgba(50,145,255,.5)}.link:hover{color:#0070f3;border-bottom:1px solid #0070f3}footer{margin-top:40px;text-align:center;color:#666;font-size:14px}@media (max-width: 600px){.container{padding:20px 15px}h1{font-size:28px}.subtitle{font-size:16px}.card{padding:20px}.input-group{flex-direction:column}.package-input{border-radius:8px;margin-bottom:10px}.analyze-button{border-radius:8px;padding:12px;width:100%}.loading{width:100%}.package-buttons{gap:6px}.package-button{padding:5px 10px;font-size:13px}}.button-text{transition:all .3s ease}.loading .button-text{animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.8}}.popular-packages{margin:15px 0 20px}.popular-packages-label{font-size:14px;color:#888;margin-bottom:10px}.package-buttons{display:flex;flex-wrap:wrap;gap:8px}.package-button{background:#0003;color:#3291ff;border:1px solid rgba(50,145,255,.3);border-radius:6px;padding:6px 12px;font-size:14px;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.package-button:hover{background:#3291ff1a;border-color:#3291ff80;transform:translateY(-1px);box-shadow:0 2px 5px #0003}.package-button:active{transform:translateY(1px);box-shadow:none}.package-button:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}.package-button:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(120deg,transparent,rgba(50,145,255,.1),transparent);transform:translate(-100%);transition:.6s}.package-button:hover:before{transform:translate(100%)}.package-button.selected{background:#3291ff26;border-color:#3291ffcc;color:#fff;font-weight:500;box-shadow:0 2px 5px #0003}.package-button.selected:hover{background:#3291ff33}.package-button:disabled.selected{opacity:.8;background:#3291ff26;border-color:#3291ff80;color:#fffc}
