/* ==============================
   ARKANOID-STYLE ULTRA MINIMAL 80085
   ============================== */

/* Top-level app container fix */
.app.svelte-1170pvd.svelte-1170pvd {
  margin: 0 !important;
  padding: 0 !important;
}

/* Root container */
#col_container {
  display: flex !important;
  flex-direction: column !important;
  height: 100vh !important;
  width: 100vw !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  background-color: #000 !important; /* pitch black */
  color: #39ff14 !important; /* neon green */
  font-family: 'Consolas', monospace !important;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  user-select: text !important;
  box-sizing: border-box !important;
}

/* Header bar */
#component-7 {
  display: flex !important;
  order: 1 !important;
  flex: 0 0 36px !important; /* slimmer */
  justify-content: center !important;
  align-items: center !important;
  background-color: #050505 !important;
  border-bottom: 1px solid #39ff14 !important;
  padding: 0 8px !important;
  text-transform: uppercase !important;
  color: #39ff14 !important;
  font-weight: 900 !important;
  letter-spacing: 0.15em !important;
  font-size: 1rem !important;
  user-select: none !important;
}

/* Run button */
#component-9 {
  display: inline-flex !important;
  background-color: #000 !important;
  border: 1.5px solid #39ff14 !important; /* thinner border */
  border-radius: 0 !important;
  color: #39ff14 !important;
  padding: 5px 20px !important; /* tighter padding */
  font-weight: 700 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  user-select: none !important;
  font-family: 'Consolas', monospace !important;
  font-size: 1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  transition: none !important;
  box-shadow: none !important;
}
#component-9:hover:enabled {
  background-color: #39ff14 !important;
  color: #000 !important;
  border-color: #39ff14 !important;
}
#component-9:active:enabled {
  background-color: #275e0a !important;
  color: #000 !important;
}

/* Form container */
.form.svelte-633qhp {
  order: 2 !important;
  padding: 0 8px !important;
  z-index: 10;
}

/* Textarea */
textarea.scroll-hide.svelte-173056l {
  max-height: 44vh !important;
  background-color: #000 !important;
  border: 1.5px solid #39ff14 !important; /* thinner border */
  border-radius: 0 !important;
  color: #39ff14 !important;
  font-family: 'Consolas', monospace !important;
  font-size: 1.1rem !important;
  padding: 8px 12px !important; /* tight padding */
  resize: vertical !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
  outline: none !important;
  user-select: text !important;
  caret-color: #39ff14 !important;
  transition: none !important; /* no shadows */
}
textarea.scroll-hide.svelte-173056l:focus {
  border-color: #6eff44 !important;
}

/* Chat container */
#chatbot {
  display: flex !important;
  order: 3 !important;
  flex: 1 1 auto !important;
  flex-direction: column-reverse !important;
  overflow-y: auto !important;
  padding: 8px !important; /* compact padding */
  background-color: #000 !important;
  color: #39ff14 !important;
  font-family: 'Consolas', monospace !important;
  font-size: 1.13rem !important;
  font-weight: 700;
  line-height: 1.3;
  box-sizing: border-box !important;
  user-select: text !important;
  scrollbar-width: thin !important;
  scrollbar-color: #39ff14 #000 !important;
}

/* Message bubbles */
/* User bubble */
.message-row.bubble.user-row {
  background-color: transparent !important;
  color: #39ff14 !important;
  align-self: flex-start !important;
  border-bottom: 1.5px solid #39ff14 !important; /* thinner border */
  margin: 4px 0 !important;
  padding: 6px 12px !important; /* tighter padding */
  max-width: 78vw !important;
  word-wrap: break-word !important;
  box-sizing: border-box !important;
  font-weight: 800;
  cursor: text !important;
  user-select: text !important;
  white-space: pre-wrap;
  font-family: 'Consolas', monospace !important;
  letter-spacing: 0.03em;
  transition: none !important;
}

/* Bot bubble */
.message-row.bubble.bot-row {
  background-color: transparent !important;
  color: #6eff6a !important;
  align-self: flex-end !important;
  border-bottom: 1.5px solid #6eff6a !important; /* thin border */
  margin: 4px 0 !important;
  padding: 6px 14px !important; /* tight padding */
  max-width: 78vw !important;
  word-wrap: break-word !important;
  box-sizing: border-box !important;
  font-weight: 700;
  cursor: text !important;
  user-select: text !important;
  white-space: pre-wrap;
  font-family: 'Consolas', monospace !important;
  letter-spacing: 0.025em;
}

/* Scrollbar */
#chatbot::-webkit-scrollbar {
  width: 4px !important;
  height: 4px !important;
}
#chatbot::-webkit-scrollbar-track {
  background: #000 !important;
  border-radius: 0 !important;
}
#chatbot::-webkit-scrollbar-thumb {
  background-color: #39ff14 !important;
  border: none !important;
  border-radius: 0 !important;
}
#chatbot::-webkit-scrollbar-thumb:hover {
  background-color: #6eff44 !important;
}

/* Text selection */
::selection {
  background: #39ff1444 !important;
  color: #000 !important;
  text-shadow: none !important;
  user-select: text !important;
}
::-moz-selection {
  background: #39ff1444 !important;
  color: #000 !important;
  text-shadow: none !important;
  user-select: text !important;
}

/* Focus outlines */
*:focus-visible {
  outline: 1.5px solid #39ff14 !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

/* Remove all transitions */
#col_container,
#component-7,
#component-9,
textarea.scroll-hide.svelte-173056l,
.message-row.bubble.user-row,
.message-row.bubble.bot-row {
  transition: none !important;
}