/* Instagram Image Selector and Frame Editor Styles */
.instagram-images-selector,
.instagram-frame-editor {
  display: grid;
  gap: 12px;
}

.ig-image-preview-container,
.ig-frame-preview-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid rgba(110, 234, 142, 0.24);
}

.ig-image-preview,
.ig-frame-preview {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ig-image-strip,
.ig-frame-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
}

.ig-image-thumb,
.ig-frame-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  padding: 0;
}

.ig-image-thumb:hover,
.ig-frame-thumb:hover {
  border-color: rgba(110, 234, 142, 0.5);
  transform: scale(1.05);
}

.ig-image-thumb.is-active,
.ig-frame-thumb.is-active {
  border-color: #6eea8e;
  box-shadow: 0 0 8px rgba(110, 234, 142, 0.3);
}

.ig-image-thumb img,
.ig-frame-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ig-frame-slider {
  display: grid;
  gap: 8px;
}

.ig-frame-slider-input {
  width: 100%;
  height: 6px;
  cursor: pointer;
}
