body{

margin:0;
font-family:Arial;
background:linear-gradient(135deg,#0b8a3a,#ffd500);
display:flex;
justify-content:center;
align-items:center;
min-height:100vh;

}

.container{

background:white;
padding:30px;
border-radius:15px;
width:90%;
max-width:500px;
text-align:center;
box-shadow:0 10px 25px rgba(0,0,0,0.2);

}

h1{

color:#0b8a3a;

}

.contador{

font-size:18px;
color:#444;

}

#contador{

font-weight:bold;
color:#0b8a3a;

}

.editor{

width:100%;
max-width:400px;
margin:auto;
margin-top:20px;

}

.editor img{

max-width:100%;

}

.frames{

display:flex;
flex-wrap:wrap;
gap:10px;
justify-content:center;
margin-top:20px;

}

.frames img{

width:70px;
cursor:pointer;
border-radius:8px;
transition:.3s;

}

.frames img:hover{

transform:scale(1.1);

}

button{

margin-top:25px;
background:#0b8a3a;
color:white;
border:none;
padding:15px 25px;
font-size:16px;
border-radius:8px;
cursor:pointer;

}

button:hover{

background:#08702f;

}

#animacion{

position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.7);
color:white;
display:flex;
justify-content:center;
align-items:center;
font-size:28px;
opacity:0;
pointer-events:none;
transition:.5s;

}
.frames img.selected{

border:4px solid #0b8a3a;
transform:scale(1.15);
box-shadow:0 0 10px rgba(0,0,0,0.3);

}


.cropper-container-custom{

position:relative;
width:100%;

}

.cropper-container-custom img{

max-width:100%;

}

.frames img{

width:70px;
cursor:pointer;
border-radius:8px;
transition:0.3s;
border:3px solid transparent;

}

.frames img:hover{

transform:scale(1.30);

}

.frames img.selected{

border:9px solid #0b8a3a;
transform:scale(1.30);
box-shadow:0 0 10px rgba(0,0,0,0.3);

}

.upload-area{

margin:20px 0;
text-align:center;

}

#upload{

opacity:0;
position:absolute;
z-index:-1;

}

.upload-btn{

display:inline-block;
background:#0b8a3a;
color:white;
padding:14px 30px;
border-radius:10px;
cursor:pointer;
font-size:16px;
font-weight:bold;
transition:0.3s;

}

.upload-btn:hover{

background:#08702f;
transform:scale(1.05);

}