.art-studio-artworks-card{
	position:relative;
}


.shimmer-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
    scrollbar-width: none; /* hide scrollbar for Firefox */
  }
  .shimmer-container::-webkit-scrollbar {
    display: none; /* hide scrollbar for Chrome/Safari */
  }

  .shimmer-card {
    flex: 0 0 auto;
    border-radius: 10px;
    background: linear-gradient(90deg, #e3e3e3 25%, #f2f2f2 50%, #e3e3e3 75%);
    background-size: 400% 100%;
    animation: shimmer 1.2s infinite linear;
  }

  .shimmer-card.square {
    width: 150px;
    height: 150px;
  }

  .shimmer-card.landscape {
    width: 250px;
    height: 150px;
  }

  @keyframes shimmer {
    0% {
      background-position: 100% 0;
    }
    100% {
      background-position: -100% 0;
    }
  }
.artwork-scroll{
	
    display: flex;
    flex-wrap: nowrap;          /* single row */
    overflow-x: auto;           /* enable horizontal scroll */
    gap: 10px;
    padding: 10px;
    scrollbar-width: none;
	border-radius:10px;
	scroll-behavior: smooth;
	margin-bottom:15px;
  }

  .artwork-scroll::-webkit-scrollbar {
    height: 8px;
  }

  .artwork-scroll::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 4px;
  }

  .artwork-item {
	  position: relative;
    flex: 0 0 auto;             /* prevent shrinking */
	  flex-direction: column;
    text-align: center;
  }

  .artwork-item img {
  display: block;
  height: 150px;          /* fixed height for all images */
  width: auto;            /* adjust width automatically based on aspect ratio */
  object-fit: contain;    /* ensure full image is visible, no cropping */
  margin: 0 auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform .2s, box-shadow .2s;
	  pointer-events: none; /* optional — prevents image from stealing clicks */
}

  .artwork-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
.control-btns {
  display: flex;
  justify-content: space-between; /* spread icons across full width */
  align-items: center;
  width: 100%;  /* ensures they span the container */
  padding: 0 12px; /* small breathing room from edges */;
	position:absolute;
	bottom:5px;
	z-index: 2;
}

.control-icon {
  font-size: 26px;
  color: white;
 background-color:#333;
  border-radius: 50%;
 
  cursor: pointer;
  transition: all 0.2s ease;
	pointer-events: auto; /* this line makes the icon clickable */
}

.control-icon:hover {
  transform: scale(1.1);
}

.delete-icon:hover {
  color: #ff4d4d;
  background: rgba(0, 0, 0, 0.7);
}

.edit-icon:hover {
  color: #4caf50;
  background: rgba(0, 0, 0, 0.7);
}


/* icon inside it *

/* hover effect */
.artwork-item .delete-btn:hover {
  background: rgba(255, 0, 0, 0.7);
}

.artwork-item .delete-btn:hover .delete-icon {
  color: #fff;
}


.no-art {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 45px 25px;
    margin: 10px;

    font-size: 1.05rem;
    font-weight: 500;
    text-align: center;
    gap: 12px;

    color: #444;

    background: radial-gradient(circle at 30% 20%, rgba(255, 209, 220, 0.35), transparent 60%),
                radial-gradient(circle at 70% 80%, rgba(177, 196, 255, 0.35), transparent 60%),
                #fafafa;

    border-radius: 18px;
    border: 1px solid #e7e7e7;

    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.no-art iconify-icon {
    font-size: 2.6rem;
    color: #6f6f6f;
}






.artform-title {
  font-size: 1.0rem;
  font-weight: 600;
  text-align: center;
  margin-top: 20px;
  color: #444;
  position: relative;
  letter-spacing: 0.5px;
  text-transform: capitalize;
}

.artform-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: #444;
  margin: 4px auto 0;
  border-radius: 1px;
  opacity: 0.8;
}

/*additinal*/
/* Fix for non-owner view - make wrapper a flex child */
.artwork-scroll > .art-studio-artworks-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Ensure artwork-item inside wrapper doesn't break */
.art-studio-artworks-card > .artwork-item {
    width: auto; /* let it size naturally based on image */
}

/* Inspiration button styling */
.left-control.insp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 8px;
}

.left-control.insp-btn img.inspiration-icon {
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease;
}

.left-control.insp-btn:hover img.inspiration-icon {
    transform: scale(1.1);
}

/*ends*/


