/* DARK MODE IMAGE VIEWER */

/* Page BG (blends with Tailwind .bg-neutral-950) */
body {
  background-color: #18181b;
  margin: 0;
  padding: 0;
}

/* Image Container */
.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: transparent;
  margin: 1rem auto;
  padding: 0.25rem;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 18px -3px #0008, 0 4px 6px -2px #0004;
}
.image-container:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 18px 32px -5px #000c, 0 10px 10px -5px #0006;
}

/* Responsive image */
.image-container img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.75rem;
  display: block;
}

/* Metadata Panel */
.metadata-container {
  background-color: #23232b;
  backdrop-filter: blur(5px);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px #0006, 0 4px 6px -2px #0004;
  width: 100%;
  border: 1px solid #252535;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .image-container {
    max-width: 95vw;
    max-height: 60vh;
    padding: 0.5rem;
    margin-bottom: 0.75rem;
  }
  .metadata-container {
    padding: 1rem;
  }
}
@media (max-width: 768px) {
  main .flex {
    flex-direction: column;
  }
}
