/**
 * Shared UI component styles used across multiple dialogs and interfaces
 */

/* Token image hover effects - used in dialogs, token manager, etc. */
.token-image img:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Token image base styles for consistent appearance */
.token-image img {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
  object-fit: cover;
  object-position: top;
  display: block;
  margin: 0 auto;
}

/* Reusable wrapper + indicator for Foundry-hidden tokens (used across dialogs) */
.pf2e-visioner .token-img-wrapper {
  position: relative;
  display: inline-block;
}
.pf2e-visioner .token-img-wrapper .foundry-hidden-indicator {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
