/* Before/After Image Hover Effect for Gallery */

/* Image preview group for dashboard modal */
.image-preview-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.image-preview-group .image-preview {
  margin: 0;
}

.image-preview-group .image-preview p {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.image-preview {
  text-align: center;
  margin: 1rem 0;
}

.image-preview img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .image-preview-group {
    grid-template-columns: 1fr;
  }
}

/* Gallery badge and category styles */
.gallery-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--secondary-color);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 4;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.gallery-category {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.gallery-image-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

/* Management item image styles */
.gallery-management-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.gallery-management-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
