*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}

body{

    background:#f4f6fb;
    color:#222;

}

.topbar{

    background:#6f3ff5;
    color:white;

    text-align:center;

    padding:30px 20px;

    box-shadow:0 2px 10px rgba(0,0,0,.15);

}

.topbar h1{

    font-size:38px;

    margin-bottom:10px;

}

.subtitle{

    opacity:.9;

    font-size:17px;

}

.container{

    max-width:900px;

    margin:30px auto;

    padding:20px;

}

.card{

    background:white;

    border-radius:16px;

    padding:25px;

    margin-bottom:25px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.card h2{

    margin-bottom:20px;

    color:#6f3ff5;

}

.row{

    display:flex;

    gap:20px;

    margin-bottom:20px;

}

.row label{

    flex:1;

}

input[type="number"],
input[type="file"]{

    width:100%;

    margin-top:8px;

    padding:12px;

    border:1px solid #ccc;

    border-radius:10px;

    font-size:16px;

}

.checkbox{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:20px;

}

button{

    width:100%;

    border:none;

    border-radius:12px;

    background:#6f3ff5;

    color:white;

    font-size:18px;

    padding:15px;

    cursor:pointer;

    transition:.25s;

}

button:hover{

    background:#5b2de2;

}

button:disabled{

    background:#bbb;

    cursor:not-allowed;

}

#previewArea{

    margin-top:20px;

    text-align:center;

}

#preview{

    max-width:100%;

    max-height:450px;

    border-radius:14px;

    display:none;

    box-shadow:0 5px 18px rgba(0,0,0,.15);

}

footer{

    text-align:center;

    padding:30px;

    color:#666;

    font-size:15px;

}
