@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lora", serif;
}

:root {
  --blueRoot: #3B82C5;
  /* Primary Colors */
  --expedition-green: #1E3B2C;
  --midnight-charcoal: #2D3033;
  --misty-gray: #607D8B;

  /* Accent Colors */
  --bioluminescent-teal: #39F0D9;
  --evidence-amber: #FF9800;
  --scanner-green: #76FF03;

  /* Fonts */
  --font-heading: 'Rajdhani', sans-serif;
  /* Similar to described "Expedition" font */
  --font-body: 'Work Sans', sans-serif;
  /* Similar to described "Field Notes" font */
  --font-mono: 'Space Mono', monospace;
  /* Similar to described "Researcher's Log" font */

  /* Effects */
  --glass-opacity: 0.15;
  --blur-amount: 12px;
  --glow-strength: 3px;

}

/* Reset padding and margins */
body,
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* Prevent horizontal scrollbar */
}

html,
body {
  overscroll-behavior-y: contain;
}


* {
  box-sizing: border-box;
}

/* Tags */
.react {
  border: 0.1rem solid rgb(97, 218, 251);
}

.react:hover {
  background: rgba(97, 218, 251, 0.25);
}

.node {
  border: 0.1rem solid rgb(131, 205, 41);
}

.node:hover {
  background: rgba(131, 205, 41, 0.25);
}

.mongodb {
  border: 0.1rem solid rgb(67, 153, 52);
}

.mongodb:hover {
  background: rgba(67, 153, 52, 0.25);
}

.redux {
  border: 0.1rem solid rgb(118, 74, 188);
}

.redux:hover {
  background: rgba(118, 74, 188, 0.25);
}

.razorpay {
  border: 0.1rem solid rgb(82, 143, 240);
}

.razorpay:hover {
  background: rgba(82, 143, 240, 0.25);
}

.material-ui {
  border: 0.1rem solid rgb(25, 118, 210);
}

.material-ui:hover {
  background: rgba(25, 118, 210, 0.25);
}

.bulma {
  border: 0.1rem solid rgb(0, 209, 178);
}

.bulma:hover {
  background: rgba(0, 209, 178, 0.25);
}

.next {
  border: 2px solid rgb(0, 112, 243);
}

.next:hover {
  background: rgba(0, 112, 243, 0.25);
}

.tailwind {
  border: 2px solid rgb(6, 182, 212);
}

.tailwind:hover {
  background: rgba(6, 182, 212, 0.25);
}

.react-query {
  border: 2px solid rgb(255, 65, 84);
}

.react-query:hover {
  background: rgba(255, 65, 84, 0.25);
}

.css-modules {
  border: 2px solid rgb(21, 114, 182);
}

.css-modules:hover {
  background: rgba(21, 114, 182, 0.25);
}

.firebase {
  border: 2px solid rgb(251, 204, 83);
}

.firebase:hover {
  background: rgba(251, 204, 83, 0.25);
}

.html {
  border: 2px solid rgb(240, 101, 41);
}

.html:hover {
  background: rgba(240, 101, 41, 0.25);
}

.css {
  border: 2px solid rgb(21, 114, 182);
}

.css:hover {
  background: rgba(21, 114, 182, 0.25);
}

.javascript {
  border: 2px solid rgb(247, 223, 30);
}

.javascript:hover {
  background: rgba(247, 223, 30, 0.25);
}

.gsap {
  border: 2px solid rgb(68, 191, 89);
}

.gsap:hover {
  background: rgba(68, 191, 89, 0.25);
}

.openweather {
  border: 2px solid rgb(217, 132, 87);
}

.openweather:hover {
  background: rgba(217, 132, 87, 0.25);
}

.vite {
  border: 2px solid rgb(217, 132, 87);
}

.vite:hover {
  background: rgba(217, 132, 87, 0.25);
}

.arcade {
  border: 2px solid rgb(255, 69, 58);
}

.arcade:hover {
  background: rgba(255, 69, 58, 0.25);
}

.ui/ux {
  border: 2px solid rgb(255, 69, 58);
}

.ui/ux:hover {
  background: rgba(255, 69, 58, 0.25);
}

.retro {
  border: 2px solid rgb(148, 0, 211);
}

.retro:hover {
  background: rgba(148, 0, 211, 0.25);
}

.interactive {
  border: 2px solid rgb(50, 205, 50);
}

.interactive:hover {
  background: rgba(50, 205, 50, 0.25);
}

.collaboration {
  border: 2px solid rgb(50, 205, 50);
}

.collaboration:hover {
  background: rgba(50, 205, 50, 0.25);
}

.e-commerce {
  border: 2px solid rgb(249, 115, 22);
}

.e-commerce:hover {
  background: rgba(249, 115, 22, 0.25);
}

.task-management {
  border: 2px solid rgb(249, 115, 22);
}

.task-management:hover {
  background: rgba(249, 115, 22, 0.25);
}

.cart-management {
  border: 2px solid rgb(234, 88, 12);
}

.cart-management:hover {
  background: rgba(234, 88, 12, 0.25);
}

.animations {
  border: 2px solid rgb(124, 58, 237);
}

.animations:hover {
  background: rgba(124, 58, 237, 0.25);
}

.javaScript {
  border: 2px solid rgb(124, 58, 237);
}

.javaScript:hover {
  background: rgba(124, 58, 237, 0.25);
}

.refine {
  border: 2px solid rgb(124, 58, 237);
}

.refine:hover {
  background: rgba(124, 58, 237, 0.25);
}

.futuristic-design {
  border: 2px solid rgb(100, 116, 139);
}

.futuristic-design:hover {
  background: rgba(100, 116, 139, 0.25);
}

.realtime {
  border: 2px solid rgb(100, 116, 139);
}

.realtime:hover {
  background: rgba(100, 116, 139, 0.25);
}

.socket.io {
  border: 2px solid rgb(56, 189, 248);
}

.socket.io:hover {
  background: rgba(56, 189, 248, 0.25);
}

.responsive-ui {
  border: 2px solid rgb(192, 202, 1);
}

.responsive-ui:hover {
  background: rgba(92, 112, 1, 0.493);
}

.typescript {
  border: 2px solid rgb(56, 189, 248);
}

.typescript:hover {
  background: rgba(56, 189, 248, 0.25);
}

.social-media {
  border: 2px solid rgb(248, 56, 56);
}

.social-media:hover {
  background: rgba(255, 0, 0, 0.25);
}

.weather {
  border: 2px solid rgb(17, 250, 0);
}

.weather:hover {
  background: rgba(9, 71, 0, 0.585);
}

.streaming {
  border: 2px solid rgb(0, 0, 0);
}

.streaming:hover {
  background: rgba(128, 128, 128, 0.585);
}

.google-authentication {
  border: 2px solid rgb(255, 8, 0);
}

.google-authentication:hover {
  background: rgb(164, 3, 3);
}

.chat {
  border: 2px solid rgb(153, 27, 27);
}

.chat:hover {
  background: rgba(153, 27, 27, 0.25);
}

.media {
  border: 2px solid rgb(153, 27, 27);
}

.media:hover {
  background: rgba(153, 27, 27, 0.25);
}

.real-time {
  border: 2px solid rgb(59, 130, 246);
}

.real-time:hover {
  background: rgba(59, 130, 246, 0.25);
}

.ui-ux {
  border: 2px solid rgb(16, 185, 129);
}

.ui-ux:hover {
  background: rgba(16, 185, 129, 0.25);
}

.puzzle {
  border: 2px solid rgb(239, 68, 68);
}

.puzzle:hover {
  background: rgba(239, 68, 68, 0.25);
}

.appwrite {
  border: 2px solid rgb(239, 68, 68);
}

.appwrite:hover {
  background: rgba(239, 68, 68, 0.25);
}

.cafe {
  border: 2px solid rgb(153, 27, 27);
}

.cafe:hover {
  background: rgba(153, 27, 27, 0.25);
}

.openweather-api {
  border: 2px solid rgb(27, 117, 153);
}

.openweather-api:hover {
  background: rgba(1, 82, 85, 0.25);
}

.shadcn {
  border: 2px solid rgb(43, 20, 215);
}

.shadcn:hover {
  background: rgba(0, 4, 115, 0.617);
}

.animation {
  border: 2px solid rgb(43, 20, 215);
}

.animation:hover {
  background: rgba(0, 4, 115, 0.617);
}

/* Reset default link styles */
a {
  text-decoration: none;
  color: inherit;
}
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600&display=swap');

.Layout_ProjectMainLayoutContainer__cpTmn {
  width: '90%'
}

.Layout_main__BqQ1G {
  display: flex;
  background: var(--main-bg);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.Layout_content__NAQWx {
  padding: 0.7rem;
  color: var(--text-color);
  font-family: 'JetBrains Mono', monospace;
  flex: 1 1;
  height: 90vh;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.Layout_content__NAQWx {
  scrollbar-width: 10px;
  scrollbar-color: var(--accent-color);
}

.Layout_content__NAQWx::-webkit-scrollbar {
  width: 5px;
}

.Layout_content__NAQWx::-webkit-scrollbar-track {
  background: var(--scrollbar-track-bg);
  border-left: 1px solid #1e1f29;
}

.Layout_content__NAQWx::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb-bg);
  border-left: 1px solid #1e1f29;
}

@media screen and (max-width: 600px) {
  .Layout_content__NAQWx {
    padding: 0.5rem 0.5rem 0rem 0.2rem;
  }

  .Layout_ProjectMainLayoutContainer__cpTmn {
    overflow-x: scroll;
    overflow: hidden;
  }

  .Layout_main__BqQ1G {
    overflow-x: scroll;
    max-width: 100vw;
  }
}

.Layout_animationContainer__MWTl8 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--main-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  overflow: hidden;
}
/* GitHub Dark */
:root {
  --main-bg: #24292e;
  --bg-text: rgba(56, 58, 61, 0.35);
  --text-color: #efefef;
  --accent-color: #f9826c;
  --accent-color2: #004483;
  --titlebar-bg: #1f2428;
  --sidebar-bg: #1f2428;
  --sidebar-hover-bg: #1f2428;
  --explorer-bg: #1c2024;
  --explorer-hover-bg: #24292e;
  --explorer-border: #161a1d;
  --tabs-bg: #1f2428;
  --tab-bg: #1c2024;
  --tab-active-bg: #24292e;
  --tab-border: #24292e;
  --bottombar-bg: #004483;
  --bottombar-border: #004483;
  --terminal-user: #3ea1ff;
  --button-bg: #004483;
  --button-text: #dcffe4;
  --bottombar-hover-bg: #4f4f52;
  --scrollbar-track-bg: #24292e;
  --scrollbar-thumb-bg: #333536;
  --article-bg: #1f2428;
  --text-color: #E3E3E3;
  --subheading-color: #828282;
  --placeholder-color: #A6A6A6;
  --primary-color: #242424;
  --secondary-color: rgba(30, 30, 40, 0.9);
  --secondary-hover-color: rgb(16 16 16 / 90%);
}


/* Dracula */
[data-theme='dracula'] {
  --main-bg: #282a36;
  --bg-text: #313340;
  --text-color: #efefef;
  --accent-color: #bd93f9;
  --accent-color2: #004483;
  --titlebar-bg: #1e1f29;
  --sidebar-bg: #1e1f29;
  --sidebar-hover-bg: #3c3d51;
  --explorer-bg: #1b1c25;
  --explorer-hover-bg: #313241;
  --explorer-border: #161a1d;
  --tabs-bg: #1e1f29;
  --tab-bg: #1b1c25;
  --tab-active-bg: #282a36;
  --tab-border: #191a21;
  --bottombar-bg: #191a21;
  --bottombar-border: #191a21;
  --button-bg: #44475a;
  --button-text: #f8f8f2;
  --bottombar-hover-bg: #4f4f52;
  --scrollbar-track-bg: #282a36;
  --scrollbar-thumb-bg: #454647;
  --article-bg: #21222c;
}

/* Ayu Dark */
[data-theme='ayu-dark'] {
  --main-bg: #0a0e14;
  --bg-text: #101620;
  --text-color: #efefef;
  --accent-color: #e6b450;
  --accent-color2: #004483;
  --titlebar-bg: #0a0e14;
  --sidebar-bg: #0a0e14;
  /* Matches titlebar-bg */
  --sidebar-hover-bg: #00010a;
  --explorer-bg: #080c12;
  /* Faint compared to titlebar-bg */
  --explorer-hover-bg: #00010a;
  --explorer-border: transparent;
  --tabs-bg: #0a0e14;
  /* Matches titlebar-bg */
  --tab-bg: #080c12;
  /* Matches explorer-bg */
  --tab-active-bg: #0a0e14;
  /* Matches main-bg */
  --tab-border: transparent;
  --bottombar-bg: #0a0e14;
  --bottombar-border: transparent;
  --button-bg: #e6b450;
  --button-text: #0a0e14;
  --bottombar-hover-bg: #4f4f52;
  --scrollbar-track-bg: #0a0e14;
  --scrollbar-thumb-bg: #454647;
  --article-bg: #10121a;
}

/* Ayu Mirage */
[data-theme='ayu-mirage'] {
  --main-bg: #1f2430;
  --bg-text: #21242b;
  --text-color: #efefef;
  --accent-color: #e6b450;
  --accent-color2: #004483;
  --titlebar-bg: #1f2430;
  --sidebar-bg: #1f2430;
  /* Matches titlebar-bg */
  --sidebar-hover-bg: #191e2a;
  --explorer-bg: #1c212b;
  /* Faint compared to titlebar-bg */
  --explorer-hover-bg: #191e2a;
  --explorer-border: transparent;
  --tabs-bg: #1f2430;
  /* Matches titlebar-bg */
  --tab-bg: #1c212b;
  /* Matches explorer-bg */
  --tab-active-bg: #1f2430;
  /* Matches main-bg */
  --tab-border: transparent;
  --bottombar-bg: #1f2430;
  --bottombar-border: transparent;
  --button-bg: #e6b450;
  --button-text: #1f2430;
  --bottombar-hover-bg: #4f4f52;
  --scrollbar-track-bg: #1f2430;
  --scrollbar-thumb-bg: #454647;
  --article-bg: #252e3d;
}

/* Nord */
[data-theme='nord'] {
  --main-bg: #2e3440;
  --bg-text: #3b414d;
  --text-color: #efefef;
  --accent-color: #88c0d0;
  --accent-color2: #004483;
  --titlebar-bg: #2e3440;
  --sidebar-bg: #2e3440;
  /* Matches titlebar-bg */
  --sidebar-hover-bg: #434c5e;
  --explorer-bg: #2c313a;
  /* Faint compared to titlebar-bg */
  --explorer-hover-bg: #434c5e;
  --explorer-border: rgba(136, 192, 208, 0.2);
  --tabs-bg: #2e3440;
  /* Matches titlebar-bg */
  --tab-bg: #2c313a;
  /* Matches explorer-bg */
  --tab-active-bg: #2e3440;
  /* Matches main-bg */
  --tab-border: transparent;
  --bottombar-bg: #3b4252;
  --bottombar-border: transparent;
  --button-bg: #434c5e;
  --button-text: #d8dee9;
  --bottombar-hover-bg: #4f4f52;
  --scrollbar-track-bg: #2e3440;
  --scrollbar-thumb-bg: #454647;
  --article-bg: #363f50;
}

/* Night Owl */
[data-theme='night-owl'] {
  --main-bg: #011627;
  --bg-text: #031d33;
  --text-color: #89a4bb;
  --accent-color: rgb(95, 126, 151);
  --accent-color2: #004483;
  --titlebar-bg: #011627;
  --sidebar-bg: #011627;
  /* Matches titlebar-bg */
  --sidebar-hover-bg: #0e293f;
  --explorer-bg: #001524;
  /* Faint compared to titlebar-bg */
  --explorer-hover-bg: #0e293f;
  --explorer-border: transparent;
  --tabs-bg: #011627;
  /* Matches titlebar-bg */
  --tab-bg: #001524;
  /* Matches explorer-bg */
  --tab-active-bg: #011627;
  /* Matches main-bg */
  --tab-border: rgb(39, 43, 59);
  --bottombar-bg: #011627;
  --bottombar-border: #262a39;
  --button-bg: rgb(95, 126, 151);
  --button-text: #fff;
  --bottombar-hover-bg: #1b222f;
  --scrollbar-track-bg: #011627;
  --scrollbar-thumb-bg: #043254;
  --article-bg: #031d33;
}
@tailwind base;
@tailwind components;
@tailwind utilities;

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
  /* Primary Colors */
  --expedition-green: #1E3B2C;
  --midnight-charcoal: #2D3033;
  --misty-gray: #607D8B;

  /* Accent Colors */
  --bioluminescent-teal: #39F0D9;
  --evidence-amber: #FF9800;
  --scanner-green: #76FF03;

  /* Effects */
  --glass-opacity: 0.15;
  --blur-amount: 12px;
  --glow-strength: 3px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Work Sans', system-ui, sans-serif;
  color: #fff;
  line-height: 1.6;
  position: relative;
  overflow-y: hidden;
  transition: background 0.5s ease, color 0.5s ease, all 0.8s ease;
}

/* Security State Color Transitions */
body {
  transition: all 0.8s ease;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: linear-gradient(135deg,
      var(--midnight-charcoal),
      var(--expedition-green));
  animation: backgroundPulse 15s ease-in-out infinite;
  transition: background 0.8s ease;
}


/* Restrict background and overlays to the login container */
.login-bg-scope {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  /* or whatever fits your design */
  overflow: hidden;
}

.gradient-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(57, 240, 217, 0.15),
      transparent 35%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.glass-panel {
  transition: all 0.8s ease;
}

/* Different security states affect all elements using CSS variables */
input,
button,
a,
.classified-stripe,
.particle,
.scanner-line {
  transition: all 0.8s ease;
}

/* Ensure radar ping uses theme colors */
.radar-ping {
  border-color: var(--bioluminescent-teal);
}

/* Make scanner line use theme colors */
.scanner-line {
  background: linear-gradient(90deg,
      transparent,
      var(--bioluminescent-teal),
      transparent) !important;
}

/* Warning State Styles */
.warning-pulse {
  animation: warningPulse 3s infinite alternate;
}

@keyframes warningPulse {

  0%,
  100% {
    box-shadow: var(--container-shadow);
  }

  50% {
    box-shadow: 0 4px 30px rgba(255, 193, 7, 0.3), 0 0 50px rgba(255, 193, 7, 0.3), inset 0 0 20px rgba(255, 193, 7, 0.2);
  }
}

/* Danger State Styles */
.danger-pulse {
  animation: dangerPulse 1.5s infinite alternate;
}

@keyframes dangerPulse {

  0%,
  100% {
    box-shadow: var(--container-shadow);
  }

  50% {
    box-shadow: 0 4px 30px rgba(244, 67, 54, 0.4), 0 0 50px rgba(244, 67, 54, 0.4), inset 0 0 20px rgba(244, 67, 54, 0.3);
  }
}

/* Make the input focus colors match the security level */
body[data-security-level="warning"] input:focus {
  border-color: var(--bioluminescent-teal) !important;
  box-shadow: 0 0 8px var(--bioluminescent-teal) !important;
}

body[data-security-level="danger"] input:focus {
  border-color: var(--bioluminescent-teal) !important;
  box-shadow: 0 0 8px var(--bioluminescent-teal) !important;
}

/* Make particles match security level */
body[data-security-level="warning"] .particle {
  background-color: var(--particle-color) !important;
}

body[data-security-level="danger"] .particle {
  background-color: var(--particle-color) !important;
}

/* Ensure container backgrounds are correct */
body[data-security-level="warning"] .glass-panel {
  background: var(--container-bg) !important;
}

body[data-security-level="danger"] .glass-panel {
  background: var(--container-bg) !important;
}

.noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.15"/%3E%3C/svg%3E');
  opacity: 0.3;
  z-index: -1;
  mix-blend-mode: overlay;
  animation: noiseShift 0.5s steps(2) infinite;
  pointer-events: none;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 80%, rgba(57, 240, 217, 0.15), transparent 25%),
    radial-gradient(circle at 80% 20%, rgba(255, 152, 0, 0.1), transparent 25%);
  z-index: -1;
  pointer-events: none;
}

.gradient-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(57, 240, 217, 0.15),
      transparent 35%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Additional Thematic Elements */
.topographic-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,%3Csvg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="topo" patternUnits="userSpaceOnUse" width="200" height="200"%3E%3Cpath d="M0,100 Q50,50 100,100 Q150,150 200,100 M0,50 Q50,0 100,50 Q150,100 200,50 M0,150 Q50,100 100,150 Q150,200 200,150" fill="none" stroke="rgba(57, 240, 217, 0.07)" stroke-width="0.5"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="100%" height="100%" fill="url(%23topo)"/"%3E%3C/svg%3E');
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}

.classified-stamp {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: 'Space Mono', monospace;
  color: rgba(255, 152, 0, 0.2);
  border: 1px solid rgba(255, 152, 0, 0.2);
  padding: 0.2rem 0.4rem;
  font-size: 0.6rem;
  transform: rotate(12deg);
  text-transform: uppercase;
  letter-spacing: 1px;
  pointer-events: none;
  z-index: 10;
  opacity: 0.15;
}

body[data-security-level="warning"] .classified-stamp {
  color: rgba(255, 193, 7, 0.3);
  border-color: rgba(255, 193, 7, 0.3);
  content: "WARNING: CLEARANCE BREACH";
}

body[data-security-level="danger"] .classified-stamp {
  color: rgba(244, 67, 54, 0.4);
  border-color: rgba(244, 67, 54, 0.4);
  content: "DANGER: UNAUTHORIZED ACCESS";
}

.redacted-text {
  position: relative;
}

.redacted-text::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transform: translateY(-50%);
}

.coordinates-grid {
  position: relative;
  display: inline-block;
}

.grid-line {
  position: absolute;
  background-color: rgba(57, 240, 217, 0.2);
}

.grid-line:nth-child(1) {
  width: 100%;
  height: 1px;
  top: -5px;
  left: 0;
}

.grid-line:nth-child(2) {
  width: 1px;
  height: 100%;
  top: 0;
  right: -5px;
}

.morse-code,
.hidden-cryptid,
.scan-animation,
.binary-code {
  display: none;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  padding-top: 1vh;
  justify-content: center;
  min-height: 90vh;
  overflow: hidden;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Enhanced glassmorphism */
.glass-panel {
  background: rgba(45, 48, 51, 0.1);
  -webkit-backdrop-filter: blur(20px) contrast(120%);
          backdrop-filter: blur(20px) contrast(120%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.2),
    0 0 50px rgba(57, 240, 217, 0.1),
    inset 0 0 15px rgba(57, 240, 217, 0.05);
  border-radius: 10px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  max-width: 550px;
  margin: auto;
  width: 100%;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: background 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease, all 0.8s ease;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.glass-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      transparent 30%,
      rgba(57, 240, 217, 0.03) 40%,
      rgba(57, 240, 217, 0.03) 60%,
      transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.glass-panel .shine-effect {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 150%;
  height: 200%;
  background: linear-gradient(225deg,
      transparent 30%,
      rgba(255, 255, 255, 0.03) 50%,
      transparent 70%);
  transform: rotate(35deg);
  transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  z-index: 1;
  animation: subtleShine 8s infinite;
}

.glass-panel:hover .shine-effect {
  transform: translateX(10%) rotate(35deg);
}

@keyframes subtleShine {

  0%,
  100% {
    opacity: 0.03;
  }

  50% {
    opacity: 0.05;
  }
}

/* Enhanced Security System Indicators */
.security-indicators {
  display: flex;
  gap: 6px;
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 10;
}

.indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.5s cubic-bezier(0.2, 0, 0.4, 1);
}

.indicator.active {
  background: var(--bioluminescent-teal);
  box-shadow: 0 0 8px var(--bioluminescent-teal);
  animation: pulse 1s infinite;
}

.indicator.warning {
  background: var(--evidence-amber);
  box-shadow: 0 0 8px var(--evidence-amber);
  animation: pulse 0.5s infinite;
}

.indicator.danger {
  background: #f44336;
  box-shadow: 0 0 8px #f44336;
  animation: pulse 0.3s infinite;
}

/* Authentication Notification */
.auth-notification {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  border-radius: 4px;
  font-family: 'Space Mono', monospace;
  font-weight: bold;
  text-align: center;
  z-index: 100;
  animation: slideDown 0.3s forwards;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.auth-notification.error {
  background-color: rgba(244, 67, 54, 0.9);
  color: white;
}

.auth-notification.warning {
  background-color: rgba(255, 152, 0, 0.9);
  color: black;
  font-size: 1.05em;
}

.auth-notification.critical {
  background-color: rgba(153, 0, 0, 0.95);
  color: white;
  animation: criticalPulse 0.7s infinite;
  font-size: 1.1em;
  border: 1px solid #f44336;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.5px;
  position: relative;
}

.auth-notification.critical::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg,
      rgba(244, 67, 54, 0.1),
      rgba(244, 67, 54, 0.1) 10px,
      rgba(0, 0, 0, 0) 10px,
      rgba(0, 0, 0, 0) 20px);
  pointer-events: none;
}

.auth-notification.notice {
  background: rgba(57, 240, 217, 0.1);
  border: 1px solid rgba(57, 240, 217, 0.3);
  color: var(--bioluminescent-teal);
  box-shadow: 0 0 15px rgba(57, 240, 217, 0.2);
}

.auth-notification.success {
  background: rgba(57, 240, 217, 0.15);
  border: 1px solid var(--bioluminescent-teal);
  color: var(--bioluminescent-teal);
  animation: successPulse 2s infinite;
}

/* Dramatically Enhanced Lockout State */
.glass-panel.lockout {
  animation: lockoutPulse 1.5s infinite alternate;
  box-shadow:
    0 4px 30px rgba(244, 67, 54, 0.4),
    0 0 50px rgba(244, 67, 54, 0.4),
    inset 0 0 15px rgba(244, 67, 54, 0.3);
  transition: all 0.5s ease;
  border-color: rgba(244, 67, 54, 0.6);
}

.glass-panel.shake {
  animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

.glass-panel.lockout::after {
  background: linear-gradient(45deg,
      transparent 30%,
      rgba(244, 67, 54, 0.1) 40%,
      rgba(244, 67, 54, 0.1) 60%,
      transparent 70%);
  animation: redAlertScan 3s linear infinite;
}

.glass-panel.lockout input,
.glass-panel.lockout button {
  pointer-events: none;
  filter: grayscale(0.8);
  opacity: 0.8;
}

.lockout-message {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #f44336;
  font-family: 'Space Mono', monospace;
  font-size: 1.2rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.85);
  padding: 2rem;
  border-radius: 4px;
  width: 90%;
  z-index: 20;
  animation: glitchText 0.2s infinite;
  border: 1px solid #f44336;
  box-shadow: 0 0 20px rgba(244, 67, 54, 0.5);
  text-shadow: 0 0 5px rgba(244, 67, 54, 0.8);
  letter-spacing: 1px;
}

.lockout-message .alert-prefix {
  color: #ff0000;
  font-weight: bold;
  font-size: 1.4em;
  animation: blink 1s infinite;
  display: block;
  margin-bottom: 10px;
}

.lockout-message span {
  display: block;
  font-size: 0.9rem;
  margin-top: 1rem;
  opacity: 0.9;
}

.lockout-message .small-text {
  font-size: 0.7rem;
  margin-top: 1.5rem;
  opacity: 0.6;
}

.glass-panel.lockout .lockout-message {
  display: block;
}

/* Security Breach Full Screen Effects - Enhanced Red Filter */
.security-breach {
  overflow: hidden;
}

/* Add SVG filter to HTML */
body.security-breach {
  filter: url('#intense-red-filter') brightness(0.9) saturate(1.2);
  animation: redPulse 3s infinite alternate;
}

/* Make all page elements inherit the red filter */
body.security-breach * {
  filter: none;
}

/* Override any filters on specific elements */
body.security-breach .glass-panel,
body.security-breach .background,
body.security-breach .container,
body.security-breach .form-container,
body.security-breach input,
body.security-breach button {
  filter: none !important;
}

/* Intensify the red background color */
body.security-breach .background {
  animation: redBackgroundPulse 4s infinite alternate;
  background: linear-gradient(135deg, #661111, #4D0000) !important;
  opacity: 1;
}

/* Stronger red overlay for breach state */
body.security-breach::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 0, 0, 0.1);
  z-index: 5;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* More intense red pulse animation */
@keyframes redPulse {
  0% {
    filter: url('#intense-red-filter') brightness(0.9) saturate(1.2);
  }

  50% {
    filter: url('#intense-red-filter') brightness(0.8) saturate(1.3);
  }

  100% {
    filter: url('#intense-red-filter') brightness(0.9) saturate(1.2);
  }
}

/* More dramatic background animation */
@keyframes redBackgroundPulse {
  0% {
    opacity: 0.95;
    filter: brightness(0.9);
  }

  50% {
    opacity: 1;
    filter: brightness(1);
  }

  100% {
    opacity: 0.95;
    filter: brightness(0.9);
  }
}

.security-breach::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(80, 0, 0, 0.15);
  z-index: 5;
  pointer-events: none;
}

.security-flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 0, 0, 0.3);
  z-index: 999;
  pointer-events: none;
  animation: flash 1s infinite;
}

.breach-counter {
  position: fixed;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #f44336;
  padding: 10px 15px;
  font-family: 'Space Mono', monospace;
  color: #f44336;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: pulse 1s infinite;
  z-index: 1000;
}

.breach-counter .counter {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 5px;
}

/* Dramatically Enhanced Security Breach Styles */
html.red-filter-active {
  filter: url('#red-filter');
}

html.red-pulse {
  animation: redPulseIntense 3s infinite alternate;
}

/* Security Breach Full Screen Effects - Dramatically Enhanced */
.security-breach {
  overflow: hidden;
}

/* More intense red overlay */
.security-flash.critical-breach {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 0, 0, 0.4);
  z-index: 999;
  pointer-events: none;
  animation: criticalFlash 1.5s infinite;
  mix-blend-mode: multiply;
}

/* Add red biohazard pattern overlay */
body.security-breach::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"%3E%3Cpath d="M20,0 L20,40 M0,20 L40,20" stroke="rgba(255,0,0,0.15)" fill="none"/%3E%3C/svg%3E');
  opacity: 0.3;
  pointer-events: none;
  z-index: 998;
}

/* More dramatic background animation */
body.security-breach .background {
  animation: redBackgroundPulseIntense 4s infinite alternate !important;
  background: linear-gradient(135deg, #661111, #4D0000) !important;
  opacity: 1;
}

/* Change all text to red emergency colors */
body.security-breach h1,
body.security-breach p,
body.security-breach label,
body.security-breach span:not(.alert-prefix) {
  color: #ffcccc !important;
  text-shadow: 0 0 5px rgba(255, 0, 0, 0.7) !important;
}

/* More intense animations for security breach */
@keyframes redPulseIntense {
  0% {
    filter: url('#red-filter') brightness(0.9) saturate(1.2);
  }

  50% {
    filter: url('#red-filter') brightness(1.0) saturate(1.5);
  }

  100% {
    filter: url('#red-filter') brightness(0.8) saturate(1.3);
  }
}

@keyframes criticalFlash {
  0% {
    opacity: 0.1;
  }

  5% {
    opacity: 0.4;
  }

  10% {
    opacity: 0.1;
  }

  15% {
    opacity: 0.1;
  }

  20% {
    opacity: 0.3;
  }

  25% {
    opacity: 0.1;
  }

  35% {
    opacity: 0.5;
  }

  40% {
    opacity: 0.1;
  }

  100% {
    opacity: 0.1;
  }
}

@keyframes redBackgroundPulseIntense {
  0% {
    filter: brightness(0.7) saturate(1.4);
  }

  50% {
    filter: brightness(1.0) saturate(1.6);
  }

  100% {
    filter: brightness(0.7) saturate(1.4);
  }
}

/* Drain color from inputs during security breach */
body.security-breach input {
  color: #ff6666 !important;
  border-color: #990000 !important;
}

/* Make buttons appear "emergency" styled */
body.security-breach .btn-primary {
  background: rgba(255, 0, 0, 0.3) !important;
  border-color: rgba(255, 0, 0, 0.6) !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.4) !important;
}

/* COMPREHENSIVE RED SECURITY BREACH - top level filter applies to ALL content */
html.security-breach-active {
  filter: url('#security-breach-filter');
}

html.total-breach * {
  /* Override ANY color in the system during security breach */
  transition: all 0.1s !important;
}

/* Full screen overlay with warning pattern */
.breach-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
  background-image:
    repeating-linear-gradient(45deg,
      rgba(255, 0, 0, 0.05) 0px,
      rgba(255, 0, 0, 0.05) 10px,
      rgba(0, 0, 0, 0) 10px,
      rgba(0, 0, 0, 0) 20px),
    url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50"%3E%3Cpath d="M25,0 L25,50 M0,25 L50,25" stroke="rgba(255,0,0,0.1)" stroke-width="2"/%3E%3C/svg%3E');
  mix-blend-mode: multiply;
  animation: redPulse 4s infinite alternate;
}

/* Force text color to red tones in breach mode */
html.total-breach h1,
html.total-breach p,
html.total-breach label,
html.total-breach a,
html.total-breach .btn-primary,
html.total-breach .classified-stamp,
html.total-breach input,
html.total-breach button,
html.total-breach span {
  color: #ff6666 !important;
  border-color: #990000 !important;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.7) !important;
}

/* Force backgrounds to red hues */
html.total-breach .glass-panel {
  background: rgba(70, 0, 0, 0.2) !important;
  box-shadow:
    0 4px 30px rgba(255, 0, 0, 0.3),
    0 0 50px rgba(255, 0, 0, 0.2),
    inset 0 0 15px rgba(255, 0, 0, 0.1) !important;
  border-color: rgba(255, 0, 0, 0.3) !important;
}

/* Convert any green/teal glow to red */
html.total-breach .btn-primary {
  background: rgba(100, 0, 0, 0.3) !important;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.4) !important;
}

html.total-breach .btn-primary:hover {
  background: rgba(153, 0, 0, 0.4) !important;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.5) !important;
}

/* Make button glow red */
html.total-breach .btn-primary .btn-glow {
  background: linear-gradient(45deg, rgba(255, 0, 0, 0.5), transparent) !important;
}

/* Force classified stamp to red */
html.total-breach .classified-stamp {
  color: rgba(255, 0, 0, 0.7) !important;
  border-color: rgba(255, 0, 0, 0.7) !important;
  content: "EMERGENCY: UNAUTHORIZED ACCESS" !important;
  opacity: 0.8 !important;
}

/* Force the scanner line to be red */
html.total-breach .scanner-line {
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 0, 0, 0.8),
      transparent) !important;
  animation-duration: 0.5s !important;
  opacity: 0.8 !important;
  height: 3px !important;
}

/* Make particles red */
html.total-breach .particle {
  background-color: rgba(255, 0, 0, 0.6) !important;
  box-shadow: 0 0 3px rgba(255, 0, 0, 0.6) !important;
}

/* Make indicators red */
html.total-breach .indicator {
  background-color: rgba(255, 0, 0, 0.6) !important;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.6) !important;
}

/* Make text glow red */
html.total-breach .glitch-text::before,
html.total-breach .glitch-text::after {
  text-shadow: 2px 0 rgba(255, 0, 0, 0.7) !important;
}

/* Make radar pings red */
html.total-breach .radar-ping {
  border-color: rgba(255, 0, 0, 0.6) !important;
}

/* More intense red flashing */
@keyframes intensifiedRedFlash {
  0% {
    opacity: 0.1;
  }

  5% {
    opacity: 0.6;
  }

  10% {
    opacity: 0.1;
  }

  15% {
    opacity: 0.1;
  }

  20% {
    opacity: 0.4;
  }

  25% {
    opacity: 0.1;
  }

  35% {
    opacity: 0.7;
  }

  40% {
    opacity: 0.1;
  }

  100% {
    opacity: 0.1;
  }
}

/* Additional red pulse animation for the entire overlay */
@keyframes redPulse {
  0% {
    opacity: 0.7;
  }

  50% {
    opacity: 1.0;
  }

  100% {
    opacity: 0.7;
  }
}

/* Force inputs to have red focus styles */
html.total-breach input:focus {
  border-color: #990000 !important;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.4) !important;
}

/* Force input glow to be red */
html.total-breach .input-glow {
  background-color: rgba(153, 0, 0, 0.1) !important;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.4) !important;
}

/* Form styling */
.form-container {
  transition: all 0.4s ease;
  position: relative;
  z-index: 5;
}

.form-container.hidden {
  display: none;
}

.input-container {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 0.5rem;
  z-index: 5;
}

.input-prefix {
  color: var(--bioluminescent-teal);
  font-family: 'Space Mono', monospace;
  font-size: 1.2rem;
  margin-right: 0.5rem;
  opacity: 0.7;
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
}

.input-prefix.secure {
  color: var(--evidence-amber);
}

.input-container input {
  width: 100%;
  padding: 0.75rem 1rem;
  padding-left: 2rem;
  border: 1px solid rgba(96, 125, 139, 0.3);
  border-radius: 4px;
  background: rgba(45, 48, 51, 0.3);
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  transition: border-color 0.3s ease, background-color 0.3s ease, all 0.8s ease;
  position: relative;
  z-index: 2;
}

/* Style date input */
input[type="date"] {
  font-family: 'Work Sans', sans-serif;
  color: #fff;
  background: rgba(45, 48, 51, 0.3);
  border: 1px solid rgba(96, 125, 139, 0.3);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  width: 100%;
}

/* Experimental typography */
.formContainerHeading {
  font-family: 'Rajdhani', sans-serif;
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  transform: translateZ(0);
  position: relative;
}

.formContainerHeading::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  filter: blur(8px);
  transform: translateZ(-1px);
}

/* Modified classified stripe - remove indicators */
.classified-stripe {
  background-color: var(--evidence-amber);
  color: var(--midnight-charcoal);
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 0.25rem 0.75rem;
  display: inline-block;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  transition: all 0.8s ease;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.5s forwards;
}

.protocol-acceptance {
  margin: 2rem 0;
  position: relative;
  z-index: 4;
}

.form-group.scanned::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10px;
  width: calc(100% + 20px);
  height: 2px;
  background: linear-gradient(90deg,
      transparent,
      var(--bioluminescent-teal),
      transparent);
  animation: scanLine 0.5s ease-out forwards;
  opacity: 0.5;
  z-index: 1;
}

@keyframes scanLine {
  0% {
    transform: translateY(0);
    opacity: 0.7;
  }

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

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--misty-gray);
}

/* Enhanced form elements */
.input-container::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg,
      rgba(57, 240, 217, 0.05),
      transparent);
  border-radius: 4px;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

input:focus {
  outline: none;
  border-color: var(--bioluminescent-teal);
  background: rgba(45, 48, 51, 0.5);
}

.input-glow {
  position: absolute;
  inset: 0;
  background-color: rgba(57, 240, 217, 0);
  border-radius: 4px;
  transition: all 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

input:focus~.input-glow {
  box-shadow: 0 0 var(--glow-strength) var(--bioluminescent-teal);
  opacity: 0.2;
}

.form-actions {
  display: block;
  margin-top: 1.5rem;
}

/* Custom Toggle Element (Checkbox Alternative) */
.custom-toggle-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 35px;
  margin: 10px 0;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--misty-gray);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  min-height: 22px;
  z-index: 5;
}

.custom-toggle {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 22px;
  width: 22px;
  background: rgba(45, 48, 51, 0.8);
  border: 1px solid rgba(57, 240, 217, 0.4);
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-toggle-container:hover .custom-toggle {
  background: rgba(57, 240, 217, 0.15);
  border-color: var(--bioluminescent-teal);
  box-shadow: 0 0 10px rgba(57, 240, 217, 0.3);
}

.custom-toggle.checked {
  background: rgba(57, 240, 217, 0.3);
  border-color: var(--bioluminescent-teal);
}

.custom-toggle.checked::after {
  content: "";
  width: 6px;
  height: 11px;
  border: solid var(--bioluminescent-teal);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: block;
  margin-bottom: 2px;
}

/* Hidden inputs for form submission */
.custom-toggle-container input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

/* Ensure form options have proper spacing and alignment */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
  position: relative;
  z-index: 4;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  font-family: 'Rajdhani', sans-serif;
  border: none;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  letter-spacing: 0.5px;
  overflow: hidden;
  transition: all 0.3s ease, background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, all 0.8s ease;
  width: 100%;
  margin-bottom: 1rem;
}

.btn-primary {
  background: rgba(57, 240, 217, 0.2);
  color: var(--bioluminescent-teal);
  border: 1px solid rgba(57, 240, 217, 0.3);
  position: relative;
}

.btn-secondary {
  background: rgba(96, 125, 139, 0.2);
  color: var(--misty-gray);
  border: 1px solid rgba(96, 125, 139, 0.2);
}

.btn-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--bioluminescent-teal), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover .btn-glow {
  opacity: 0.2;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(57, 240, 217, 0.3);
}

.btn-secondary:hover {
  background: rgba(96, 125, 139, 0.3);
}

/* Links */
.accent-link {
  color: var(--bioluminescent-teal);
  text-decoration: none;
  position: relative;
  transition: all 0.2s ease, background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, all 0.8s ease;
}

.accent-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--bioluminescent-teal);
  transition: width 0.3s ease;
}

.accent-link:hover::after {
  width: 100%;
}

/* Footer */
footer {
  margin-top: 0;
  padding: 1rem 0;
  text-align: center;
}

.disclaimer {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--misty-gray);
  opacity: 0.6;
  letter-spacing: 1px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scanLine {
  0% {
    transform: translateY(-100%);
  }

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

@keyframes backgroundPulse {

  0%,
  100% {
    filter: hue-rotate(0deg);
  }

  50% {
    filter: hue-rotate(15deg);
  }
}

@keyframes surfaceShift {
  0% {
    transform: translateX(-100%) skewX(-15deg);
  }

  100% {
    transform: translateX(100%) skewX(-15deg);
  }
}

@keyframes noiseShift {

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

  25% {
    transform: translate(4px, -4px);
  }

  50% {
    transform: translate(-4px, 4px);
  }

  75% {
    transform: translate(-4px, -4px);
  }
}

/* Experimental Effects */
.scanner-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
      transparent,
      var(--bioluminescent-teal),
      transparent);
  animation: scannerMove 2s linear infinite;
  opacity: 0.5;
  pointer-events: none;
  transition: all 0.8s ease;
}

.glitch-text {
  position: relative;
  animation: textGlitch 0.2s infinite;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip: rect(0, 900px, 0, 0);
}

.glitch-text::before {
  text-shadow: -2px 0 var(--evidence-amber);
  animation: glitchEffect1 3s infinite linear alternate-reverse;
}

.glitch-text::after {
  text-shadow: 2px 0 var(--scanner-green);
  animation: glitchEffect2 2s infinite linear alternate-reverse;
}

.radar-ping {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid var(--bioluminescent-teal);
  transform: translate(-50%, -50%);
  animation: radarPing 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  pointer-events: none;
}

.particle-field {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 100;
}

.particle {
  position: absolute;
  background: var(--bioluminescent-teal);
  width: 2px;
  height: 2px;
  border-radius: 50%;
  filter: blur(1px);
  animation: particleFloat 20s linear infinite;
  transition: all 0.8s ease;
}

/* New Animations */
@keyframes scannerMove {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  50% {
    opacity: 0.5;
  }

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

@keyframes glitchEffect1 {
  0% {
    clip: rect(44px, 900px, 56px, 0);
  }

  20% {
    clip: rect(12px, 900px, 65px, 0);
  }

  40% {
    clip: rect(78px, 900px, 82px, 0);
  }

  60% {
    clip: rect(32px, 900px, 39px, 0);
  }

  80% {
    clip: rect(92px, 900px, 98px, 0);
  }

  100% {
    clip: rect(21px, 900px, 28px, 0);
  }
}

@keyframes glitchEffect2 {
  0% {
    clip: rect(21px, 900px, 28px, 0);
  }

  20% {
    clip: rect(92px, 900px, 98px, 0);
  }

  40% {
    clip: rect(32px, 900px, 39px, 0);
  }

  60% {
    clip: rect(78px, 900px, 82px, 0);
  }

  80% {
    clip: rect(12px, 900px, 65px, 0);
  }

  100% {
    clip: rect(44px, 900px, 56px, 0);
  }
}

@keyframes radarPing {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes particleFloat {
  from {
    transform: translateY(-10px) translateX(0);
  }

  to {
    transform: translateY(110vh) translateX(20px);
  }
}

@keyframes textGlitch {
  0% {
    opacity: 1;
  }

  10% {
    opacity: 0.9;
  }

  11% {
    opacity: 1;
  }

  15% {
    opacity: 0.4;
  }

  16% {
    opacity: 1;
  }

  40% {
    opacity: 1;
  }

  41% {
    opacity: 0.8;
  }

  42% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}

@keyframes scanHorizontal {
  0% {
    top: -10px;
    left: -100%;
  }

  100% {
    top: 100%;
    left: 0;
  }
}

@keyframes redactionReveal {
  0% {
    width: 100%;
  }

  90% {
    width: 0;
  }

  100% {
    width: 0;
  }
}

@keyframes fadeInOut {
  0% {
    opacity: 0.1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 0.1;
  }
}

@keyframes lockoutPulse {
  0% {
    background: rgba(45, 48, 51, 0.1);
  }

  50% {
    background: rgba(80, 20, 20, 0.2);
  }

  100% {
    background: rgba(120, 10, 10, 0.3);
  }
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

@keyframes shake {

  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

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

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}

@keyframes slideDown {
  from {
    top: -50px;
    opacity: 0;
  }

  to {
    top: 10px;
    opacity: 1;
  }
}

@keyframes criticalPulse {
  0% {
    background-color: #990000;
  }

  50% {
    background-color: #ff0000;
  }

  100% {
    background-color: #990000;
  }
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  49% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes flash {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 0.7;
  }

  10% {
    opacity: 0;
  }

  15% {
    opacity: 0;
  }

  20% {
    opacity: 0.2;
  }

  25% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes redAlertScan {
  0% {
    background-position: 0% 0%;
    opacity: 0.2;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    background-position: 200% 0%;
    opacity: 0.2;
  }
}

@keyframes warningPulse {

  0%,
  100% {
    box-shadow: var(--container-shadow);
  }

  50% {
    box-shadow: 0 4px 30px rgba(255, 193, 7, 0.3), 0 0 50px rgba(255, 193, 7, 0.2), inset 0 0 20px rgba(255, 193, 7, 0.1);
  }
}

@keyframes dangerPulse {

  0%,
  100% {
    box-shadow: var(--container-shadow);
  }

  50% {
    box-shadow: 0 4px 30px rgba(244, 67, 54, 0.3), 0 0 50px rgba(244, 67, 54, 0.2), inset 0 0 20px rgba(244, 67, 54, 0.1);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .glass-panel {
    padding: 1.5rem;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .coordinates {
    text-align: left;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .flavor-header,
  .disclaimer {
    font-size: 0.6rem;
    padding: 0.3rem;
    letter-spacing: 0.5px;
  }

  .header-coordinates {
    display: none;
  }

  .environment-status {
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.6rem;
    padding: 0.5rem;
  }

  .mission-note {
    font-size: 0.6rem;
    padding: 0.4rem;
    margin-top: 0.5rem;
  }

  .help-hint {
    font-size: 0.6rem;
    bottom: 0.5rem;
    padding: 0.3rem 0.5rem;
  }

  .time-label {
    font-size: 0.6rem;
  }

  .classified-stamp {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    right: 0.5rem;
    top: 0.5rem;
  }

  .auth-notification {
    width: 90%;
    font-size: 0.7rem;
    padding: 0.5rem;
  }

  .container {
    padding: 0.5rem;
  }

  .glass-panel {
    padding: 1rem;
  }
}

@media (max-width: 380px) {
  .flavor-header {
    flex-direction: column;
    gap: 0.2rem;
    align-items: flex-start;
  }

  .environment-status .status-item {
    font-size: 0.55rem;
  }
}

.coordinates {
  position: relative;
  bottom: 1rem;
  right: 1rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--misty-gray);
  opacity: 0.6;
  text-align: right;
}

/* Warning State Styles */
body.warning-state .glass-panel {
  border-color: rgba(255, 193, 7, 0.1);
}

/* Danger State Styles - before full lockout */
body.danger-state .glass-panel:not(.lockout) {
  border-color: rgba(244, 67, 54, 0.1);
  box-shadow: 0 4px 30px rgba(244, 67, 54, 0.2), 0 0 50px rgba(244, 67, 54, 0.1), inset 0 0 15px rgba(244, 67, 54, 0.05);
}

/* State-specific particle colors */
body[data-security-level="warning"] .particle {
  background: var(--bioluminescent-teal) !important;
}

body[data-security-level="danger"] .particle {
  background: var(--bioluminescent-teal) !important;
}

/* State-specific scanner line */
body[data-security-level="warning"] .scanner-line {
  background: linear-gradient(90deg, transparent, var(--bioluminescent-teal), transparent);
}

body[data-security-level="danger"] .scanner-line {
  background: linear-gradient(90deg, transparent, var(--bioluminescent-teal), transparent);
  animation-duration: 1s;
}

/* State-specific button colors */
body[data-security-level="warning"] .btn-primary {
  background: rgba(255, 193, 7, 0.2);
  color: var(--bioluminescent-teal);
  border: 1px solid rgba(255, 193, 7, 0.3);
}

body[data-security-level="danger"] .btn-primary {
  background: rgba(244, 67, 54, 0.2);
  color: var(--bioluminescent-teal);
  border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Adjust input field colors by security state */
body[data-security-level="warning"] input:focus {
  border-color: var(--bioluminescent-teal);
}

body[data-security-level="danger"] input:focus {
  border-color: var(--bioluminescent-teal);
}

/* Flavor Header Styles - match EXACTLY with footer disclaimer text */
.flavor-header {
  font-family: 'Space Mono', monospace;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 0.2rem;
  margin-bottom: 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.6;
  transform: translateY(-10px);
  transition: opacity 0.8s, transform 0.8s;
}

.flavor-header.header-appeared {
  opacity: 0.6;
  transform: translateY(0);
}

/* All flavor header elements match disclaimer color exactly */
.header-batch,
.header-coordinates,
.header-phrase {
  color: var(--misty-gray);
}

.header-batch:before {
  content: ">";
  margin-right: 5px;
  color: var(--misty-gray);
}

/* Flavor Header State Changes */
.header-batch.warning-alert {
  color: var(--evidence-amber);
}

.header-batch.warning-alert:before {
  content: "!>";
  color: var(--evidence-amber);
  animation: blink 1s infinite;
}

.header-batch.danger-alert {
  color: #f44336;
}

.header-batch.danger-alert:before {
  content: "!!>";
  color: #f44336;
  animation: blink 0.5s infinite;
}

.header-coordinates.warning-flicker {
  animation: coordinateFlicker 3s infinite;
  color: var(--evidence-amber);
}

.header-coordinates.danger-corrupt {
  animation: textGlitch 0.2s infinite;
  color: #f44336;
}

.header-phrase.danger-text {
  color: #f44336;
}

@keyframes coordinateFlicker {

  0%,
  95%,
  100% {
    opacity: 0.7;
  }

  97% {
    opacity: 0.3;
  }

  98% {
    opacity: 0.9;
  }
}

/* State changes for flavor header during breach */
html.total-breach .flavor-header {
  border-bottom-color: rgba(255, 0, 0, 0.3) !important;
}

html.total-breach .header-batch,
html.total-breach .header-coordinates,
html.total-breach .header-phrase {
  color: #ff6666 !important;
  text-shadow: 0 0 5px rgba(255, 0, 0, 0.7) !important;
}

html.total-breach .header-batch:before {
  content: "ERROR>";
  animation: blink 0.3s infinite !important;
}

/* Environment status panel */
.environment-status {
  display: flex;
  justify-content: space-between;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  margin-top: 1.5rem;
  padding: 0.8rem;
  background-color: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(57, 240, 217, 0.1);
  border-radius: 4px;
}

.status-label {
  color: var(--misty-gray);
  margin-right: 0.5rem;
}

.status-value {
  font-weight: bold;
}

.status-ok {
  color: var(--bioluminescent-teal);
}

.status-warning {
  color: var(--evidence-amber);
  animation: blink 2s infinite;
}

/* Mission briefing note */
.mission-note {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  margin-top: 1rem;
  padding: 0.5rem;
  background-color: rgba(255, 152, 0, 0.05);
  border-left: 2px solid var(--evidence-amber);
  color: var(--misty-gray);
  letter-spacing: 0.5px;
}

.mission-label {
  color: var(--evidence-amber);
  margin-right: 0.5rem;
}

/* Biometric Scanner Styles */
.biometric-scanner {
  display: none;
  margin-top: 1.5rem;
}

.auth-divider {
  text-align: center;
  position: relative;
  margin: 1rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 2rem);
  height: 1px;
  background: rgba(96, 125, 139, 0.2);
}

.auth-divider::before {
  left: 0;
}

.auth-divider::after {
  right: 0;
}

.auth-divider span {
  background: rgba(45, 48, 51, 0.4);
  padding: 0.5rem 1rem;
  color: var(--misty-gray);
  font-size: 0.8rem;
  letter-spacing: 2px;
}

.fingerprint-scanner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  cursor: pointer;
}

.scanner-pad {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(57, 240, 217, 0.05);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(57, 240, 217, 0.2);
  transition: all 0.3s ease;
}

.scan-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(transparent,
      transparent 2px,
      rgba(57, 240, 217, 0.1) 2px,
      rgba(57, 240, 217, 0.1) 4px);
  opacity: 0;
  transition: opacity 0.3s;
}

.fingerprint-icon {
  position: absolute;
  inset: 20%;
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath fill="rgba(57, 240, 217, 0.3)" d="M12,2C6.477,2,2,6.477,2,12s4.477,10,10,10s10-4.477,10-10S17.523,2,12,2z M12,20c-4.418,0-8-3.582-8-8s3.582-8,8-8s8,3.582,8,8S16.418,20,12,20z M12,6c-3.314,0-6,2.686-6,6s2.686,6,6,6s6-2.686,6-6S15.314,6,12,6z M12,16c-2.209,0-4-1.791-4-4s1.791-4,4-4s4,1.791,4,4S14.209,16,12,16z"%3E%3C/path%3E%3C/svg%3E');
  opacity: 0.5;
}

.scanner-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--misty-gray);
  letter-spacing: 1px;
}

/* Scanner States */
.fingerprint-scanner.scanning .scan-lines {
  opacity: 1;
  animation: scanMove 2s linear infinite;
}

.fingerprint-scanner.scanning .scanner-pad {
  background: rgba(57, 240, 217, 0.1);
  box-shadow: 0 0 15px rgba(57, 240, 217, 0.2);
}

.fingerprint-scanner.processing .scanner-pad {
  background: rgba(255, 152, 0, 0.1);
  border-color: rgba(255, 152, 0, 0.2);
  animation: pulse 1s infinite;
}

.fingerprint-scanner.scan-error .scanner-pad {
  background: rgba(244, 67, 54, 0.1);
  border-color: rgba(244, 67, 54, 0.2);
  box-shadow: 0 0 15px rgba(244, 67, 54, 0.2);
}

.fingerprint-scanner.scan-error[data-security-level="normal"] .scanner-pad {
  border-color: var(--bioluminescent-teal);
  box-shadow: 0 0 15px var(--bioluminescent-teal);
}

.fingerprint-scanner.scan-error[data-security-level="warning"] .scanner-pad {
  border-color: var(--evidence-amber);
  box-shadow: 0 0 15px var(--evidence-amber);
}

.fingerprint-scanner.scan-error[data-security-level="danger"] .scanner-pad {
  border-color: var(--bioluminescent-teal);
  box-shadow: 0 0 20px var(--bioluminescent-teal);
}

.fingerprint-scanner.scan-error[data-security-level="normal"] .scanner-pad {
  background: rgba(244, 67, 54, 0.1);
  border-color: rgba(244, 67, 54, 0.2);
  box-shadow: 0 0 15px rgba(244, 67, 54, 0.2);
  animation: scanPulseNormal 2s infinite;
}

.fingerprint-scanner.scan-error[data-security-level="warning"] .scanner-pad {
  background: rgba(255, 193, 7, 0.1);
  border-color: rgba(255, 193, 7, 0.2);
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.2);
  animation: scanPulseWarning 1.5s infinite;
}

.fingerprint-scanner.scan-error[data-security-level="danger"] .scanner-pad {
  background: rgba(255, 0, 0, 0.15);
  border-color: rgba(255, 0, 0, 0.3);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
  animation: scanPulseDanger 0.8s infinite;
}

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

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }

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

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

  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }

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

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

  50% {
    transform: scale(1.15);
    opacity: 0.6;
  }

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

/* Show scanner only on mobile */
@media (max-width: 768px) {
  .biometric-scanner.mobile-only {
    display: block;
  }
}

/* Move credentials link below form elements */
.form-footer {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
}

/* Thermal hint styling */
.thermal-hints {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
}

.thermal-hint {
  position: absolute;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--bioluminescent-teal);
  padding: 0.5rem;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(57, 240, 217, 0.05);
  border: 1px solid rgba(57, 240, 217, 0.1);
  pointer-events: none;
}

.thermal-cursor {
  position: absolute;
  pointer-events: none;
  z-index: 100;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 240, 217, 0.15) 0%, transparent 70%);
  transform: translate(-93%, -60%);
  transition: background 0.01s;
  mix-blend-mode: lighten;
}

/* Show hints when mouse (thermal scanner) is nearby */
.thermal-hint:hover,
.thermal-hint:hover~.thermal-cursor {
  opacity: 0.8;
}

/* Enhance thermal cursor for hint detection */
.thermal-cursor:hover~.thermal-hints .thermal-hint {
  opacity: 0.8;
  animation: hintGlow 2s infinite;
}

@keyframes hintGlow {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(57, 240, 217, 0.2);
  }

  50% {
    box-shadow: 0 0 20px rgba(57, 240, 217, 0.4);
  }
}

.auth-success .glass-panel {
  border-color: var(--bioluminescent-teal);
  box-shadow:
    0 4px 30px rgba(57, 240, 217, 0.3),
    0 0 50px rgba(57, 240, 217, 0.2),
    inset 0 0 15px rgba(57, 240, 217, 0.1);
  animation: successPanel 3s forwards;
}

@keyframes successPulse {

  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }
}

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

  50% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Add error flash animation */
.error-flash {
  animation: errorPulse 0.6s;
}

@keyframes errorPulse {

  0%,
  100% {
    box-shadow: none;
  }

  50% {
    box-shadow: 0 0 8px #f44336;
  }
}

/* Aptitude Test Styles */
.aptitude-test-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.aptitude-test-container.hidden {
  display: none !important;
}

.aptitude-test-container.active {
  opacity: 1;
  pointer-events: all;
}

.aptitude-panel {
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 10000;
}

.aptitude-test-container.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--bioluminescent-teal);
  z-index: 10001;
  animation: pulse 1.5s infinite;
}

/* Test Header */
.test-header {
  margin-bottom: 2rem;
}

.test-header h2 {
  font-family: 'Rajdhani', sans-serif;
  color: var(--bioluminescent-teal);
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

/* Test Progress Bar */
.test-progress {
  margin-bottom: 2rem;
}

.progress-bar {
  height: 6px;
  background: rgba(45, 48, 51, 0.6);
  border-radius: 3px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 33.33%;
  background: var(--bioluminescent-teal);
  box-shadow: 0 0 10px var(--bioluminescent-teal);
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.progress-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--misty-gray);
  text-align: right;
}

/* Test Sections */
.test-section {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.test-section.active {
  display: block;
  animation: fadeInUp 0.5s forwards;
}

.test-section h3 {
  font-family: 'Rajdhani', sans-serif;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.test-instruction {
  font-family: 'Work Sans', sans-serif;
  color: var(--misty-gray);
  margin-bottom: 2rem;
  font-size: 0.9rem;
  padding: 0.75rem;
  border: 1px solid rgba(57, 240, 217, 0.1);
  background: rgba(57, 240, 217, 0.05);
  border-radius: 4px;
}

/* Pattern Recognition Test */
.pattern-sequence {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2rem 0;
  background: rgba(45, 48, 51, 0.4);
  padding: 1.5rem;
  border-radius: 6px;
  border: 1px solid rgba(57, 240, 217, 0.15);
}

.pattern-item {
  font-size: 2.5rem;
  color: var(--bioluminescent-teal);
  text-align: center;
  min-width: 60px;
  animation: subtle-glow 2s infinite alternate;
  font-family: 'Space Mono', monospace;
}

.pattern-question {
  font-size: 3rem;
  color: var(--evidence-amber);
  animation: blink 1.5s infinite;
  font-weight: bold;
}

.pattern-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
  gap: 1rem;
  margin-top: 2rem;
}

.pattern-option {
  padding: 1rem;
  font-size: 2rem;
  color: var(--bioluminescent-teal);
  background: rgba(45, 48, 51, 0.4);
  border: 1px solid rgba(57, 240, 217, 0.15);
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pattern-option:hover {
  background: rgba(57, 240, 217, 0.05);
  border-color: var(--bioluminescent-teal);
  box-shadow: 0 0 20px rgba(57, 240, 217, 0.2);
}

.pattern-option.selected {
  background: rgba(57, 240, 217, 0.1);
  border-color: var(--bioluminescent-teal);
  box-shadow: 0 0 25px rgba(57, 240, 217, 0.25);
}

/* Memory Test */
.memory-map {
  position: relative;
  width: 100%;
  padding-top: 100%;
  margin: 2rem 0;
  background: rgba(45, 48, 51, 0.4);
  border: 1px solid rgba(57, 240, 217, 0.15);
  border-radius: 6px;
  overflow: hidden;
}

.map-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  grid-gap: 1px;
  gap: 1px;
  background: rgba(57, 240, 217, 0.1);
}

.map-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(57, 240, 217, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 240, 217, 0.1) 1px, transparent 1px);
  background-size: calc(100% / 4) calc(100% / 4);
  z-index: 1;
}

.map-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--evidence-amber);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--evidence-amber);
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: pulse 1.5s infinite;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 48, 51, 0.95);
  z-index: 10;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 2rem;
  color: var(--bioluminescent-teal);
}

.map-overlay.visible {
  opacity: 1;
}

.memory-recall {
  margin-top: 1rem;
}

.memory-recall.hidden {
  display: none;
}

.memory-recall p {
  margin-bottom: 1rem;
  color: var(--misty-gray);
  font-family: 'Work Sans', sans-serif;
}

.recall-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 0.5rem;
  gap: 0.5rem;
}

.recall-cell {
  aspect-ratio: 1;
  background: rgba(45, 48, 51, 0.6);
  border: 1px solid rgba(57, 240, 217, 0.1);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.recall-cell:hover {
  background: rgba(57, 240, 217, 0.05);
  border-color: rgba(57, 240, 217, 0.3);
}

.recall-cell.selected {
  background: rgba(57, 240, 217, 0.1);
  border-color: var(--bioluminescent-teal);
  box-shadow: 0 0 10px rgba(57, 240, 217, 0.2);
}

.recall-cell.selected::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--bioluminescent-teal);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 5px var(--bioluminescent-teal);
}

/* Reaction Test */
.reaction-arena {
  width: 100%;
  height: 300px;
  position: relative;
  margin: 2rem 0;
  background: rgba(45, 48, 51, 0.4);
  border: 1px solid rgba(57, 240, 217, 0.15);
  border-radius: 6px;
  overflow: hidden;
}

.capture-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(57, 240, 217, 0.2);
  border-radius: 4px;
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  color: var(--bioluminescent-teal);
  z-index: 20;
}

.cryptid-target {
  position: absolute;
  width: 40px;
  height: 30px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 30"><path d="M10,20 C15,5 25,5 30,20 C25,12 15,12 10,20 Z" fill="%2339F0D9" fill-opacity="0.6" /></svg>');
  cursor: pointer;
  transform-origin: center;
  transition: all 0.2s ease;
  opacity: 0;
  z-index: 10;
}

.cryptid-target.visible {
  opacity: 1;
  animation: fadeInTarget 0.3s ease-out;
}

.cryptid-target.captured {
  transform: scale(1.5);
  opacity: 0;
  animation: captureEffect 0.5s ease-out;
}

/* Results Section */
.results-section {
  text-align: center;
}

.results-panel {
  background: rgba(45, 48, 51, 0.4);
  border: 1px solid rgba(57, 240, 217, 0.2);
  border-radius: 6px;
  padding: 3rem 2rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.result-icon {
  font-size: 4rem;
  color: var(--bioluminescent-teal);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px var(--bioluminescent-teal);
  animation: successPulse 2s infinite;
}

.results-panel h4 {
  font-family: 'Rajdhani', sans-serif;
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.security-clearance {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--bioluminescent-teal);
  border-radius: 4px;
}

.clearance-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  color: var(--misty-gray);
  margin-right: 0.5rem;
}

.clearance-value {
  font-family: 'Space Mono', monospace;
  font-size: 1.2rem;
  color: var(--bioluminescent-teal);
  font-weight: bold;
  animation: glow 1.5s infinite alternate;
}

.scan-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(57, 240, 217, 0.1), transparent);
  animation: scanEffect 2s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.completion-message {
  color: var(--misty-gray);
  line-height: 1.7;
  margin-top: 2rem;
  font-family: 'Work Sans', sans-serif;
}

.completion-message p:last-child {
  margin-top: 1rem;
  color: var(--bioluminescent-teal);
  animation: pulse 2s infinite;
}

/* Test Navigation */
.test-navigation {
  margin-top: 1.5rem;
  text-align: center;
}

/* Animations */
@keyframes subtle-glow {
  0% {
    opacity: 0.7;
  }

  100% {
    opacity: 1;
  }
}

@keyframes scanEffect {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(50%);
  }
}

@keyframes fadeInTarget {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }

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

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

  50% {
    opacity: 0.8;
    transform: scale(1.2);
    box-shadow: 0 0 20px var(--bioluminescent-teal);
  }

  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

@keyframes glow {
  0% {
    text-shadow: 0 0 5px var(--bioluminescent-teal);
  }

  100% {
    text-shadow: 0 0 15px var(--bioluminescent-teal);
  }
}

/* Help Hint Styles */
.help-hint {
  position: fixed;
  bottom: 23px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 100;
  pointer-events: none;
  font-family: 'Space Mono', monospace;
}

.help-hint-content {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(57, 240, 217, 0.2);
  border-radius: 4px;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: var(--misty-gray);
  letter-spacing: 0.5px;
}

.hint-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hint-label {
  color: var(--bioluminescent-teal);
  opacity: 0.8;
  margin-right: 4px;
}

.hint-shortcut {
  color: var(--bioluminescent-teal);
}

.hint-divider {
  color: rgba(96, 125, 139, 0.5);
  margin: 0 4px;
}

@media (max-width: 768px) {
  .help-hint-content {
    font-size: 0.6rem;
    padding: 3px 8px;
  }

  .hint-item {
    gap: 2px;
  }

  .hint-divider {
    margin: 0 2px;
  }

  .flavor-header {
    margin-bottom: 0;
  }

  .custom-toggle {
    padding-left: 10px;
    height: 15px;
    width: 15px;
  }

  .accent-link {
    font-size: 12px;
  }

  .custom-toggle-container {
    padding-left: 22px;
  }

  .form-options {
    flex-direction: row;
    align-items: center;
  }

}
.Titlebar_titlebar__duurU {
  background: var(--titlebar-bg);
  position: relative;
  height: 30px;
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.85rem;
  border-bottom: 1px solid #191d20;
  z-index: 200;
}

.Titlebar_items__SY7Me {
  flex: 1 1;
  display: flex;
  margin-right: auto;
  margin-left: 0.5rem;
}

.Titlebar_title__GvoTa {
  flex: 1 1;
  text-align: center;
}

.Titlebar_items__SY7Me>* {
  padding: 0 0.5rem;
  cursor: pointer;
}

.Titlebar_windowButtons__ezQjA {
  flex: 1 1;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.Titlebar_windowButtons__ezQjA * {
  margin-left: 0.5rem;
  height: 13px;
  width: 13px;
  border-radius: 50%;
  cursor: pointer;
}

.Titlebar_minimize__qlkw7 {
  background: #f1fa8c;
  margin-left: auto;
}

.Titlebar_maximize__7LY1s {
  background: #50fa7b;
}

.Titlebar_close__APKwk {
  background: #ff5555;
}

@media screen and (max-width: 900px) {
  .Titlebar_items__SY7Me p {
    display: none;
  }

  .Titlebar_title__GvoTa {
    flex: 4 1;
  }
}
.Sidebar_sidebar__f0UeY {
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 3.2rem;
  align-items: center;
  height: 97vh;
  position: relative;
  z-index: 200;
}

.Sidebar_iconContainer__pwMX9 {
  cursor: pointer;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
}

.Sidebar_iconContainer__pwMX9:hover {
  background: var(--explorer-bg);
}

.Sidebar_active__K0oVU {
  border-left: 1px solid var(--accent-color);
  background: var(--explorer-bg);
  display: flex;
  justify-content: center;
}

.Sidebar_icon__Xclcw {
  height: 48px;
  width: 48px;
  padding: 0.65rem 0;
  display: block;
  margin: 0 auto;
}

.Sidebar_imageIcon__8L_LM {
  width: 25px;
  height: 25px;
  margin-bottom: 0.6rem;
}


.Sidebar_tooltip__liYcc {
  position: absolute;
  left: 3.5rem;
  top: 50%;
  transform: translateY(-50%) translateX(-20px);
  background-color: var(--tooltip-bg, #333);
  color: var(--tooltip-color, #fff);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s;
}

@media screen and (min-width: 600px) {
  .Sidebar_iconContainer__pwMX9:hover .Sidebar_tooltip__liYcc {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
  }

  .Sidebar_sidebarBottom__YP7b4 {
    margin-bottom: 2rem;
  }
}

@media screen and (min-width: 2000px) {
  .Sidebar_sidebar__f0UeY {
    width: 2.5vw;
  }
}

@media screen and (max-width: 1100px) {
  .Sidebar_sidebar__f0UeY {
    width: 6vw;
  }
}

@media screen and (max-width: 900px) {
  .Sidebar_sidebar__f0UeY {
    width: 8vw;
  }

  .Sidebar_icon__Xclcw {
    height: 48px;
    width: 48px;
    padding: 0.6rem;
  }
}

@media screen and (max-width: 599px) {
  .Sidebar_sidebar__f0UeY {
    width: 10vw;
  }

  .Sidebar_icon__Xclcw {
    height: 40px;
    width: 40px;
    padding: 0.6rem;
  }

  .Sidebar_sidebarBottom__YP7b4 {
    margin-bottom: 4rem;
  }
}


@keyframes Sidebar_subtleGlow__XqHSb {
  0% {
    filter: drop-shadow(0 0 2px var(--accent-color));
  }

  50% {
    filter: drop-shadow(0 0 6px var(--accent-color));
  }

  100% {
    filter: drop-shadow(0 0 2px var(--accent-color));
  }
}

.Sidebar_iconGlow__0hTDb {
  animation: Sidebar_subtleGlow__XqHSb 1.5s ease-in-out infinite alternate;
}
.Explorer_explorer__BxwV8 {
  background: var(--explorer-bg);
  width: 18vw;
  color: rgb(225, 228, 232);
  font-family: "Lora", serif;
  ;
  border-right: 1px solid var(--explorer-border);
  display: flex;
  flex-direction: column;
  z-index: 200;
}

.Explorer_title__0AyXS {
  padding: 0.5rem 0.75rem;
  font-weight: 300;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.Explorer_heading__3pA1L {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.8rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0 0.5rem;
}

.Explorer_checkbox__RqvhK {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.Explorer_files__2hy7s {
  padding: 0.5rem 0;
  cursor: pointer;
}

.Explorer_file__8m47p {
  padding: 0.3rem 1rem;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
}

.Explorer_file__8m47p p {
  margin-left: 5px;
}

.Explorer_file__8m47p:hover {
  background: var(--explorer-hover-bg);
}

.Explorer_chevron__QcFV6 {
  transition: transform 0.2s;
}

@media screen and (min-width: 2000px) {
  .Explorer_explorer__BxwV8 {
    width: 10vw;
  }
}

@media screen and (max-width: 900px) {
  .Explorer_explorer__BxwV8 {
    width: 90vw;
  }
}

@keyframes Explorer_projectSkeletonPulse__R7Vgm {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.1;
  }

  100% {
    opacity: 1;
  }
}
.Bottombar_bottomBar__smAf2 {
  background: var(--bottombar-bg);
  height: 25px;
  border-top: 1px solid var(--bottombar-border);
  color: rgb(225, 228, 232);
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  position: fixed;
  bottom: 0;
  z-index: 999;
  width: 100%;
}

.Bottombar_bottomBar__smAf2 a {
  color: white;
  text-decoration: none;
}

.Bottombar_icon__Se3wv {
  margin-right: 4px;
}

.Bottombar_container__Hczav {
  display: flex;
  align-items: center;
}

.Bottombar_section__zjKI_ {
  display: flex;
  margin-right: 0.5rem;
  height: 24px;
  align-items: center;
  padding: 0 0.2rem;
  cursor: pointer;
  font-family: "Lora", serif;
  ;
}

.Bottombar_section__zjKI_:hover {
  background: #1c75c9;
  border-radius: 5px;
}

@media screen and (max-width: 600px) {
  .Bottombar_bottomBar__smAf2 {
    font-size: 0.6rem;
  }

  .Bottombar_section__zjKI_ {
    margin-right: 0.5rem;
  }
}
.Tab_tab__aM_ak {
  padding: 0.5rem 1.25rem;
  background: var(--tab-bg);
  color: #ececec;
  display: flex;
  align-items: center;
  border: 1px solid var(--tab-border);
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
}

.Tab_tab__aM_ak p {
  margin-left: 5px;
  color: white;
}

.Tab_tab__aM_ak:hover {
  background: var(--tab-hover);
}

.Tab_active__CG07i {
  border-top: 1px solid var(--accent-color);
  background: var(--tab-active-bg);
  border-bottom: none;
}
.Tabsbar_tabs__FIajW {
  display: flex;
  background: var(--tabs-bg);
  overflow-x: auto;
  position: relative;
  z-index: 200;
}

@media screen and (max-width: 900px) {
  .Tabsbar_tabs__FIajW {
    width: 78vw;
  }
}

@media screen and (max-width: 600px) {
  .Tabsbar_tabs__FIajW {
    width: 89.5vw;
  }
}
.VscodeLogo_VsCodeContainer__iISv3 {
    margin: auto;
}

.VscodeLogo_vscodeLogo__6M7UG {
    fill: #0157c7 !important;
    margin-bottom: 5rem;
}

@media screen and (max-width: 600px) {
    .VscodeLogo_vscodeLogo__6M7UG {
        margin-bottom: 7rem;
    }
}
.TerminalChat_terminal__ANyQ7 {
    position: fixed;
    bottom: 25px;
    left: 0;
    width: 100%;
    height: 50vh;
    background-color: var(--main-bg);
    overflow-y: auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    color: white;
    border-top: 2px solid #a0a0a0;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    font-family: "Lora", serif;
    ;
    z-index: 999;
}

.TerminalChat_terminal__ANyQ7.TerminalChat_open__ofudI {
    transform: translateY(0);
}

.TerminalChat_header__IVjLm {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(30, 30, 40, 0.9);
    border-radius: 12px 12px 0 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    font-size: 16px;
    font-weight: bold;
}

.TerminalChat_header__IVjLm button {
    background: transparent;
    border: none;
    color: #ff4f4f;
    cursor: pointer;
    font-size: 10px;
    margin-right: 0.8rem;
    transition: transform 0.2s ease;
}

.TerminalChat_header__IVjLm button:hover {
    transform: scale(1.1);
}

.TerminalChat_messages__2wyOy {
    flex: 1 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-user-select: text;
       -moz-user-select: text;
            user-select: text;
    padding: 10px;
    font-size: 18px;
    line-height: 1.9;
    padding: 1rem 1rem 0rem 1rem;
    scrollbar-width: 10px;
    scrollbar-color: var(--accent-color);
}

.TerminalChat_messages__2wyOy::-webkit-scrollbar {
    width: 5px;
}

.TerminalChat_messages__2wyOy::-webkit-scrollbar-track {
    background: var(--scrollbar-track-bg);
    border-left: 1px solid #1e1f29;
}

.TerminalChat_messages__2wyOy::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb-bg);
    border-left: 1px solid #1e1f29;
}




.TerminalChat_userInput__pVeoG {
    color: var(--terminal-user);
    font-weight: bold;
}

.TerminalChat_userText__Szr9F,
.TerminalChat_bot__wemwX {
    color: white;
    -webkit-user-select: text;
       -moz-user-select: text;
            user-select: text;
}

.TerminalChat_bot__wemwX {
    margin-top: 0.3rem;
    margin-bottom: 1.2rem;
}

.TerminalChat_inputContainer__tklFa {
    background: rgba(30, 30, 40, 0.95);
    display: flex;
    align-items: center;
    border-radius: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    padding: 0.7rem 1rem;
    gap: 0.5rem;
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
    min-width: 0;
}


.TerminalChat_terminalPrompt__bdUct {
    color: rgb(0, 140, 255);
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.TerminalChat_input__a82C1 {
    flex: 1 1;
    background: transparent;
    color: #fff;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 1.1rem;
    padding: 0.6rem 0.8rem;
    border-radius: 1.2rem;
    transition: background 0.2s;
    min-width: 0;
}

.TerminalChat_input__a82C1:focus {
    background: rgba(255, 255, 255, 0.07);
}


.TerminalChat_bold__zzqBq {
    font-weight: bold;
}

.TerminalChat_italic__sc3NM {
    font-style: italic;
}

.TerminalChat_link__N81bO {
    color: rgb(102, 125, 255);
    text-decoration: underline;
    pointer-events: auto;
    cursor: pointer;
}

.TerminalChat_demo__9Onjd {
    color: #00ff00;
    font-weight: bold;
}

.TerminalChat_sourceCode__FQomM {
    color: #ffff00;
    font-weight: bold;
}

.TerminalChat_rootNames__KfmVo {
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}



.TerminalChat_scrollButton__G7j1n {
    position: fixed;
    bottom: 90px;
    right: 50%;
    background-color: rgba(26, 26, 26, 0.938);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.TerminalChat_scrollButton__G7j1n:hover {
    opacity: 1;
}




.TerminalChat_loader__PVnK7 {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0.5rem;
}

.TerminalChat_loader__PVnK7 hr {
    border-radius: 4px;
    border: none;
    background-color: #f6f7f8;
    background: linear-gradient(to right, #9ed7ff, #ffffff, #9ed7ff);
    background-size: 800px 50px;
    height: 20px;
    animation: TerminalChat_loader__PVnK7 3s infinite linear;
}

.TerminalChat_sendButton__ZHcCC {
    background: linear-gradient(135deg, var(--bottombar-bg, #23233b) 0%, var(--bottombar-bg, #23233b) 100%);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 21%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-left: 0.5rem;
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.18);
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    position: relative;
    outline: none;
    cursor: pointer;
}

.TerminalChat_sendButton__ZHcCC:hover,
.TerminalChat_sendButton__ZHcCC:focus {
    background: linear-gradient(135deg, #3b82f6 0%, var(--bottombar-bg, #23233b) 100%);
    transform: scale(1.01);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.28);
}

.TerminalChat_loaderButton__KAekm {
    background: linear-gradient(135deg, var(--bottombar-bg, #23233b) 0%, #3b82f6 100%);
    color: #fff;
    border: none;
    padding: 0.7rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-left: 0.5rem;
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.18);
    position: relative;
    outline: none;
}

.TerminalChat_loaderIconSpin__S_u_G {
    animation: TerminalChat_spin__2J1yU 1s linear infinite;
}

@keyframes TerminalChat_spin__2J1yU {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.TerminalChat_SubmitBtnloader__69LmC {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid #ff0000;
    border-right: 2px solid #0066ff;
    border-bottom: 2px solid #00a2ff;
    border-left: 2px solid #9900ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #0066ff;
    animation: TerminalChat_spin__2J1yU 1s linear infinite;
}


.TerminalChat_linkContainer__CxM98 {
    display: flex;
    flex-direction: column;
    /* Stack items vertically */
    margin-top: 5px;
    /* Add some space above the links */
    margin-bottom: 5px;
    /* Add some space below the links */
}

.TerminalChat_demo__9Onjd,
.TerminalChat_sourceCode__FQomM {
    display: block;
    /* Ensure each label is on a new line */
    font-weight: bold;
    margin-bottom: 5px;
    /* Space between label and link */
}

.TerminalChat_demoLink__mjFq9,
.TerminalChat_sourceCodeLink__pzt_X {
    display: block;
    /* Ensure link is on a new line */
    word-wrap: break-word;
    /* Prevent long URLs from overflowing */
}




/* WELCOME CONTAINER */

.TerminalChat_welcomeHeader__kKb_u {
    padding: 0rem 1rem;
    overflow-x: hidden;
}

.TerminalChat_welcomeTitle__fSpxn,
.TerminalChat_welcomeSubtitle__6MrJq {
    color: var(--text-color);
    font-weight: 500;
    line-height: 4rem;
}

.TerminalChat_welcomeTitle__fSpxn {
    width: -moz-fit-content;
    width: fit-content;
    font-size: 2rem;
    background-clip: text;
    background: linear-gradient(to right, #4285f4, #d96570);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.TerminalChat_welcomeSubtitle__6MrJq {
    font-size: 1.7rem;
    color: var(--subheading-color);
}

.TerminalChat_welcomeSuggestionList__ykd9I {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.5vh;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.TerminalChat_welcomeSuggestion__36k5Z {
    cursor: pointer;
    width: 270px;
    height: 129px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
    border-radius: 0.75rem;
    background: var(--secondary-color);
    transition: 0.2s ease;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
}

.TerminalChat_welcomeText__L3Wx8 {
    font-weight: 400;
    color: var(--text-color);
    white-space: normal;
    /* Allows text wrapping */
    word-wrap: break-word;
    max-width: 90%;
    /* Prevents overflow */
}

.TerminalChat_welcomeTextIcon__P5ybw {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.TerminalChat_welcomeSuggestion__36k5Z:hover {
    background: var(--secondary-hover-color);
}


.TerminalChat_welcomeText__L3Wx8,
.TerminalChat_welcomeIcon__D8xYn {
    font-weight: 400;
    color: var(--text-color);
}

.TerminalChat_welcomeIcon__D8xYn {
    width: 42px;
    height: 42px;
    display: flex;
    font-size: 1.3rem;
    margin-top: 2.5rem;
    align-self: flex-end;
    align-items: center;
    border-radius: 50%;
    justify-content: center;
    color: var(--text-color);
    background: var(--primary-color);
}




/* Button Styles */
.TerminalChat_instructionsButton__uJTkK {
    background-color: transparent;
    color: #fff;
    padding: 8px 16px;
    font-size: 18px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.TerminalChat_instructionsButton__uJTkK:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Popup Styles */
.TerminalChat_popup__k3zXV {
    position: absolute;
    right: 11%;
    bottom: 90px;
    background-color: rgb(0 0 0 / 90%);
    color: white;
    padding: 15px 13px;
    border-radius: 8px;
    width: 250px;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 10px 15px -3px, rgba(255, 255, 255, 0.05) 0px 4px 6px -2px;
    font-size: 14px;
    z-index: 1000;
    line-height: 1.6;
    animation: TerminalChat_anvil__5R7N8 100ms ease-out forwards;
}


.TerminalChat_popup__k3zXV p {
    margin: 10px 0;
    font-size: 15px;
}

.TerminalChat_popup__k3zXV p strong {
    color: #4caf50;
    font-weight: 700;
}

/* animation */

@keyframes TerminalChat_anvil__5R7N8 {
    0% {
        transform: scale(1) translateY(0px);
        opacity: 0;
        box-shadow: 0 0 0 rgba(241, 241, 241, 0);
    }

    1% {
        transform: scale(0.96) translateY(10px);
        opacity: 0;
        box-shadow: 0 0 0 rgba(241, 241, 241, 0);
    }

    100% {
        transform: scale(1) translateY(0px);
        opacity: 1;
        box-shadow: 0 0 500px rgba(241, 241, 241, 0);
    }
}

.TerminalChat_popup-content__ZJhsg {
    -webkit-animation: TerminalChat_anvil__5R7N8 0.3s cubic-bezier(0.38, 0.1, 0.36, 0.9) forwards;
}





/* Responsive media query code for small screen */
@media (max-width: 768px) {

    .TerminalChat_welcomeTitle__fSpxn,
    .TerminalChat_welcomeSubtitle__6MrJq {
        font-size: 2rem;
        line-height: 2.6rem;
    }

    .TerminalChat_welcomeSubtitle__6MrJq {
        font-size: 1.7rem;
    }

    .TerminalChat_inputContainer__tklFa {
        margin: 0;
        width: 100%;
        border-radius: 0;
    }
}

@keyframes TerminalChat_spin__2J1yU {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@keyframes TerminalChat_loader__PVnK7 {
    0% {
        background-position: -800px 0px;
    }

    100% {
        background-position: 800px 0px;
    }
}

/* DESKTOP */
@media screen and (min-width: 901px) {
    .TerminalChat_inputContainer__tklFa {
        position: fixed;
        bottom: 1rem;
        border-radius: 10rem;
        padding: 0.5rem 2rem;
        width: 80%;
    }


    .TerminalChat_MessageInputContainer__wNAIW {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .TerminalChat_messages__2wyOy {
        padding: 1rem 12rem 6rem 12rem;
    }

    .TerminalChat_instructionsButton__uJTkK {
        right: 56px;
    }
}



/* Mobile */
@media screen and (max-width: 900px) {
    .TerminalChat_messages__2wyOy {
        font-size: 14px;
        padding: 1rem 1rem 0rem 0.8rem;
    }


    .TerminalChat_scrollButton__G7j1n {
        right: 46%;
    }

    .TerminalChat_terminalPrompt__bdUct {
        font-size: 14px;
    }

    .TerminalChat_input__a82C1 {
        font-size: 15px;
    }

    .TerminalChat_sendButton__ZHcCC {
        padding: 8px 20px;
    }

    .TerminalChat_loaderButton__KAekm {
        padding: 8px 20px;
    }

    .TerminalChat_terminalPrompt__bdUct {
        display: none;
    }

    .TerminalChat_inputContainer__tklFa {
        padding: 15px 10px;
    }

    /* WELCOME HEADER */

    .TerminalChat_welcomeSuggestion__36k5Z {
        margin-top: 3.5vh;
        height: 115px;
        width: 220px;
    }

    .TerminalChat_welcomeHeader__kKb_u {
        padding: 2rem 0.5rem;
    }


}


.TerminalChat_voiceModal__tHyS4,
.TerminalChat_voiceModalContent__R_KdN,
.TerminalChat_voiceTitle__AHMRC,
.TerminalChat_voiceSubtitle__x1laW,
.TerminalChat_closeVoiceButton__kEUDE {
    display: none;
}






/* Mic Button */
.TerminalChat_micButton__s8CRU {
    background: linear-gradient(135deg, var(--bottombar-bg, #23233b) 0%, var(--bottombar-bg, #23233b) 100%);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    margin-left: 0.5rem;
    border-radius: 21%;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.10);
    transition: background 0.2s, color 0.2s, transform 0.1s, box-shadow 0.2s;
    outline: none;
    cursor: pointer;
    position: relative;
}

.TerminalChat_micButton__s8CRU:hover,
.TerminalChat_micButton__s8CRU:focus {
    background: linear-gradient(135deg, #3b82f6 0%, var(--bottombar-bg, #23233b) 100%);
    transform: scale(1.01);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.28);
}

.TerminalChat_activeMic__Ux7oZ {
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    animation: TerminalChat_micPulse__mutYg 1.2s infinite;
    border: 2px solid #60a5fa;
}

@keyframes TerminalChat_micPulse__mutYg {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}










/* Gemini/Chatbot Style Send Button */
.TerminalChat_geminiSendButton__TLNgR {
    background: #ffffff;
    border: 1px solid rgba(30, 30, 40, 0.95);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0.35rem;
    margin-left: 0.5rem;
    transition: transform 0.1s;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.TerminalChat_MicIcon__2OLFu {
    border-radius: 50%;
    cursor: pointer;
}

.TerminalChat_MicIcon__2OLFu:hover {
    color: #6e00ff;
}

.TerminalChat_geminiSendButton__TLNgR:hover,
.TerminalChat_geminiSendButton__TLNgR:focus {
    background: #ffffff;
    transform: scale(1.07);
}

.TerminalChat_geminiSendIconBg__xi4vV {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gemini/Chatbot Style Mic Button */
.TerminalChat_geminiMicButton__SUVuV {
    background: #ffffff;
    border: 1px solid rgba(30, 30, 40, 0.95);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0.35rem;
    margin-left: 0.5rem;
    transition: transform 0.1s;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.TerminalChat_geminiMicButton__SUVuV:hover,
.TerminalChat_geminiMicButton__SUVuV:focus {
    border-color: #60a5fa;
    transform: scale(1.07);
}

.TerminalChat_geminiMicIconBg__MQY2Y {
    background-color: #ffffff;
    border-radius: 50%;
    padding: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.TerminalChat_activeGeminiMic__QJsU9 {
    border-color: #60a5fa;
    animation: TerminalChat_micPulseMinimal__R6sI0 1.2s infinite;
}

@keyframes TerminalChat_micPulseMinimal__R6sI0 {
    0% {
        box-shadow: 0 0 0 0 #60a5fa33;
    }

    70% {
        box-shadow: 0 0 0 8px #60a5fa00;
    }

    100% {
        box-shadow: 0 0 0 0 #60a5fa33;
    }
}

/* Gemini/Chatbot Loader Button */
.TerminalChat_geminiLoaderButton__mnPYq {
    border: 1.5px solid #44454f;
    border-radius: 50%;
    padding: 0;
    width: 36px;
    height: 36px;
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    flex-shrink: 0;
}

.TerminalChat_geminiLoaderCircle__2ipul {
    background: transparent;
    border-radius: 50%;
    padding: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.TerminalChat_loaderIconSpin__S_u_G {
    animation: TerminalChat_spin__2J1yU 1s linear infinite;
}

@keyframes TerminalChat_spin__2J1yU {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Voice Modal Styles */
.TerminalChat_voiceModal__tHyS4 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(farthest-side, #182158 0%, #030414 100%) no-repeat fixed 0 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: TerminalChat_voiceModalOpen__79nKf 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transform-origin: bottom right;
}

@keyframes TerminalChat_voiceModalOpen__79nKf {
    0% {
        transform: scale(0) translate(50%, 50%);
        opacity: 0;
        border-radius: 50%;
    }

    50% {
        opacity: 0.8;
        border-radius: 25%;
    }

    100% {
        transform: scale(1) translate(0, 0);
        opacity: 1;
        border-radius: 0;
    }
}

.TerminalChat_voiceCanvas__2IZ0O {
    flex: 1 1;
    height: 42px;
    border-radius: 1.2rem;
    min-width: 0;
}

@keyframes TerminalChat_canvasFadeIn__ogLwS {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.TerminalChat_voiceModalContent__R_KdN {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1001;
    pointer-events: none;
}

.TerminalChat_voiceTitle__AHMRC {
    font-size: 3rem;
    font-weight: 300;
    margin: 0 0 1rem 0;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: TerminalChat_gradientShift__9kqgl 3s ease-in-out infinite;
}

.TerminalChat_voiceSubtitle__x1laW {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0;
    opacity: 0.8;
    animation: TerminalChat_pulse__LqhPw 2s ease-in-out infinite;
}

@keyframes TerminalChat_gradientShift__9kqgl {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes TerminalChat_pulse__LqhPw {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 0.4;
    }
}

.TerminalChat_closeVoiceButton__kEUDE {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}

.TerminalChat_closeVoiceButton__kEUDE:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.TerminalChat_voiceControls__IM7RQ {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.TerminalChat_voiceStatus__ImlVs {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 0.5rem;
    animation: TerminalChat_voicePulse__sRfOz 2s ease-in-out infinite;
}

@keyframes TerminalChat_voicePulse__sRfOz {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Responsive: slightly smaller buttons on mobile */
@media (max-width: 600px) {

    .TerminalChat_geminiSendButton__TLNgR,
    .TerminalChat_geminiMicButton__SUVuV,
    .TerminalChat_geminiLoaderButton__mnPYq {
        padding: 0.35rem;
        margin-left: 0.3rem;
    }


    /* Voice Input Container Styles */
    .TerminalChat_voiceInputContainer__h35Dm {
        background: rgba(30, 30, 40, 0.95);
        border-radius: 2rem;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
        padding: 1rem 1.5rem;
        position: relative;
        margin: 0 auto;
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        min-height: 120px;
    }

    .TerminalChat_voiceInputWrapper__K_6wT {
        flex: 1 1;
        display: flex;
        align-items: center;
        position: relative;
        background: transparent;
        border-radius: 1.2rem;
        padding: 0.6rem 0.8rem;
        transition: background 0.2s;
    }

    .TerminalChat_voiceInputWrapper__K_6wT:hover,
    .TerminalChat_voiceInputWrapper__K_6wT:focus-within {
        background: rgba(255, 255, 255, 0.07);
    }

    .TerminalChat_voiceCanvas__2IZ0O {
        width: 100%;
        height: 120px;
        border-radius: 1rem;
    }

    .TerminalChat_voiceControls__IM7RQ {
        position: absolute;
        right: 0.8rem;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .TerminalChat_voiceStatus__ImlVs {
        color: #ffffff;
        font-size: 1.1rem;
        font-weight: 500;
        animation: TerminalChat_voicePulse__sRfOz 2s ease-in-out infinite;
    }

    @keyframes TerminalChat_voicePulse__sRfOz {

        0%,
        100% {
            opacity: 1;
        }

        50% {
            opacity: 0.6;
        }
    }

    .TerminalChat_voiceCloseButton__tmk_f {
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        -webkit-backdrop-filter: blur(10px);
                backdrop-filter: blur(10px);
    }

    .TerminalChat_voiceCloseButton__tmk_f:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
        transform: scale(1.1);
    }

    /* Desktop Voice Input */
    @media screen and (min-width: 901px) {
        .TerminalChat_voiceInputContainer__h35Dm {
            position: fixed;
            bottom: 1rem;
            border-radius: 2rem;
            padding: 0.5rem 2rem;
            width: 80%;
        }
    }

    /* Mobile Voice Input */
    @media screen and (max-width: 900px) {
        .TerminalChat_voiceInputContainer__h35Dm {
            margin: 0;
            width: 100%;
            border-radius: 0;
            padding: 0.5rem;
        }

        .TerminalChat_voiceCanvas__2IZ0O {
            height: 20px;
            /* Slightly smaller for mobile */
        }

        .TerminalChat_voiceStatus__ImlVs {
            font-size: 1rem;
        }

        .TerminalChat_voiceCloseButton__tmk_f {
            width: 35px;
            height: 35px;
        }
    }

    .TerminalChat_voiceTitle__AHMRC {
        font-size: 2rem;
    }

    .TerminalChat_voiceSubtitle__x1laW {
        font-size: 1.2rem;
    }

    .TerminalChat_closeVoiceButton__kEUDE {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: 1rem;
        right: 1rem;
    }
}
