/* OSI Interactive Suite - Modern Charcoal & Cyber Dark Theme Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #0a0e17;
  --bg-card: #0f172a;
  --bg-surface: #1e293b;
  --border-subtle: #334155;
  --border-dim: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --l4-color: #f59e0b;
  --l3-color: #38bdf8;
  --l2-color: #34d399;
  --l1-color: #c084fc;
  --brand-indigo: #6366f1;

  --ring-color: #6366f1;
}

/* Universal Reset & Base Elements */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Base Form & Interactive Elements Reset */
button {
  background: transparent;
  color: inherit;
  border: none;
  font: inherit;
  cursor: pointer;
  outline: none;
  text-align: inherit;
}

input, select, textarea {
  font: inherit;
  color: inherit;
  outline: none;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1em;
  padding-right: 2rem !important;
}

code, kbd, samp, pre {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Flexbox & Grid Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.flex-1 { flex: 1; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
}

/* Gap */
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Spacing: Margin */
.m-0 { margin: 0; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Spacing: Padding */
.p-1 { padding: 0.25rem; }
.p-1\.5 { padding: 0.375rem; }
.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-4 { padding-bottom: 1rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }

/* Space-y helpers */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }

/* Dimensions */
.w-full { width: 100%; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.col-span-2 { grid-column: span 2 / span 2; }

/* Display & Visibility */
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none !important; }
.overflow-x-auto { overflow-x: auto; }
.overflow-hidden { overflow: hidden; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.break-all { word-break: break-all; }
.cursor-pointer { cursor: pointer; }

/* Border Radius */
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* Border Base */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-collapse { border-collapse: collapse; }

/* Border Colors */
.border-transparent { border-color: transparent; }
.border-slate-700 { border-color: #334155; }
.border-slate-800 { border-color: #1e293b; }
.border-indigo-500 { border-color: #6366f1; }
.border-emerald-400 { border-color: #34d399; }
.border-emerald-500 { border-color: #10b981; }
.border-rose-500 { border-color: #f43f5e; }
.border-purple-500 { border-color: #a855f7; }
.border-sky-500 { border-color: #0ea5e9; }
.border-amber-500 { border-color: #f59e0b; }
.border-teal-400 { border-color: #2dd4bf; }
.border-teal-500 { border-color: #14b8a6; }

/* Border Opacity Variants */
.border-purple-500\/20 { border-color: rgba(168, 85, 247, 0.2); }
.border-purple-500\/30 { border-color: rgba(168, 85, 247, 0.3); }
.border-purple-500\/40 { border-color: rgba(168, 85, 247, 0.4); }
.border-emerald-500\/20 { border-color: rgba(16, 185, 129, 0.2); }
.border-emerald-500\/30 { border-color: rgba(16, 185, 129, 0.3); }
.border-emerald-500\/40 { border-color: rgba(16, 185, 129, 0.4); }
.border-emerald-500\/70 { border-color: rgba(16, 185, 129, 0.7); }
.border-sky-500\/20 { border-color: rgba(14, 165, 233, 0.2); }
.border-sky-500\/30 { border-color: rgba(14, 165, 233, 0.3); }
.border-sky-500\/40 { border-color: rgba(14, 165, 233, 0.4); }
.border-amber-500\/20 { border-color: rgba(245, 158, 11, 0.2); }
.border-amber-500\/30 { border-color: rgba(245, 158, 11, 0.3); }
.border-amber-500\/40 { border-color: rgba(245, 158, 11, 0.4); }
.border-indigo-500\/20 { border-color: rgba(99, 102, 241, 0.2); }
.border-indigo-500\/30 { border-color: rgba(99, 102, 241, 0.3); }
.border-indigo-500\/40 { border-color: rgba(99, 102, 241, 0.4); }
.border-rose-500\/20 { border-color: rgba(244, 63, 94, 0.2); }
.border-rose-500\/30 { border-color: rgba(244, 63, 94, 0.3); }
.border-rose-500\/40 { border-color: rgba(244, 63, 94, 0.4); }
.border-teal-500\/20 { border-color: rgba(20, 184, 166, 0.2); }
.border-teal-500\/30 { border-color: rgba(20, 184, 166, 0.3); }
.border-teal-500\/40 { border-color: rgba(20, 184, 166, 0.4); }
.border-red-500\/40 { border-color: rgba(239, 68, 68, 0.4); }

/* Background Colors */
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-900 { background-color: #0f172a; }
.bg-slate-950 { background-color: #020617; }
.bg-indigo-600 { background-color: #4f46e5; }
.bg-indigo-500 { background-color: #6366f1; }
.bg-sky-600 { background-color: #0284c7; }
.bg-emerald-600 { background-color: #059669; }
.bg-emerald-950 { background-color: #022c22; }
.bg-rose-950 { background-color: #4c0519; }
.bg-amber-950 { background-color: #451a03; }
.bg-sky-950 { background-color: #082f49; }
.bg-purple-950 { background-color: #3b0764; }
.bg-black { background-color: #000000; }

/* Background Opacity Variants */
.bg-slate-900\/60 { background-color: rgba(15, 23, 42, 0.6); }
.bg-slate-900\/80 { background-color: rgba(15, 23, 42, 0.8); }
.bg-slate-900\/90 { background-color: rgba(15, 23, 42, 0.9); }
.bg-slate-800\/60 { background-color: rgba(30, 41, 59, 0.6); }
.bg-slate-800\/80 { background-color: rgba(30, 41, 59, 0.8); }
.bg-slate-950\/40 { background-color: rgba(2, 6, 23, 0.4); }
.bg-slate-950\/60 { background-color: rgba(2, 6, 23, 0.6); }
.bg-slate-950\/70 { background-color: rgba(2, 6, 23, 0.7); }
.bg-slate-950\/80 { background-color: rgba(2, 6, 23, 0.8); }

.bg-purple-950\/20 { background-color: rgba(59, 7, 100, 0.2); }
.bg-purple-950\/40 { background-color: rgba(59, 7, 100, 0.4); }
.bg-purple-500\/10 { background-color: rgba(168, 85, 247, 0.1); }
.bg-purple-500\/20 { background-color: rgba(168, 85, 247, 0.2); }

.bg-emerald-950\/20 { background-color: rgba(2, 44, 34, 0.2); }
.bg-emerald-950\/30 { background-color: rgba(2, 44, 34, 0.3); }
.bg-emerald-950\/40 { background-color: rgba(2, 44, 34, 0.4); }
.bg-emerald-950\/50 { background-color: rgba(2, 44, 34, 0.5); }
.bg-emerald-950\/80 { background-color: rgba(2, 44, 34, 0.8); }
.bg-emerald-500\/10 { background-color: rgba(16, 185, 129, 0.1); }
.bg-emerald-500\/20 { background-color: rgba(16, 185, 129, 0.2); }

.bg-sky-950\/20 { background-color: rgba(8, 47, 73, 0.2); }
.bg-sky-950\/40 { background-color: rgba(8, 47, 73, 0.4); }
.bg-sky-500\/10 { background-color: rgba(14, 165, 233, 0.1); }
.bg-sky-500\/20 { background-color: rgba(14, 165, 233, 0.2); }

.bg-amber-950\/20 { background-color: rgba(69, 26, 3, 0.2); }
.bg-amber-950\/40 { background-color: rgba(69, 26, 3, 0.4); }
.bg-amber-500\/10 { background-color: rgba(245, 158, 11, 0.1); }
.bg-rose-950\/20 { background-color: rgba(76, 5, 25, 0.2); }
.bg-rose-950\/40 { background-color: rgba(76, 5, 25, 0.4); }
.bg-rose-950\/50 { background-color: rgba(76, 5, 25, 0.5); }
.bg-rose-500\/10 { background-color: rgba(244, 63, 94, 0.1); }
.bg-rose-500\/20 { background-color: rgba(244, 63, 94, 0.2); }
.bg-teal-950\/20 { background-color: rgba(4, 47, 46, 0.2); }
.bg-teal-950\/40 { background-color: rgba(4, 47, 46, 0.4); }
.bg-teal-500\/10 { background-color: rgba(20, 184, 166, 0.1); }
.bg-teal-500\/20 { background-color: rgba(20, 184, 166, 0.2); }
.bg-red-950\/60 { background-color: rgba(69, 10, 10, 0.6); }

.bg-indigo-950\/20 { background-color: rgba(30, 27, 75, 0.2); }
.bg-indigo-950\/40 { background-color: rgba(30, 27, 75, 0.4); }
.bg-indigo-500\/10 { background-color: rgba(99, 102, 241, 0.1); }
.bg-indigo-500\/20 { background-color: rgba(99, 102, 241, 0.2); }

/* Typography */
.font-mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.font-sans { font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* Text Colors */
.text-white { color: #ffffff; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-indigo-300 { color: #a5b4fc; }
.text-indigo-400 { color: #818cf8; }
.text-emerald-200 { color: #a7f3d0; }
.text-emerald-300 { color: #6ee7b7; }
.text-emerald-400 { color: #34d399; }
.text-sky-200 { color: #bae6fd; }
.text-sky-300 { color: #7dd3fc; }
.text-sky-400 { color: #38bdf8; }
.text-amber-200 { color: #fde68a; }
.text-amber-300 { color: #fcd34d; }
.text-amber-400 { color: #fbbf24; }
.text-rose-200 { color: #fecdd3; }
.text-rose-300 { color: #fda4af; }
.text-rose-400 { color: #fb7185; }
.text-purple-200 { color: #e9d5ff; }
.text-purple-300 { color: #d8b4fe; }
.text-purple-400 { color: #c084fc; }
.text-teal-300 { color: #5eead4; }
.text-teal-400 { color: #2dd4bf; }
.text-red-300 { color: #fca5a5; }
.text-red-400 { color: #f87171; }

/* Hover utilities */
.hover\:text-white:hover { color: #ffffff !important; }
.hover\:text-slate-200:hover { color: #e2e8f0 !important; }
.hover\:bg-slate-700:hover { background-color: #334155 !important; }
.hover\:bg-slate-700\/80:hover { background-color: rgba(51, 65, 85, 0.8) !important; }
.hover\:bg-slate-800\/60:hover { background-color: rgba(30, 41, 59, 0.6) !important; }
.hover\:bg-indigo-500:hover { background-color: #6366f1 !important; }
.hover\:bg-sky-500:hover { background-color: #0ea5e9 !important; }
.hover\:bg-emerald-500:hover { background-color: #10b981 !important; }
.hover\:border-indigo-500:hover { border-color: #6366f1 !important; }
.hover\:border-indigo-400:hover { border-color: #818cf8 !important; }
.hover\:border-emerald-300:hover { border-color: #6ee7b7 !important; }

/* Focus utilities */
.focus\:border-indigo-500:focus { border-color: #6366f1 !important; }
.focus\:border-sky-500:focus { border-color: #0ea5e9 !important; }
.focus\:border-emerald-500:focus { border-color: #10b981 !important; }

/* Box Shadows & Rings */
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.6); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8); }

.ring-2 { box-shadow: 0 0 0 2px var(--ring-color, #6366f1) !important; }
.ring-indigo-500 { --ring-color: #6366f1; }
.ring-emerald-500\/30 { --ring-color: rgba(16, 185, 129, 0.4); }

.transition { transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.duration-150 { transition-duration: 150ms; }

/* Dedicated Component Styles */

/* 1. Header Navigation Pills */
.nav-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
  border: 1px solid transparent;
  background-color: transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav-tab-btn:hover {
  color: #f1f5f9;
  background-color: rgba(30, 41, 59, 0.6);
}

.nav-tab-btn.active {
  color: #818cf8;
  background-color: rgba(30, 41, 59, 0.9);
  border-color: #6366f1;
}

/* 2. Layer Explorer Pills */
.layer-pill {
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid #334155;
  background-color: rgba(15, 23, 42, 0.7);
  color: #94a3b8;
  cursor: pointer;
}

.layer-pill:hover {
  color: #ffffff;
  border-color: #64748b;
  background-color: rgba(30, 41, 59, 0.8);
}

/* 3. Protocol Selector Buttons */
.proto-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid #334155;
  background-color: rgba(15, 23, 42, 0.7);
  color: #94a3b8;
  cursor: pointer;
}

.proto-btn:hover {
  color: #ffffff;
  border-color: #6366f1;
  background-color: rgba(30, 41, 59, 0.8);
}

/* 4. Quiz Option Buttons */
.quiz-option-btn {
  width: 100%;
  text-align: left;
  padding: 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid #1e293b;
  background-color: rgba(2, 6, 23, 0.7);
  color: #cbd5e1;
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.quiz-option-btn:hover {
  border-color: #6366f1;
  background-color: rgba(30, 41, 59, 0.6);
  color: #ffffff;
}

/* 5. Header Bitfield Cards */
.header-field-card {
  transition: all 0.15s ease;
  background-color: rgba(30, 41, 59, 0.8);
}
.header-field-card:hover {
  transform: translateY(-1px);
}

/* Interactive Terminal Styling */
.terminal-window {
  background-color: #050811;
  border: 1px solid #1e293b;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.7), 0 8px 10px -6px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.terminal-header {
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots {
  display: flex;
  gap: 0.375rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-body {
  height: 380px;
  overflow-y: auto;
  padding: 1rem;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  background: #090d1a;
  border-top: 1px solid #1e293b;
  padding: 0.5rem 1rem;
}

.terminal-input-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  margin-left: 0.5rem;
}

/* Full Frame Visualizer Styles */
.frame-segment-block {
  min-width: 95px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.frame-segment-block:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.frame-segment-block.ring-2 {
  --ring-color: #818cf8;
  box-shadow: 0 0 0 2px var(--ring-color), 0 10px 25px -5px rgba(99, 102, 241, 0.3) !important;
  transform: translateY(-2px);
}

.frame-wire-container {
  display: flex;
  overflow-x: auto;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #334155 #0f172a;
}

.frame-wire-container::-webkit-scrollbar {
  height: 6px;
}

.frame-wire-container::-webkit-scrollbar-track {
  background: #0f172a;
  border-radius: 9999px;
}

.frame-wire-container::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 9999px;
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

