/* Gaze Tracking Styles */
.gaze-tracker {
  position: relative;
  display: block;
  margin: 0 auto;
  width: fit-content;
  text-align: center;
}

.gaze-tracker img {
  transition: opacity 0.05s ease-out;
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: cover;
}

/* Override default personal image hover effects */
.gaze-tracker img.personal:hover {
  transform: none !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
}

/* Toggle button styles */
.gaze-toggle-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #ddd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.gaze-toggle-btn:hover {
  background: rgba(255, 255, 255, 1);
  border-color: #999;
  transform: scale(1.05);
}

.gaze-toggle-btn.active {
  background: rgba(59, 130, 246, 0.9);
  border-color: rgba(59, 130, 246, 1);
  color: white;
}

.gaze-toggle-btn.active:hover {
  background: rgba(59, 130, 246, 1);
}

.gaze-toggle-btn svg {
  display: block;
}

/* Show cursor on touch devices */
@media (hover: none) {
  .gaze-toggle-btn {
    width: 36px;
    height: 36px;
  }
}
