/* ══════════════════════════════════════════════════════════════
   X-Ray Modal & Diagnostic Station Styles
   ══════════════════════════════════════════════════════════════ */

.xray-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}
.xray-modal-overlay.hidden {
  display: none !important;
  pointer-events: none !important;
}
.xray-container {
  width: 95vw;
  max-width: 1550px;
  height: 92vh;
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 1.25rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.xray-container.is-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
  border: none !important;
  margin: 0 !important;
  z-index: 10000;
}
.xray-viewport {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, #0b1329 0%, #020617 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
}
.xray-viewport:active {
  cursor: grabbing;
}
.xray-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  pointer-events: none;
  transform-origin: center center;
  will-change: transform, filter;
  transition: filter 0.15s ease;
}
.xray-toolbar-float {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #f8fafc;
  font-size: 0.75rem;
  max-width: 96vw;
  overflow-x: auto;
}
