/* Futuristic Cyber-Glassmorphism UI Theme for IG Pulse Nexus */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    --bg-dark: #07090e;
    --bg-card: rgba(14, 20, 34, 0.75);
    --border-glass: rgba(255, 255, 255, 0.08);
    --neon-cyan: #00F2FE;
    --neon-purple: #9d4edd;
    --neon-magenta: #e024c3;
    --neon-green: #10b981;
    --neon-amber: #f59e0b;
    --neon-rose: #f43f5e;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: #e2e8f0;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 242, 254, 0.06) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(157, 78, 221, 0.08) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(16, 185, 129, 0.04) 0px, transparent 50%);
    background-attachment: fixed;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Glassmorphic Panels */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
}

.glass-card {
    background: rgba(19, 27, 46, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    border-color: rgba(0, 242, 254, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -10px rgba(0, 242, 254, 0.15);
}

.glass-input {
    background: rgba(10, 15, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    transition: all 0.2s ease;
}

.glass-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

/* Glowing Neon Elements */
.glow-cyan {
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
}

.glow-purple {
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.35);
}

.glow-text-cyan {
    text-shadow: 0 0 12px rgba(0, 242, 254, 0.6);
}

.glow-text-purple {
    text-shadow: 0 0 12px rgba(157, 78, 221, 0.6);
}

/* Custom Cyber Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(5, 7, 13, 0.8);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

/* Active Nav Item Glow */
.nav-item.active {
    background: linear-gradient(90deg, rgba(0, 242, 254, 0.15), rgba(157, 78, 221, 0.05));
    border-left: 3px solid var(--neon-cyan);
    color: #ffffff;
}

/* Pulse animation for live indicators */
@keyframes cyber-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.95); }
}

.pulse-dot {
    animation: cyber-pulse 2s infinite ease-in-out;
}

/* Gradient text */
.text-gradient {
    background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 50%, #9d4edd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Badge glow styling */
.badge-active {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-danger {
    background: rgba(244, 63, 94, 0.15);
    color: #fb7185;
    border: 1px solid rgba(244, 63, 94, 0.3);
}

.badge-purple {
    background: rgba(157, 78, 221, 0.15);
    color: #c084fc;
    border: 1px solid rgba(157, 78, 221, 0.3);
}

/* Cyber Modal */
.modal-overlay {
    background: rgba(4, 6, 11, 0.85);
    backdrop-filter: blur(12px);
}
