.form-card { padding: 14px; } .form-grid { display: grid; gap: 12px; } .form-field { display: grid; gap: 6px; } .form-field input, .form-field select, .form-field textarea { width: 100%; } .icon-button { border: 1px solid var(--line); background: var(--panel-2); border-radius: 999px; padding: 4px 10px; cursor: pointer; font-weight: 700; } .icon-button:hover { background: var(--panel); } .console-tabs { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #0b0f17; } .console-tab-bar { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px; background: #0f1624; border-bottom: 1px solid rgba(255,255,255,0.08); } .console-tab { background: transparent; color: #c9d3e3; border: 1px solid transparent; border-radius: 10px; padding: 6px 10px; cursor: pointer; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; } .console-tab.is-active { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: #ffffff; } .console-tab-panels { min-height: 420px; } .console-tab-close { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255,255,255,0.12); color: #ffffff; font-size: 0.8rem; line-height: 1; } .console-tab-close:hover { background: rgba(255,255,255,0.25); } .console-panel { display: none; } .console-panel.is-active { display: block; } .console-panel iframe { width: 100%; height: 520px; border: 0; background: #0b0f17; } .host-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; } .host-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: grid; grid-template-rows: 120px 1fr; box-shadow: var(--shadow); } .host-card-image { background: linear-gradient(135deg, #2b3a67 0%, #3b2f5c 45%, #1c2b3f 100%); background-size: cover; background-position: center; position: relative; } .host-card-overlay { position: absolute; inset: 0; background: rgba(10, 16, 28, 0.35); } .host-card-body { padding: 12px 14px 14px; display: grid; gap: 6px; } .host-card-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .host-card-title { display: inline-flex; align-items: center; gap: 8px; } .status-dot { width: 10px; height: 10px; border-radius: 999px; display: inline-block; } .status-ok { background: #31c48d; } .status-auth { background: #fbbf24; } .status-down { background: #ef4444; } .action-menu { position: relative; } .action-menu summary { list-style: none; cursor: pointer; border-radius: 10px; padding: 2px 6px; border: 1px solid var(--line); background: var(--panel-2); } .action-menu summary::-webkit-details-marker { display: none; } .action-menu[open] summary { background: var(--panel); } .action-menu-panel { position: absolute; right: 0; top: calc(100% + 6px); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 6px; min-width: 160px; display: grid; gap: 4px; z-index: 30; box-shadow: var(--shadow); } .action-menu-panel form { margin: 0; } .host-unsaved { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid #f3c3b8; background: #fff5f3; color: #7a2114; border-radius: 12px; } .command-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; } .command-item { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); } .command-item.is-dragging { opacity: 0.6; } .command-drag { cursor: grab; color: var(--muted); font-size: 1.1rem; padding-top: 4px; } .command-body code { display: inline-block; word-break: break-word; } .queue-button { display: inline-flex; align-items: center; gap: 8px; } .queue-badge { display: inline-flex; min-width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 999px; background: #ff5a3c; color: #fff; font-weight: 700; font-size: 0.75rem; padding: 0 6px; } .modal { position: fixed; inset: 0; background: rgba(10, 14, 24, 0.55); display: none; align-items: center; justify-content: center; padding: 24px; z-index: 40; } .modal.is-open { display: flex; } .modal-card { width: min(1100px, 96vw); max-height: 90vh; overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 16px; } .modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .modal-actions { display: inline-flex; align-items: center; gap: 8px; }