*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:system-ui, Arial;
}

body{
background:#0b1220;
color:#fff;
}

/* APP WRAPPER */
.app{
max-width:1100px;
margin:auto;
padding:20px;
}

/* TOP BAR */
.topbar{
background:#111827;
padding:15px;
border-radius:16px;
box-shadow:0 10px 30px rgba(0,0,0,0.5);
margin-bottom:15px;
}

.topbar h1{
font-size:24px;
margin-bottom:10px;
}

/* TOOL BUTTONS */
.tools{
display:flex;
flex-wrap:wrap;
gap:8px;
}

.tools button{
padding:8px 10px;
border:none;
border-radius:8px;
cursor:pointer;
background:#1f2937;
color:#fff;
transition:0.2s;
font-size:13px;
}

.tools button:hover{
background:#3b82f6;
transform:translateY(-2px);
}

.tools input[type="color"]{
width:35px;
height:35px;
border:none;
cursor:pointer;
background:none;
}

/* EDITOR BOX */
.editorBox{
background:#111827;
padding:15px;
border-radius:16px;
box-shadow:0 10px 30px rgba(0,0,0,0.5);
}

.editor{
min-height:300px;
outline:none;
padding:15px;
background:#0f172a;
border-radius:12px;
font-size:16px;
line-height:1.6;
}

/* STATS BAR */
.stats{
margin-top:15px;
display:flex;
flex-wrap:wrap;
gap:10px;
align-items:center;
background:#111827;
padding:12px;
border-radius:12px;
}

.stats p{
color:#cbd5e1;
font-size:14px;
}

.stats button{
padding:8px 12px;
border:none;
border-radius:8px;
cursor:pointer;
background:#2563eb;
color:#fff;
transition:0.2s;
}

.stats button:hover{
background:#1d4ed8;
}

/* CONTENT SECTION */
.content{
margin-top:25px;
background:#111827;
padding:20px;
border-radius:16px;
}

.content h2{
margin-top:15px;
margin-bottom:10px;
}

.content p, .content li{
color:#cbd5e1;
line-height:1.6;
}

.content ul{
margin-left:20px;
}

/* FOOTER */
.footer{
text-align:center;
margin-top:20px;
padding:15px;
color:#6b7280;
}

/* RESPONSIVE */
@media(max-width:768px){

.tools{
gap:6px;
}

.tools button{
font-size:12px;
padding:7px;
}

.editor{
min-height:250px;
}

}