:root {
--glass-bg: rgba(255, 255, 255, 0.1);
--glass-border: rgba(255, 255, 255, 0.2);
--accent-blue: #4f46e5;
--accent-purple: #9333ea;
--text-primary: #f8fafc;
--text-secondary: #94a3b8;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
-webkit-user-select: none;
user-select: none;
}
body {
font-family: 'Inter', sans-serif;
background: radial-gradient(circle at top left, #0f172a, #1e1b4b);
color: var(--text-primary);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
overflow-x: hidden;
}
.container {
width: 100%;
max-width: 900px;
z-index: 10;
}
/* Glass Card */
.glass-panel {
background: var(--glass-bg);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
border: 1px solid var(--glass-border);
border-radius: 24px;
padding: 40px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
animation: fadeIn 0.8s ease-out;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 40px;
}
.brand h1 {
font-size: 2.5rem;
font-weight: 800;
letter-spacing: -0.05em;
background: linear-gradient(to right, #818cf8, #c084fc);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.brand p {
color: var(--text-secondary);
font-size: 0.9rem;
margin-top: 4px;
}
.stats {
display: flex;
gap: 12px;
}
.status-badge {
padding: 6px 12px;
border-radius: 999px;
font-size: 0.75rem;
font-weight: 600;
display: flex;
align-items: center;
gap: 6px;
background: rgba(0, 0, 0, 0.2);
border: 1px solid var(--glass-border);
}
.status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
display: inline-block;
}
.status-dot.idle { background: #94a3b8; }
.status-dot.running { background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.status-dot.stopped { background: #ef4444; }
/* Search Section */
.search-container {
position: relative;
margin-bottom: 30px;
}
.search-input {
width: 100%;
background: rgba(0, 0, 0, 0.3);
border: 1px solid var(--glass-border);
border-radius: 16px;
padding: 18px 24px;
padding-right: 120px;
color: white;
font-size: 1.1rem;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
outline: none;
}
.search-input:focus {
background: rgba(0, 0, 0, 0.4);
border-color: #6366f1;
box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}
.search-btn {
position: absolute;
right: 8px;
top: 8px;
bottom: 8px;
background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
color: white;
border: none;
padding: 0 24px;
border-radius: 12px;
font-weight: 600;
cursor: pointer;
transition: transform 0.2s, box-shadow 0.2s;
}
.search-btn:hover { transform: scale(1.02); box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4); }
.search-btn:active { transform: scale(0.98); }
/* Results Area */
.results-panel { min-height: 200px; }
.result-card { background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); border-radius:16px; padding:20px; margin-bottom:12px; transition: background 0.2s; }
.result-card:hover { background: rgba(255,255,255,0.06); }
.result-header { display:flex; justify-content:space-between; font-size:0.8rem; color:var(--text-secondary); margin-bottom:8px; }
.result-content { font-size:1rem; line-height:1.6; color:var(--text-primary); }
/* MCP Modal */
#mcp-json-modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80%;
max-width: 600px;
background: #1e1b4b;
border: 1px solid var(--glass-border);
border-radius: 20px;
padding: 30px;
z-index: 100;
display: none;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}
#mcp-json-modal.open { display: block; }
.modal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.6);
-webkit-backdrop-filter: blur(4px);
backdrop-filter: blur(4px);
z-index: 90;
display: none;
}
.modal-overlay.open { display: block; }
pre { background:#0f172a; padding:15px; border-radius:10px; font-family:monospace; font-size:0.85rem; max-height:400px; overflow:auto; color:#818cf8; }
.actions { display:flex; gap:10px; margin-top:20px; }
.secondary-btn { background: transparent; border: 1px solid var(--glass-border); color: var(--text-secondary); padding:8px 16px; border-radius:8px; cursor:pointer; font-size:0.8rem; transition: all 0.2s; }
.secondary-btn:hover { background: rgba(255,255,255,0.1); color: white; }
.empty-state { text-align:center; padding:40px; color: var(--text-secondary); }
.error-state { color: #ef4444; }
.hidden { display: none !important; }
.accent-purple { color: var(--accent-purple); }
.modal-title { margin-bottom: 15px; }
/* small helpers */
.status-info { color: var(--text-secondary); }
.model-name {
position: absolute;
top: 16px;
right: 16px;
color: #94a3b8;
font-size: 0.9em;
}
/* Activity Log Panel */
.activity-log {
margin-top: 30px;
background: rgba(0, 0, 0, 0.2);
border: 1px solid var(--glass-border);
border-radius: 16px;
padding: 15px;
min-height: 120px;
max-height: 200px;
overflow-y: auto;
}
.activity-log-title {
font-size: 0.75rem;
font-weight: 800;
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 0.1em;
margin-bottom: 10px;
display: flex;
justify-content: space-between;
}
.log-item {
font-size: 0.85rem;
padding: 8px 12px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.03);
margin-bottom: 6px;
border-left: 3px solid var(--accent-purple);
animation: slideIn 0.3s ease-out;
display: flex;
justify-content: space-between;
}
.log-time {
color: var(--text-secondary);
font-family: monospace;
font-size: 0.75rem;
}
.log-method {
font-weight: 600;
color: #a5b4fc;
}
@keyframes slideIn {
from { opacity: 0; transform: translateX(-10px); }
to { opacity: 1; transform: translateX(0); }
}
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-thumb {
background: var(--glass-border);
border-radius: 10px;
}