/*
.model-card-container{ 
	display:inline-block;
	margin-bottom:15px;
	border-radius:12px;
	background-color: rgba(221, 221, 221, 0.3);
	border: 1px solid rgba(170, 170, 170, 0.4); 
	max-width:600px;
}
*/
.model-card-container {
	margin: 10px;
	background: rgba(255, 255, 255, 0.25); /* translucent white */
	backdrop-filter: blur(8px); /* frost effect */
	-webkit-backdrop-filter: blur(8px); /* Safari support */
	border: 1px solid rgba(255, 255, 255, 0.18); /* light border for frosted look */
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* soft shadow */
	max-width: 600px;
}

.listing-badge { /*Tick*/
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    align-items: center;
    font-weight: normal;
    font-size: 0.9rem;
    z-index: -10;
	opacity:0.2;
}
.listing-dp{ /*Tick*/
	position: absolute;
    top: -5px;
    right: 2px;
    display: flex;
	border-radius:10px;
	
}
.listing-dp img{ /*Tick*/
	width: 50px;
    height: 50px;
	border-radius:10px;
	border:0.5px solid #aaa;
}
.listing-badge .badge-icon { /*Tick*/
    background: none;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;    
    margin-right: 8px;
}
.model-card-thumb-img{ /*Tick*/
	width: 30px;      /* adjust size as needed */
    height: 30px;
	margin: 10px;
    object-fit: cover; /* ensures image fills the circle without distortion */
    border-radius: 50%;
    display: block;
}
.model-card-content { /*Tick*/
	padding: 10px;
	flex: 1;
}
.badge-icon{
	border:0.5px solid #aaa;
}
.listing-badge .badge-icon i {
    font-size: 1rem;
}
.model-card-title { /*Tick*/
	font-size: 1.3rem;
	font-weight: bold;
	color: #222;
	margin-bottom: 4px;
	text-align:center;
}


.model-card-bio { /*Tick*/
	font-size: 0.9rem;
	color: #444;
	line-height: 1.2rem;
	margin-bottom:5px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	min-height: 2.4rem;
}


.artform-badge { /*Tick*/
    display: inline-block;
    margin: 2px 2px;
    padding: 2px 8px;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    font-size: 0.7rem;
}

/* Color classes — feel free to change the shades */
.color-0 { background-color: #ff656b; } 
.color-1 { background-color: #00ddff; } 
.color-2 { background-color: #ffd524; } 
.color-3 { background-color: #7b7b7b; }
.color-4 { background-color: #e74c3c; } /* Red */
.color-5 { background-color: #f39c12; } /* Yellow */

.listing-footer-controls {
  display: flex;
  justify-content: space-evenly; /* or use space-between */
  align-items: center;
  width: 100%;
}
.listing-mini-gallery-wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
	flex-shrink: 0; /* newly*/
	text-align:center;
  gap: 5px;
	width:100%;

}
.listing-mini-gallery-wrapper-owner{
	display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
	flex-shrink: 0; /* newly*/
	text-align:center;
  gap: 10px;
}


.listings-mini-shimmer-box,
.listing-mini-img-box ,
.add-artpiece-icon{
	flex: 0 0 auto;
  width: 60px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  background: #eee;
	border:0.5px solid #aaa;
}
.add-artpiece-icon { /*Tick*/
	background-color:#eee;
	border:1px dashed #444;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 80px;
  border-radius: 6px;
	color:#FFD700;
  cursor: pointer;
  flex-shrink: 0;
	font-size:1.8rem;
	box-shadow: 0 2px 8px rgba(200, 200, 200, 0.08);
}

#listings-mini-shimmer-container { /*Tick*/
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 5px;
  padding: 5px 0;
  max-width: 100%;
  scrollbar-width: thin;
	min-width: 0; /* crucial: allows flexbox to shrink inside parent */
  box-sizing: border-box; /* keeps padding inside max-width */
}

.listings-mini-shimmer-box { /*Tick*/
  background: linear-gradient(to right, #eee 0%, #ddd 20%, #eee 40%, #eee 100%);
  background-size: 200px 100%;
  animation: shimmer 1.2s infinite linear;
}

@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.model-card-footer { /*Tick*/
	display: flex;
	justify-content: space-evenly;
	width: 100%;
	margin:5px;
	font-size:12px;
}
.upload-label{
	font-weight:bold; 
	position:absolute;
	top:5px; left:0; 
	right:0; 
	text-align:center; 
	font-size:14px;
}
.upload-img-instructions{
	font-size:10px;
	position:absolute;
	bottom:5px; left:0;
	color:#555;
	background-color:#999;
	color:white;
	padding:2px;
	margin: 0 5px 2px 5px;
	border-radius: 0 0 8px 8px;
}
.upload-placeholder{
	font-size: 60px; 
	color: #FFD700;
}
.addprodTitle{
	font-size:1.2rem !important;
	text-align:center;
	font-weight:bold;
}
.addprodTitle::placeholder{
	font-size:1.2rem;
	font-weight:bold;
}
.image-upload-box{
	aspect-ratio: 1 / 1.33;
	max-width: 300px; 
	border: 5px dashed #ccc; 
	border-radius:10px;
	display: flex; 
	align-items: center; 
	justify-content: center; 
	cursor: pointer; 
	position: relative; 
	overflow: hidden;
}
.image-upload-box:hover {
        border-color: #777;
      }

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* fills container while keeping aspect ratio */
    object-position: center; /* centers image inside the box */
    display: none; /* stays hidden until JS shows it */
}
.modal-content{
	width: 100%;
            max-width: 800px;
            margin: 0 auto;
            box-sizing: border-box;
            
            /* Prime canvas texture background */
            background-color: #faf9f7;
            background-image: 
                /* Fine grain texture */
                radial-gradient(circle at 20% 50%, rgba(120, 119, 116, 0.03) 1px, transparent 1px),
                radial-gradient(circle at 80% 20%, rgba(150, 148, 142, 0.02) 1px, transparent 1px),
                radial-gradient(circle at 40% 80%, rgba(135, 133, 128, 0.025) 1px, transparent 1px),
                radial-gradient(circle at 60% 30%, rgba(110, 108, 104, 0.02) 1px, transparent 1px),
                radial-gradient(circle at 90% 70%, rgba(140, 138, 133, 0.015) 1px, transparent 1px),
                
                /* Subtle weave pattern */
                linear-gradient(0deg, transparent 49%, rgba(200, 195, 188, 0.03) 50%, transparent 51%),
                linear-gradient(90deg, transparent 49%, rgba(205, 200, 193, 0.025) 50%, transparent 51%),
                
                /* Canvas fiber direction */
                linear-gradient(45deg, rgba(160, 158, 152, 0.01) 25%, transparent 25%, transparent 75%, rgba(160, 158, 152, 0.01) 75%),
                linear-gradient(-45deg, rgba(170, 168, 162, 0.008) 25%, transparent 25%, transparent 75%, rgba(170, 168, 162, 0.008) 75%);
                
            background-size: 
                3px 3px,
                4px 4px,
                2px 2px,
                5px 5px,
                3px 3px,
                1px 1px,
                1px 1px,
                8px 8px,
                12px 12px;
                
            background-position:
                0 0,
                2px 2px,
                1px 1px,
                3px 3px,
                4px 4px,
                0 0,
                0 0,
                0 0,
                0 0;
            
            /* Subtle border and shadow */
            border: 1px solid rgba(200, 195, 188, 0.2);
            box-shadow: 
                0 2px 8px rgba(0, 0, 0, 0.02),
                inset 0 1px 2px rgba(255, 255, 255, 0.3);
            
            border-radius: 4px;
            position: relative;
            overflow: hidden;
}