/* Stylish image gallery for registration steps */

/* Container for multiple images */
.step-image-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

/* Individual image styling */
.step-image {
  background-color: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.step-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Image container */
.registration-screenshot {
  display: block;
  width: 100%;
  object-fit: contain;
  background-color: #ffffff;
  max-height: 300px;
  min-height: 200px;
  padding: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Image caption styling */
.image-caption {
  padding: 12px 15px;
  text-align: center;
  color: #555;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
  background-color: #ffffff;
  border-top: 1px solid #f1f1f1;
}

/* Single image in a step (like in step 2) */
.step-description > .step-image {
  max-width: 650px;
  margin: 2rem auto 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .step-image-container {
    grid-template-columns: 1fr;
  }
  
  .registration-screenshot {
    max-height: 250px;
    min-height: 150px;
  }
}

/* Animation when images load */
.registration-screenshot {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.registration-screenshot.loaded {
  opacity: 1;
}
