/* ========================================
   Mouse Test Module Styles — Large Mouse
   ======================================== */

.mouse-test-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}

.mouse-visual-area {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
  position: relative;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
}

/* SVG Mouse — much larger */
.mouse-svg { width: 280px; height: 480px; }
.mouse-body-fill { fill: var(--bg-card); stroke: var(--border-light); stroke-width: 2; }
.mouse-btn { fill: var(--bg-card); stroke: var(--border-color); stroke-width: 1.5; cursor: pointer; transition: fill 0.08s ease; }
.mouse-btn.active { fill: var(--accent-blue); stroke: var(--accent-blue); }
.mouse-btn.tested { fill: rgba(16, 185, 129, 0.2); stroke: var(--accent-green); }
.mouse-wheel { fill: var(--bg-surface); stroke: var(--border-light); stroke-width: 1.5; }
.mouse-wheel.scroll-up { fill: rgba(6, 182, 212, 0.3); stroke: var(--accent-cyan); }
.mouse-wheel.scroll-down { fill: rgba(245, 158, 11, 0.3); stroke: var(--accent-orange); }
.mouse-divider { stroke: var(--border-color); stroke-width: 1; }
.mouse-label { fill: var(--text-muted); font-family: var(--font-mono); font-size: 13px; text-anchor: middle; pointer-events: none; font-weight: 500; }
.mouse-side-btn { fill: var(--bg-card); stroke: var(--border-color); stroke-width: 1.5; }
.mouse-side-btn.active { fill: var(--accent-blue); stroke: var(--accent-blue); }
.mouse-side-btn.tested { fill: rgba(16, 185, 129, 0.2); stroke: var(--accent-green); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.scroll-arrow {
  font-size: 1.8rem;
  transition: color 0.15s ease, transform 0.15s ease;
}
.scroll-arrow.active-up { color: var(--accent-cyan); transform: translateY(-5px); }
.scroll-arrow.active-down { color: var(--accent-orange); transform: translateY(5px); }

/* Stats panel */
.mouse-stats-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mouse-stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.mouse-stat-card .stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  font-family: var(--font-mono);
}
.mouse-stat-card .stat-value {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

/* Double click test area */
.dblclick-area {
  padding: 32px;
  text-align: center;
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-lg);
  margin-top: 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--bg-surface);
}
.dblclick-area:hover { border-color: var(--accent-blue); }
.dblclick-area h4 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 8px; }
.dblclick-area .dbl-result { font-family: var(--font-mono); font-size: 1.5rem; color: var(--accent-cyan); font-weight: 700; }

@media (max-width: 768px) {
  .mouse-test-layout { grid-template-columns: 1fr; }
  .mouse-visual-area { min-height: 440px; }
  .mouse-svg { width: 220px; height: 380px; }
  .scroll-indicator { right: 20px; }
}
