/* 🌟 Custom Image Input Box */
.custom-image-input {
  position: relative;
  border: 2px dashed #4facfe;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.custom-image-input:hover {
  background: rgba(0, 242, 254, 0.05);
  border-color: #00f2fe;
}

.custom-image-input input[type="file"] {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  cursor: pointer;
}

.custom-image-input::before {
  content: '🖼️ Click or Drag & Drop to upload image(s)';
  color: #ccc;
  font-size: 14px;
}

/* 🖼️ Preview Container for Multiple Images */
.nx-image-preview .image-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

/* 🎯 Each Image Thumbnail Box */
.nx-image-preview .image-thumbnail {
  position: relative;
  width: 100px;
  height: 100px;
  border: 2px solid #4facfe;
  border-radius: 12px;
  overflow: hidden;
  background: #1e1e2f;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.nx-image-preview .image-thumbnail:hover {
  transform: scale(1.05);
}

.nx-image-preview .image-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ⭐ Fallback State or Shimmer */
.nx-image-preview .fallback-text {
  color: #aaa;
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

.nx-image-preview .shimmer {
  background: linear-gradient(90deg, #1e1e2f 25%, #2c2c3f 50%, #1e1e2f 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ❌ Remove Button */
.nx-image-preview .remove-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #e74c3c;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, transform 0.2s ease;
}

.nx-image-preview .remove-btn:hover {
  background: #c0392b;
  transform: scale(1.1);
}

/* 🖼️ Display-Only Image Wrapper (e.g. grid card) */
.nx-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #2a2a40, #1e1e2f);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nx-image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.nx-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}




/* 🌟 File Input Box */
/*.custom-file-input {*/
/*    position: relative;*/
/*    border: 2px dashed #4facfe;*/
/*    border-radius: 12px;*/
/*    padding: 30px;*/
/*    text-align: center;*/
/*    background: rgba(255, 255, 255, 0.02);*/
/*    cursor: pointer;*/
/*    transition: background 0.3s ease, border-color 0.3s ease;*/
/*}*/

/*.custom-file-input:hover {*/
/*    background: rgba(0, 242, 254, 0.05);*/
/*    border-color: #00f2fe;*/
/*}*/

/*.custom-file-input input[type="file"] {*/
/*    opacity: 0;*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    left: 0;*/
/*    top: 0;*/
/*    cursor: pointer;*/
/*}*/

/*.custom-file-input::before {*/
/*    content: '📁 Click or Drag & Drop to upload';*/
/*    color: #ccc;*/
/*    font-size: 14px;*/
/*}*/

/* 🖼️ Preview Box */
/*.nx-image-preview .preview-box {*/
/*    margin-top: 15px;*/
/*    border: 2px solid #4facfe;*/
/*    border-radius: 12px;*/
/*    overflow: hidden;*/
/*    position: relative;*/
/*    width: 100%;*/
/*    max-width: 220px;*/
/*    aspect-ratio: 16 / 9;*/
/*    background: #1e1e2f;*/
/*    box-shadow: 0 4px 10px rgba(0,0,0,0.2);*/
/*    transition: transform 0.3s ease;*/
/*}*/

/* ⭐ Shimmer Effect */
/*.nx-image-preview .preview-box.shimmer {*/
/*    background: linear-gradient(90deg, #1e1e2f 25%, #2c2c3f 50%, #1e1e2f 75%);*/
/*    background-size: 200% 100%;*/
/*    animation: shimmer 1.5s infinite;*/
/*}*/

/*@keyframes shimmer {*/
/*    0% { background-position: -200% 0; }*/
/*    100% { background-position: 200% 0; }*/
/*}*/

/*.nx-image-preview .preview-box img {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover;*/
/*}*/

/*.nx-image-preview .preview-box:hover {*/
/*    transform: scale(1.02);*/
/*}*/

/* ❌ Remove Button */
/*.nx-image-preview .remove-btn {*/
/*    position: absolute;*/
/*    top: 8px;*/
/*    right: 8px;*/
/*    background: #e74c3c;*/
/*    color: #fff;*/
/*    border: none;*/
/*    border-radius: 50%;*/
/*    width: 26px;*/
/*    height: 26px;*/
/*    font-size: 16px;*/
/*    cursor: pointer;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    box-shadow: 0 2px 6px rgba(0,0,0,0.3);*/
/*    transition: background 0.3s ease, transform 0.2s ease;*/
/*}*/

/*.nx-image-preview .remove-btn:hover {*/
/*    background: #c0392b;*/
/*    transform: scale(1.1);*/
/*}*/

/* 🎨 Display-Only Wrapper */
/*.nx-image-wrapper {*/
/*    width: 100%;*/
/*    aspect-ratio: 16 / 9;*/
/*    background: linear-gradient(135deg, #2a2a40, #1e1e2f);*/
/*    border: 1px solid rgba(255, 255, 255, 0.08);*/
/*    border-radius: 12px;*/
/*    overflow: hidden;*/
/*    margin-bottom: 15px;*/
/*    transition: transform 0.3s ease, box-shadow 0.3s ease;*/
/*    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);*/
/*}*/

/*.nx-image-wrapper:hover {*/
/*    transform: translateY(-5px);*/
/*    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);*/
/*}*/

/*.nx-image-wrapper img {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover;*/
/*}*/
