.containerss {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  color: #2d3436;
}

.test-area {
  height: 300px;
  border: 2px dashed #6c5ce7;
  margin: 20px 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  user-select: none;
  overflow: hidden;
}

.test-area p {
  color: #2d3436;
  font-size: 18px;
}

.info-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.info-box {
  background-color: white;
  padding: 15px;
  border-radius: 5px;
  border-left: 4px solid #4a6bff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.info-box h3 {
  margin-top: 0;
  color: #4a6bff;
}

.value {
  font-size: 24px;
  font-weight: bold;
  color: #2d3436;
}

.unit {
  font-size: 14px;
  color: #2d3436;
  opacity: 0.7;
}

.click-history {
  margin-top: 20px;
}

.click-history h3 {
  color: #2d3436;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#clickLog {
  max-height: 150px;
  overflow-y: auto;
  border: 1px solid #eee;
  padding: 10px;
  background-color: white;
  font-family: monospace;
}

.log-entry {
  margin: 5px 0;
  padding: 5px;
  border-bottom: 1px dotted #eee;
}

.log-entry:last-child {
  border-bottom: none;
}

.coordinates {
  position: absolute;
  background-color: rgba(45, 52, 54, 0.9);
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  pointer-events: none;
  display: none;
}

.heatmap-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: rgba(255, 0, 0, 0.5);
  border-radius: 50%;
  pointer-events: none;
}

.chart-container {
  margin-top: 30px;
}

canvas {
  background: white;
  border-radius: 8px;
}

/* Mouse visualization */
.mouse-visual {
  width: 80px;
  height: 120px;
  position: relative;
  margin: 20px auto;
}

.mouse-body {
  width: 80px;
  height: 120px;
  background-color: #f5f6fa;
  border-radius: 40px 40px 40px 40px / 60px 60px 60px 60px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mouse-left-btn {
  position: absolute;
  width: 35px;
  height: 50px;
  top: 0;
  left: 0;
  border-radius: 40px 0 0 0;
  background-color: #6c5ce7;
}

.mouse-right-btn {
  position: absolute;
  width: 35px;
  height: 50px;
  top: 0;
  right: 0;
  border-radius: 0 40px 0 0;
  background-color: #6c5ce7;
}

.mouse-middle-btn {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50px;
  left: 30px;
  border-radius: 50%;
  background-color: #4a6bff;
}

.mouse-wheel {
  position: absolute;
  width: 10px;
  height: 30px;
  top: 45px;
  left: 35px;
  background-color: #2d3436;
  border-radius: 5px;
}

.mouse-left-btn.active,
.mouse-right-btn.active,
.mouse-middle-btn.active {
  background-color: #00b894;
  box-shadow: 0 0 10px rgba(0, 184, 148, 0.7);
}

/* Click effect */
.click-effect {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(0, 184, 148, 0.5);
  transform: scale(0);
  animation: clickAnimation 0.6s ease-out;
  pointer-events: none;
}

@keyframes clickAnimation {
  to {
    transform: scale(3);
    opacity: 0;
  }
}

.reset-btn,
.export-btn {
  background-color: #d63031;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
  margin-left: 10px;
  transition: background-color 0.2s;
}

.reset-btn:hover,
.export-btn:hover {
  background-color: #c0392b;
}

/* Scrollbar styling */
#clickLog::-webkit-scrollbar {
  width: 8px;
}

#clickLog::-webkit-scrollbar-track {
  background: #f5f6fa;
}

#clickLog::-webkit-scrollbar-thumb {
  background-color: #4a6bff;
  border-radius: 4px;
}