/* public/assets/css/tools/dev/gmi-tester.css */
.gmi-wrapper { background: var(--bg-surface); border-radius: 24px; padding: 32px; border: 1px solid var(--border-color); box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05); }
.gmi-header { font-size: 1.6rem; font-weight: 700; color: var(--text-main); margin-bottom: 12px; text-align: center; }
.gmi-subtitle { color: var(--text-muted); text-align: center; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }

.gmi-panel { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 16px; padding: 24px; margin-bottom: 20px; }
.gmi-panel-title { font-weight: 700; margin-bottom: 16px; font-size: 1.1rem; color: var(--text-main); border-bottom: 1px solid var(--border-color); padding-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }

.gmi-form-group { margin-bottom: 16px; }
.gmi-form-group:last-child { margin-bottom: 0; }
.gmi-label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }

.gmi-input, .gmi-select { width: 100%; padding: 12px 16px; border: 2px solid var(--border-color); border-radius: 12px; outline: none; font-size: 1.05rem; transition: 0.2s; background: var(--bg-surface); color: var(--text-main); box-sizing: border-box; }
.gmi-input:focus, .gmi-select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(0,102,204,0.1); }
.gmi-input:disabled, .gmi-select:disabled { background: rgba(0,0,0,0.05); cursor: not-allowed; opacity: 0.7; }

.gmi-btn { background: var(--primary-color); color: #fff; border: none; padding: 14px 24px; border-radius: 12px; font-weight: bold; font-size: 1.05rem; cursor: pointer; transition: 0.2s; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; }
.gmi-btn:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,102,204,0.2); }
.gmi-btn:disabled { background: var(--text-muted); cursor: not-allowed; transform: none; box-shadow: none; }
.gmi-btn.success { background: #10b981; }
.gmi-btn.success:hover { background: #059669; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2); }

/* 极客终端日志框 */
.gmi-console { width: 100%; height: 350px; background: #0f172a; color: #10b981; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 0.9rem; padding: 16px; border-radius: 12px; border: 2px solid #334155; resize: vertical; outline: none; line-height: 1.6; box-shadow: inset 0 2px 10px rgba(0,0,0,0.5); box-sizing: border-box; }
.gmi-console::placeholder { color: #475569; }

.gmi-btn-sm { background: transparent; border: 1px solid var(--border-color); color: var(--text-muted); padding: 4px 12px; border-radius: 6px; font-size: 0.8rem; cursor: pointer; transition: 0.2s; }
.gmi-btn-sm:hover { color: var(--primary-color); border-color: var(--primary-color); }

[data-theme="dark"] .gmi-wrapper { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .gmi-panel { background: #0f172a; border-color: #475569; }
[data-theme="dark"] .gmi-panel-title { border-bottom-color: #475569; }
[data-theme="dark"] .gmi-input, [data-theme="dark"] .gmi-select { background: #1e293b; border-color: #475569; color: #f8fafc; }
[data-theme="dark"] .gmi-input:disabled { background: #020617; border-color: #1e293b; }
[data-theme="dark"] .gmi-console { background: #020617; border-color: #1e293b; }