/* ============================================================
 * 图片查看器（灯箱）：全局单源，配 core.js 的 Core.viewImage
 * 使用方：执照照片（companies.js）、智能报账识别原图（reportit.js）
 * 独立文件，禁止并入 design.css / style.css（会被整段覆盖）
 * ============================================================ */

/* 全屏灯箱（由 JS 动态创建 <div class="img-viewer"> 挂 body） */
.img-viewer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, .85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
  animation: iv-fade .15s ease-out;
}
.img-viewer img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .45);
}
.img-viewer .iv-hint {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  color: #e2e8f0;
  font-size: 13px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
  pointer-events: none;
}
@keyframes iv-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 可点击放大的图片统一手型光标 + 悬停反馈 */
.img-zoomable {
  cursor: zoom-in;
  transition: opacity .15s;
}
.img-zoomable:hover {
  opacity: .82;
}
