*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
}

body{
    background:#121212;
    color:#fff;
    padding:20px;
}

.container{
    max-width:700px;
    margin:auto;
}

h1{
    text-align:center;
    margin-bottom:8px;
    color:#ff4040;
}

.subtitle{
    text-align:center;
    color:#bfbfbf;
    margin-bottom:30px;
}

.card{
    background:#1e1e1e;
    border-radius:18px;
    padding:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.35);
}

label{
    display:block;
    margin-top:20px;
    margin-bottom:8px;
    font-weight:bold;
}

input[type="file"]{
    width:100%;
    padding:12px;
    background:#2a2a2a;
    border-radius:10px;
    border:none;
    color:white;
}

textarea{
    width:100%;
    min-height:220px;
    resize:vertical;
    padding:15px;
    border:none;
    border-radius:10px;
    background:#2a2a2a;
    color:white;
    font-size:16px;
}

select{
    width:100%;
    padding:15px;
    border:none;
    border-radius:10px;
    background:#2a2a2a;
    color:white;
    font-size:16px;
}

.buttons{
    display:flex;
    gap:15px;
    margin-top:30px;
}

button{
    flex:1;
    padding:16px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    font-size:16px;
    font-weight:bold;
}

#preview{
    background:#ff9800;
    color:white;
}

#publish{
    background:#e53935;
    color:white;
}

button:active{
    transform:scale(.98);
}

.file-btn{
    display:block;
    width:100%;
    padding:14px;
    margin-top:8px;
    background:#2a2a2a;
    color:#fff;
    text-align:center;
    border-radius:10px;
    cursor:pointer;
    font-weight:bold;
    transition:0.2s ease;
}

.file-btn:hover{
    background:#363636;
}

.file-btn:active{
    transform:scale(0.98);
}

@media(max-width:600px){

    .buttons{
        flex-direction:column;
    }

}
