/* RESET */
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:system-ui, Arial;
}

body{
background:#0b1220;
color:#fff;
}

/* MAIN APP LAYOUT */
.app{
display:flex;
gap:20px;
padding:20px;
}

/* LEFT PANEL */
.left{
flex:1;
background:#111827;
padding:20px;
border-radius:16px;
box-shadow:0 10px 40px rgba(0,0,0,0.5);
}

.left h1{
font-size:28px;
margin-bottom:10px;
}

.sub{
color:#9ca3af;
margin-bottom:20px;
line-height:1.5;
}

/* UPLOAD BOX */
.uploadBox{
border:2px dashed #ff0000;
padding:20px;
border-radius:12px;
text-align:center;
cursor:pointer;
background:#0f172a;
transition:0.3s;
}

.uploadBox:hover{
transform:scale(1.01);
border-color:#60a5fa;
}

.uploadBox input{
display:block;
margin:10px auto;
}

/* PREVIEW */
.previewBox{
margin-top:20px;
background:#0f172a;
padding:15px;
border-radius:12px;
}

canvas{
width:100%;
max-width:220px;
background:#1f2937;
border-radius:10px;
margin-top:10px;
}

/* ACTION BUTTONS */
.actions{
margin-top:20px;
display:flex;
flex-direction:column;
gap:10px;
}

button{
padding:12px;
border:none;
border-radius:10px;
cursor:pointer;
font-weight:600;
background:#ff0000;
color:#fff;
transition:0.3s;
}

button:hover{
background:#2563eb;
transform:translateY(-2px);
}

/* HTML CODE BOX */
.codeBox{
margin-top:20px;
}

textarea{
width:100%;
height:120px;
margin-top:10px;
padding:10px;
border-radius:10px;
border:none;
background:#0f172a;
color:#fff;
resize:none;
}

/* RIGHT PANEL */
.right{
flex:1;
background:#111827;
padding:20px;
border-radius:16px;
box-shadow:0 10px 40px rgba(0,0,0,0.5);
}

.right h2{
margin-bottom:15px;
}

/* GRID */
.grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:15px;
}

/* ICON CARDS */
.iconCard{
background:#0f172a;
padding:10px;
border-radius:12px;
text-align:center;
transition:0.3s;
}

.iconCard:hover{
transform:translateY(-4px);
background:#1f2937;
}

.iconCard canvas{
width:100%;
max-width:80px;
margin-bottom:5px;
}

.iconCard span{
display:block;
margin:5px 0;
color:#9ca3af;
font-size:13px;
}

.iconCard button{
padding:6px 10px;
font-size:12px;
}

/* CONTENT SECTION */
.content{
margin:20px;
padding:20px;
background:#111827;
border-radius:16px;
}

.content h2{
margin-top:20px;
margin-bottom:10px;
}

.content p, .content li{
color:#cbd5e1;
line-height:1.6;
}

.content ul, .content ol{
margin-left:20px;
}

/* FOOTER */
.footer{
text-align:center;
padding:20px;
color:#6b7280;
}

/* RESPONSIVE */
@media(max-width:900px){
.app{
flex-direction:column;
}

.grid{
grid-template-columns:repeat(2,1fr);
}
}