.jc-wrapper{
display:flex;
background:#fff;
padding:30px;
border-radius:15px;
gap:40px;
}

.jc-preview{
display:flex;
gap:40px;
align-items:center; /* ✅ vertical centering */
}


.jc-preview img{
width:280px;
}

.jc-front-wrap,
.jc-back-wrap{
position:relative;
}

#jc-logo-img{
position:absolute;
top:80px;
right:47px;
max-width:50px;
}

#jc-text-overlay{
position:absolute;
top:95px;
right:47px;
font-weight:bold;
font-size:16px;
}

#jc-text-overlay{
max-width:50px;          /* SAME as logo size */
max-height:50px;
overflow:hidden;        /* prevents spilling */
text-align:center;
word-break:break-word; /* wraps text */
line-height:1.1;
display:flex;
align-items:center;
justify-content:center;
}


#jc-text-overlay{
font-weight:bold;
font-size:18px;
}

.jc-colors{
display:flex;
gap:15px;
margin-bottom:20px;
}

.jc-colors span{
width:35px;
height:35px;
border-radius:50%;
cursor:pointer;
}

.jc-colors span:nth-child(1){background:black;}
.jc-colors span:nth-child(2){background:#3d5220;}
.jc-colors span:nth-child(3){background:#0033ff;}
.jc-colors span:nth-child(4){background:red;}

button{
background:#a7b400;
border:none;
padding:10px;
border-radius:8px;
color:white;
width:100%;
margin-top:10px;
	margin-bottom:10px;
cursor:pointer;
}

input{
width:100%;
padding:8px;
}

#jc-text-size,
#jc-text-color{
width:100%;
margin-top:8px;
}
