/* Elite cyberpunk styles with tactical polish */
:root {
    --bg: #0A0A0A;
    --neon-blue: #00E5FF;
    --neon-magenta: #FF0080;
    --panel: #2A2A2A;
    --text: #E0E0E0;
    --gold: #FFD700;
}

:root {
    --tactical-green: #00ff88;
    --glitch-red: #ff0044;
    --glitch-bg: #1a001a;
    --glitch-pulse: rgba(255, 0, 136, 0.2);
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'IBM Plex Mono', monospace;
    margin: 0;
    overflow: hidden;
}

.sidebar {
    width: 60px;
    background: var(--panel);
    height: 100vh;
    position: fixed;
    transition: width 0.3s ease-in-out;
    z-index: 20;
}

.sidebar:hover {
    width: 250px;
}

.nav-item {
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    border-left-color: var(--neon-blue);
    background: rgba(0, 229, 255, 0.1);
    transform: translateX(5px);
}

.top-bar {
    background: var(--panel);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: fixed;
    width: calc(100% - 60px);
    margin-left: 60px;
    z-index: 10;
}

.canvas {
    margin-left: 60px;
    padding: 80px 20px 20px;
    height: calc(100vh - 80px);
    background: linear-gradient(to bottom, rgba(0, 229, 255, 0.05), transparent);
}

.tabs {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.tab {
    background: var(--panel);
    padding: 10px 20px;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 5;
}

.tab.active {
    background: var(--bg);
    border-bottom: 3px solid var(--neon-blue);
    transform: translateY(-2px);
}

.tab.risky {
    border-bottom: 3px solid var(--neon-magenta);
}

.tab.priority {
    border-bottom: 3px solid var(--gold);
    animation: pulse 2s infinite;
}

.overwatch-orb {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: radial-gradient(var(--neon-blue), transparent);
    border-radius: 50%;
    cursor: pointer;
    animation: pulse 2s infinite;
    z-index: 30;
}

.overwatch-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 300px;
    height: 100vh;
    background: var(--panel);
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 25;
}

.overwatch-sidebar.active {
    transform: translateX(0);
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--neon-blue);
    border-radius: 5px;
}

.command-bar {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    background: var(--panel);
    padding: 10px;
    display: none;
    z-index: 50;
}

.command-bar.active {
    display: block;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(2px, -2px);
    }

    60% {
        transform: translate(-2px, 0);
    }

    80% {
        transform: translate(2px, 0);
    }

    100% {
        transform: translate(0);
    }
}

.glitch-mode body {
    background: url('../assets/images/noise.png'), var(--bg);
    animation: glitch 0.5s infinite;
}

.glitch-mode .widget {
    background: var(--glitch-bg);
    border: 1px solid var(--glitch-red);
    animation: glitchBorder 1s infinite;
}

.glitch-mode h2,
.glitch-mode h3 {
    color: var(--glitch-red);
    animation: headerGlitch 0.9s infinite;
}

@keyframes glitchBorder {
    0%, 100% {
        box-shadow: 0 0 2px var(--glitch-red);
    }
    50% {
        box-shadow: 0 0 8px var(--glitch-pulse);
    }
}

@keyframes headerGlitch {
    0%, 100% {
        transform: translate(0);
    }
    33% {
        transform: translateX(-1px);
    }
    66% {
        transform: translateX(1px);
    }
}

.tactical-mode .widget {
    background: #0f1f0f;
    border: 1px solid var(--tactical-green);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.1);
}

.tactical-mode h2,
.tactical-mode h3 {
    color: var(--tactical-green);
    text-shadow: 0 0 6px var(--tactical-green);
}

.tactical-mode .stat-box {
    border-color: var(--tactical-green);
    color: var(--tactical-green);
    background-color: #002a1f;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--panel);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 4px;
}

input:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 5px var(--neon-blue);
}

:root {
    --bg: #0A0A0A;
    --neon-blue: #00E5FF;
    --neon-magenta: #FF0080;
    --panel: #2A2A2A;
    --text: #E0E0E0;
    --gold: #FFD700;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'IBM Plex Mono', monospace;
    margin: 0;
    overflow: hidden;
}

.sidebar {
    width: 60px;
    background: var(--panel);
    height: 100vh;
    position: fixed;
    transition: width 0.3s ease-in-out;
    z-index: 20;
}

.sidebar:hover {
    width: 250px;
}

.nav-item {
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    border-left-color: var(--neon-blue);
    background: rgba(0, 229, 255, 0.1);
    transform: translateX(5px);
}

.top-bar {
    background: var(--panel);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: fixed;
    width: calc(100% - 60px);
    margin-left: 60px;
    z-index: 10;
}

.canvas {
    margin-left: 60px;
    padding: 80px 20px 20px;
    height: calc(100vh - 80px);
    background: linear-gradient(to bottom, rgba(0, 229, 255, 0.05), transparent);
}

.tabs {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.tab {
    background: var(--panel);
    padding: 10px 20px;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 5;
}

.tab.active {
    background: var(--bg);
    border-bottom: 3px solid var(--neon-blue);
    transform: translateY(-2px);
}

.tab.risky {
    border-bottom: 3px solid var(--neon-magenta);
}

.tab.priority {
    border-bottom: 3px solid var(--gold);
    animation: pulse 2s infinite;
}

.overwatch-orb {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: radial-gradient(var(--neon-blue), transparent);
    border-radius: 50%;
    cursor: pointer;
    animation: pulse 2s infinite;
    z-index: 30;
}

.overwatch-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 300px;
    height: 100vh;
    background: var(--panel);
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 25;
}

.overwatch-sidebar.active {
    transform: translateX(0);
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--neon-blue);
    border-radius: 5px;
}

.command-bar {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    background: var(--panel);
    padding: 10px;
    display: none;
    z-index: 50;
}

.command-bar.active {
    display: block;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(2px, -2px);
    }

    60% {
        transform: translate(-2px, 0);
    }

    80% {
        transform: translate(2px, 0);
    }

    100% {
        transform: translate(0);
    }
}

.glitch-mode body {
    background: url('../assets/images/noise.png'), var(--bg);
    animation: glitch 0.5s infinite;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--panel);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 4px;
}

input:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 5px var(--neon-blue);
}



/* Spectrum Bar Enhancements */
.spectrum-slider {
    position: relative;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #38bdf8, #e2e8f0, #f87171);
    border-radius: 9999px;
    overflow: hidden;
    margin-top: 1rem;
}



.tile:hover {
    transform: scale(1.03);
    box-shadow: inset 0 0 14px rgba(59, 130, 246, 0.5), 0 6px 16px rgba(0, 0, 0, 0.4);
}

.spectrum-bar {
    background: linear-gradient(to right, #3b82f6, #ef4444);
    height: 12px;
    border-radius: 8px;
    margin-top: 4px;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
    max-width: 300px;
}

.monkey-icon {
    position: absolute;
    top: -6px;
    width: 24px;
    height: 24px;
    animation: glide-full 6s linear infinite;
}

@keyframes glide-full {
    0% {
        left: 0%;
        transform: translateY(0);
    }

    25% {
        transform: translateY(-8px);
    }

    50% {
        left: 100%;
        transform: translateY(0);
    }

    75% {
        transform: translateY(8px);
    }

    100% {
        left: 0%;
        transform: translateY(0);
    }
}

  .login-form {
      background: rgba(30, 41, 59, 0.85);
      backdrop-filter: blur(8px);
      border: 1px solid var(--panel);
      border-radius: 10px;
      max-width: 400px;
      margin: 0 auto;
      padding: 2rem;
      position: relative;
      z-index: 5;
      box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
  }

  .login-form label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 500;
      color: #cbd5e1;
  }

  .login-form input[type="email"],
  .login-form input[type="password"] {
      width: 100%;
      padding: 0.75rem;
      margin-bottom: 1.5rem;
      border: 1px solid #334155;
      background-color: var(--bg);
      color: var(--text);
      border-radius: 8px;
  }

  .btn-primary {
      background: var(--neon-blue);
      color: var(--bg);
      font-weight: bold;
      padding: 0.75rem;
      border: none;
      border-radius: 8px;
      width: 100%;
      font-size: 1.1rem;
  }

  .btn-primary:hover {
      background: #0ea5e9;
  }
  .login-form {
      background: rgba(42, 42, 42, 0.85);
      backdrop-filter: blur(10px);
      border: 1px solid var(--panel);
      border-radius: 10px;
      max-width: 400px;
      margin: 0 auto;
      padding: 2rem;
      position: relative;
      z-index: 5;
      box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
  }

  .login-form label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 500;
      color: var(--text);
  }

  .login-form input[type="email"],
  .login-form input[type="password"] {
      width: 100%;
      padding: 0.75rem;
      margin-bottom: 1.5rem;
      border: 1px solid var(--panel);
      background-color: var(--bg);
      color: var(--text);
      border-radius: 8px;
  }

  .btn-primary {
      background: var(--neon-blue);
      color: var(--bg);
      font-weight: bold;
      padding: 0.75rem;
      border: none;
      border-radius: 8px;
      width: 100%;
      font-size: 1.1rem;
      box-shadow: 0 0 8px var(--neon-blue);
  }

  .btn-primary:hover {
      background: var(--neon-magenta);
      box-shadow: 0 0 12px var(--neon-magenta);
  }

  .logo {
      width: 180px;
      margin-bottom: 1rem;
      filter: drop-shadow(0 0 6px var(--neon-blue)); }

          .widget-inner {
              display: flex;
              flex-direction: column;
              justify-content: space-between;
              height: 100%;     }