/* OctaPay Neural Research v2.0.0 - Stealth Design Language */
:root { 
    --ai-blue: #00d4ff; 
    --ai-orange: #ff5722; 
    --ai-green: #0f0;
    --glass: rgba(5, 10, 15, 0.92); 
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body, html { margin: 0; padding: 0; height: 100dvh; background: #000; font-family: 'Consolas', 'Courier New', monospace; overflow: hidden; }

/* The Neural Background */
#neural-canvas { position: fixed; top: 0; left: 0; z-index: 1; opacity: 0.6; }

/* Global UI Layers */
.ui-overlay { 
    position: fixed; inset: 0; z-index: 10; 
    display: flex; align-items: center; justify-content: center; 
    backdrop-filter: blur(15px); padding: 20px; 
}

/* Glassmorphism Panels */
.glass-panel { 
    width: 100%; max-width: 450px; background: var(--glass); 
    border: 1px solid rgba(0, 212, 255, 0.2); border-radius: 12px; 
    box-shadow: 0 0 50px rgba(0,0,0,1); animation: breathe 4s ease-in-out infinite; 
}

.glass-panel.wide { max-width: 600px; border-color: rgba(255, 87, 34, 0.3); }

@keyframes breathe { 
    0%, 100% { box-shadow: 0 0 30px rgba(0, 212, 255, 0.1); } 
    50% { box-shadow: 0 0 50px rgba(0, 212, 255, 0.3); } 
}

/* Headers & Visual Accents */
.ai-header { padding: 15px; font-size: 0.65rem; letter-spacing: 3px; color: var(--ai-blue); border-bottom: 1px solid rgba(0, 212, 255, 0.2); text-align: center; text-transform: uppercase; }
.ai-header.orange { color: var(--ai-orange); border-bottom-color: rgba(255, 87, 34, 0.2); }
.pulse-dot { display: inline-block; width: 6px; height: 6px; background: var(--ai-blue); border-radius: 50%; margin-right: 10px; animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Research Terminal Specifics */
.research-ticker { 
    background: rgba(0,0,0,0.5); border: 1px solid #333; 
    padding: 15px; margin-bottom: 15px; border-radius: 4px;
}
.ticker-msg { margin: 0 0 8px 0; animation: slideIn 0.5s ease-out; }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.data-matrix .data-point { margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }

/* Scanner Styling */
.camera-viewport { width: 100%; height: 160px; background: #000; position: relative; overflow: hidden; border: 1px solid #ff0000; }
.biometric-scanline { width: 100%; height: 2px; background: #ff0000; position: absolute; box-shadow: 0 0 10px #f00; animation: bio-scan 2s linear infinite; }
@keyframes bio-scan { from {top:0} to {top:100%} }

/* Interactive Elements */
.glow-btn { 
    width: 80%; margin: 20px 10%; padding: 15px; background: none; 
    border: 1px solid var(--ai-blue); color: var(--ai-blue); 
    cursor: pointer; font-weight: bold; text-transform: uppercase; transition: 0.3s; 
}
.glow-btn:hover { background: var(--ai-blue); color: #000; box-shadow: 0 0 20px var(--ai-blue); }
.glow-btn.blue { border-color: var(--ai-blue); color: var(--ai-blue); width: 100%; margin: 15px 0 0 0; }

#vendor-key { 
    width: 100%; padding: 12px; background: #000; border: 1px solid #333; 
    color: var(--ai-orange); text-align: center; font-size: 1.1rem; margin-top: 10px;
}

.compliance-footer { padding: 15px; text-align: center; font-size: 9px; color: #444; }
.compliance-footer a { color: var(--ai-blue); text-decoration: none; }
#tide-refresh-node { position: fixed; bottom: 20px; right: 20px; font-size: 30px; cursor: pointer; z-index: 100; filter: grayscale(1); opacity: 0.5; transition: 0.3s; }
#tide-refresh-node:hover { filter: grayscale(0); opacity: 1; }
