:root {
  --bg-primary: #18181b;
  --bg-secondary: #27272a;
  --bg-tertiary: #3f3f46;
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  --accent-primary: #0284c7;
  --accent-hover: #0369a1;
  --accent-success: #16a34a;
  --accent-danger: #dc2626;
  --accent-warning: #d97706;
  --border-color: #3f3f46;
  --canvas-bg: #353b48;
  --canvas-dot: #525b6e;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header & Toolbar */
header {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  row-gap: 6px;
  flex-shrink: 0;
  z-index: 50;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  row-gap: 6px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.logo-icon {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #0284c7, #06b6d4);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 13px;
  color: white;
}

.logo-title {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.logo-tag {
  font-size: 9.5px;
  background-color: #0284c733;
  color: #38bdf8;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 600;
  white-space: nowrap;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  row-gap: 5px;
}

.btn {
  background-color: var(--bg-tertiary);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn svg {
  width: 12px;
  height: 12px;
}

.btn:hover {
  background-color: #52525b;
}

.btn-primary {
  background-color: var(--accent-success);
  border-color: #15803d;
  color: white;
}

.btn-primary:hover {
  background-color: #15803d;
}

.btn-danger {
  background-color: var(--accent-danger);
  border-color: #b91c1c;
  color: white;
}

.btn-danger:hover {
  background-color: #b91c1c;
}

.btn-blue {
  background-color: var(--accent-primary);
  border-color: #0369a1;
  color: white;
}

.btn-blue:hover {
  background-color: #0369a1;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

select.dropdown {
  background-color: var(--bg-tertiary);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 3px 6px;
  border-radius: 5px;
  font-size: 11.5px;
  outline: none;
  cursor: pointer;
}

.wire-color-picker {
  display: flex;
  align-items: center;
  gap: 3px;
  background-color: var(--bg-tertiary);
  padding: 3px 6px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
}

.color-option {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.1s ease;
}

.color-option:hover {
  transform: scale(1.2);
}

.color-option.selected {
  border-color: white;
  box-shadow: 0 0 0 1px black;
}

/* Main Layout Split */
.main-container {
  display: flex;
  flex: 1;
  min-height: 0;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Left Pane: Code & Serial */
.left-pane {
  width: 45%;
  min-width: 260px;
  max-width: calc(100% - 260px);
  background-color: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

/* Resizer Gutter between Left and Right Panes */
.pane-resizer {
  width: 8px;
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  cursor: col-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 45;
  user-select: none;
  touch-action: none;
  flex-shrink: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.pane-resizer:hover,
.pane-resizer.dragging {
  background-color: #0284c7;
  border-color: #38bdf8;
}

.pane-resizer-handle {
  width: 3px;
  height: 36px;
  border-radius: 2px;
  background-color: #71717a;
  transition: background-color 0.15s ease, height 0.15s ease;
}

.pane-resizer:hover .pane-resizer-handle,
.pane-resizer.dragging .pane-resizer-handle {
  background-color: #ffffff;
  height: 52px;
}

.tab-bar {
  display: flex;
  background-color: #1f1f23;
  border-bottom: 1px solid var(--border-color);
}

.tab-btn {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab-btn.active {
  color: var(--text-main);
  border-bottom-color: var(--accent-primary);
  background-color: var(--bg-secondary);
}

.editor-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.CodeMirror {
  flex: 1;
  height: 100% !important;
  font-family: 'Fira Code', 'Consolas', 'Courier New', monospace;
  font-size: 13.5px;
  line-height: 1.5;
  user-select: text !important;
}

.CodeMirror * {
  user-select: text !important;
}

/* Serial Monitor Panel */
.serial-pane {
  height: 180px;
  min-height: 100px;
  max-height: 350px;
  background-color: #121214;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.serial-header {
  padding: 4px 10px;
  background-color: #18181b;
  border-bottom: 1px solid #27272a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
}

.serial-output {
  flex: 1;
  padding: 8px 12px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 12.5px;
  color: #38bdf8;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
  user-select: text !important;
}

.serial-output * {
  user-select: text !important;
}

.serial-input-bar {
  display: flex;
  padding: 6px 8px;
  background-color: #18181b;
  border-top: 1px solid #27272a;
  gap: 6px;
}

.serial-input-bar input {
  flex: 1;
  background-color: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 4px;
  color: white;
  padding: 4px 8px;
  font-size: 12px;
  outline: none;
  font-family: monospace;
}

/* Right Pane: Canvas */
.right-pane {
  flex: 1;
  background-color: var(--canvas-bg);
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(var(--canvas-dot) 1px, transparent 1px);
  background-size: 20px 20px;
}

.canvas-toolbar {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(39, 39, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  padding: 6px 10px;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  z-index: 40;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.component-palette {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 210px;
  max-height: calc(100% - 24px);
  background-color: rgba(24, 24, 27, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid #3f3f46;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  z-index: 40;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: all 0.2s ease;
}

.palette-header {
  padding: 8px 12px;
  background: rgba(39, 39, 42, 0.75);
  border-bottom: 1px solid #3f3f46;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.palette-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.palette-badge {
  font-size: 9.5px;
  background: #3b82f6;
  color: white;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: bold;
}

.palette-toggle-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}

.palette-toggle-btn:hover {
  color: white;
  background: #3f3f46;
}

.palette-search {
  padding: 6px 8px;
  border-bottom: 1px solid #27272a;
  background: rgba(18, 18, 20, 0.6);
}

.palette-search input {
  width: 100%;
  background: #18181b;
  border: 1px solid #3f3f46;
  border-radius: 5px;
  color: white;
  padding: 4px 8px;
  font-size: 11px;
  outline: none;
  box-sizing: border-box;
}

.palette-search input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6;
}

.palette-body {
  padding: 6px 8px 12px 8px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.palette-section-title {
  font-size: 9.5px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  margin: 6px 0 2px 4px;
  letter-spacing: 0.4px;
}

.palette-btn {
  background-color: var(--bg-tertiary);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  text-align: left;
}

.palette-btn:hover {
  background-color: #2563eb;
  border-color: #60a5fa;
  color: white;
  transform: translateX(2px);
}

/* Custom Scrollbar for Palette Body */
.palette-body::-webkit-scrollbar {
  width: 6px;
}

.palette-body::-webkit-scrollbar-track {
  background: rgba(24, 24, 27, 0.5);
  border-radius: 4px;
}

.palette-body::-webkit-scrollbar-thumb {
  background: #52525b;
  border-radius: 4px;
}

.palette-body::-webkit-scrollbar-thumb:hover {
  background: #71717a;
}

/* DC Motor Rotation Propeller Animation */
@keyframes spin-motor {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Interactive SVG Canvas Layer (Rendered on top of board) */
#circuit-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
  pointer-events: none;
}

#circuit-canvas path,
#circuit-canvas .circuit-wire {
  pointer-events: stroke;
}

/* Component DOM Overlay Layer */
#components-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  pointer-events: none;
}

.circuit-component {
  position: absolute;
  pointer-events: auto;
  cursor: grab;
  transform-origin: top left;
  user-select: none;
}

.circuit-component:active {
  cursor: grabbing;
}

.circuit-component.selected {
  outline: 2px dashed #38bdf8;
  outline-offset: 4px;
}

/* Interactive Arduino Board Switcher Button (UNO ⇄ NANO) */
.board-switcher-btn {
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.board-switcher-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.25) drop-shadow(0 0 6px rgba(56, 189, 248, 0.7));
}

.board-switcher-btn:active {
  transform: scale(0.96);
}

/* Component Action Toolbar (Floating above selected component) */
.comp-action-toolbar {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(24, 24, 27, 0.95);
  backdrop-filter: blur(6px);
  border: 1px solid #3f3f46;
  border-radius: 6px;
  padding: 3px 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 60;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  pointer-events: auto;
  white-space: nowrap;
}

.comp-delete-btn {
  background: #dc2626;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s ease;
}
.comp-delete-btn:hover {
  background: #b91c1c;
}

.led-color-picker-mini {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 6px;
  border-right: 1px solid #3f3f46;
}

.led-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.1s ease;
}
.led-color-dot:hover {
  transform: scale(1.3);
}
.led-color-dot.active {
  border-color: #ffffff;
  box-shadow: 0 0 4px white;
}

/* Pin styles */
.pin {
  width: 10px;
  height: 10px;
  background-color: #e4e4e7;
  border: 2px solid #27272a;
  border-radius: 50%;
  position: absolute;
  cursor: crosshair;
  pointer-events: auto;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  z-index: 45;
}

/* Expanded invisible hitbox for easy clicking */
.pin::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  pointer-events: auto;
}

.pin:hover {
  transform: scale(1.7);
  background-color: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  z-index: 50;
}

.pin.connected {
  background-color: #22c55e;
}

.pin.active-connect-source {
  background-color: #eab308;
  border-color: #ffffff;
  animation: pulse-pin 0.8s infinite alternate;
  z-index: 50;
}

/* Magnetic snap target highlight */
.pin.pin-snap-target {
  transform: scale(2.2) !important;
  background-color: #38bdf8 !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 16px #38bdf8, 0 0 6px #ffffff !important;
  z-index: 55;
}

/* Gentle glow on all candidate pins during active wiring */
body.is-wiring-active .pin:not(.active-connect-source) {
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.7);
  border-color: #38bdf8;
}

@keyframes pulse-pin {
  0% { transform: scale(1.4); box-shadow: 0 0 4px #eab308; }
  100% { transform: scale(2.0); box-shadow: 0 0 14px #eab308; }
}

/* Pin Tooltip */
.pin-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 10.5px;
  pointer-events: none;
  z-index: 100;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  font-family: monospace;
}

/* Wires in SVG */
.circuit-wire {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
  cursor: pointer;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
  transition: stroke-width 0.15s ease, filter 0.15s ease;
}

.circuit-wire:hover {
  stroke-width: 6;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}

.circuit-wire.selected {
  stroke-dasharray: 6 3;
  stroke-width: 5;
  filter: drop-shadow(0 0 6px #38bdf8);
}

.circuit-wire.active-drawing {
  stroke-dasharray: 4 4;
  animation: dash 0.5s linear infinite;
  pointer-events: none;
}

@keyframes dash {
  to {
    stroke-dashoffset: -8;
  }
}

.wire-hitbox {
  pointer-events: stroke !important;
  cursor: pointer;
}

.wire-delete-btn {
  pointer-events: all !important;
  cursor: pointer !important;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.8));
}

.wire-delete-btn circle {
  transition: fill 0.15s ease, stroke 0.15s ease, stroke-width 0.15s ease, r 0.15s ease;
}

.wire-delete-btn:hover circle {
  fill: #b91c1c;
  stroke: #fef08a;
  stroke-width: 2.5;
  r: 16;
}

.wire-delete-btn text {
  transition: transform 0.15s ease;
}

#circuit-canvas .wire-delete-btn,
#circuit-canvas .wire-hitbox {
  pointer-events: all;
}

/* Notification & Status Bar */
.status-bar {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(24, 24, 27, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 50;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #71717a;
}

.status-dot.running {
  background-color: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

.status-dot.error {
  background-color: #ef4444;
  box-shadow: 0 0 6px #ef4444;
}

/* Modal / Lesson Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: #18181b;
  border: 1px solid #3f3f46;
  border-radius: 12px;
  width: 820px;
  max-width: 94vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(0,0,0,0.7);
  overflow: hidden;
}

.modal-header {
  padding: 16px 20px;
  background: #27272a;
  border-bottom: 1px solid #3f3f46;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-body {
  padding: 18px;
  overflow-y: auto;
  font-size: 13.5px;
  color: #d4d4d8;
}

.modal-footer {
  padding: 12px 20px;
  background: #202024;
  border-top: 1px solid #3f3f46;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* Lessons Catalog Grid */
.lessons-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.lesson-card {
  background: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.lesson-card:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.15);
}

.lesson-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.lesson-card-icon {
  font-size: 22px;
}

.lesson-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.3;
}

.lesson-card-badge {
  font-size: 9.5px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
  margin-bottom: 6px;
  display: inline-block;
  font-weight: 600;
}

.lesson-card-desc {
  font-size: 11.5px;
  color: #a1a1aa;
  line-height: 1.45;
  margin-bottom: 12px;
  flex-grow: 1;
}

.lesson-card-btn {
  background: #0284c7;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s ease;
}

.lesson-card-btn:hover {
  background: #0369a1;
}

/* Palette Quick Demo Buttons */
.palette-demo-btn {
  background: #27272a;
  border: 1px solid #3f3f46;
  color: #e4e4e7;
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 5px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.palette-demo-btn:hover {
  background: #38bdf8;
  color: #09090b;
  border-color: #38bdf8;
  font-weight: 600;
}

.btn-lessons-explorer {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #fff;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.btn-lessons-explorer:hover {
  background: linear-gradient(135deg, #0369a1, #1d4ed8);
}

.btn-format-code {
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(39, 39, 42, 0.85);
  border: 1px solid #3f3f46;
  color: #38bdf8;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.btn-format-code:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  color: #7dd3fc;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
  transform: translateY(-1px);
}

.btn-format-code:active {
  transform: translateY(0);
}

/* Application Bottom Footer */
.app-footer {
  background-color: #18181b;
  border-top: 1px solid var(--border-color);
  padding: 5px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
  z-index: 50;
  user-select: none;
  min-height: 26px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: #e4e4e7;
}

.footer-link {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease, text-decoration 0.15s ease;
}

.footer-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.footer-center {
  color: var(--text-muted);
  font-size: 10.5px;
  letter-spacing: 0.2px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: #94a3b8;
}

.footer-right kbd {
  background: #27272a;
  border: 1px solid #52525b;
  border-radius: 3px;
  padding: 1px 4px;
  font-size: 9.5px;
  color: #f4f4f5;
  font-family: monospace;
}

@media (max-width: 900px) {
  .footer-center {
    display: none;
  }
}

@media (max-width: 600px) {
  .footer-right {
    display: none;
  }
}

