/* Nemesis Global Light Theme & Tokens */

:root {
    --brand-primary: #2563eb;
    --brand-secondary: #7c3aed;
    --bg-main: #f8fafc;
    --bg-panel: rgba(255, 255, 255, 0.85);
    --border-color: rgba(226, 232, 240, 0.8);
    --text-main: #0f172a;
    --text-muted: #64748b;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

#quantum-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Glass Panels */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Input Containers & Glowing Borders */
.input-container {
    position: relative;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.input-container::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 0.6rem;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.input-container.glow-active::after {
    opacity: 0.6;
    animation: borderGlow 2s linear infinite;
}

@keyframes borderGlow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Text Effects */
.text-nemesis-effect {
    background: linear-gradient(90deg, #0f172a, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    letter-spacing: -0.05em;
}

/* Widget Styles */
.widget-container {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.widget-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-controls i {
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.2s ease;
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

.widget-controls i:hover {
    color: #0f172a;
}

.widget-controls i.fa-circle-xmark:hover {
    color: #ef4444;
}

/* Global Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
