/* Component test page styles */
.test-section {
  margin-bottom: 40px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.test-section h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.demo {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.demo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 150px;
}

.demo-item label {
  font-weight: 500;
  color: #555;
  font-size: 0.9rem;
}

.demo-output {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}

.demo-output h4 {
  color: #333;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.event-log {
  background: #f1f3f4;
  border-radius: 4px;
  padding: 15px;
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 0.9rem;
  color: #333;
  max-height: 200px;
  overflow-y: auto;
  white-space: pre-wrap;
}

.controls {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.info-box {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
  padding: 15px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 20px;
}

.info-box h4 {
  color: #1976d2;
  margin-bottom: 5px;
}

.info-box p {
  color: #555;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .demo {
    flex-direction: column;
    align-items: stretch;
  }
}
