*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}

body{
    background:#f4f6f9;
    padding:40px;
}

.container{
    max-width:900px;
    margin:auto;
}

h1{
    text-align:center;
    margin-bottom:30px;
    color:#222;
}

.card{
    background:#fff;
    border-radius:12px;
    padding:20px;
    margin-bottom:25px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

h2{
    margin-bottom:15px;
    color:#333;
}

textarea{
    width:100%;
    height:220px;
    resize:vertical;
    border:1px solid #ccc;
    border-radius:8px;
    padding:12px;
    font-size:14px;
    margin-bottom:15px;
}

input[type=number]{
    width:120px;
    padding:8px;
    border-radius:6px;
    border:1px solid #ccc;
}

.row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

button{
    border:none;
    background:#2563eb;
    color:white;
    padding:10px 18px;
    border-radius:8px;
    cursor:pointer;
    transition:.2s;
}

button:hover{
    background:#1d4ed8;
}

button:disabled{
    opacity:.7;
    cursor:not-allowed;
}

.button-group{
    display:flex;
    gap:10px;
    margin-top:10px;
}

#btnDownload{
    background:#16a34a;
}

#btnDownload:hover{
    background:#15803d;
}

#btnCopy{
    background:#6b7280;
}

#btnCopy:hover{
    background:#4b5563;
}

/* =======================
   STATUS MESSAGE
======================= */

.status{
    min-height:20px;
    margin-top:10px;
    margin-bottom:15px;
    font-size:13px;
    font-weight:500;
}

.status.loading{
    color:#2563eb;
}

.status.success{
    color:#16a34a;
}

.status.error{
    color:#dc2626;
}

@media(max-width:700px){

    .row{
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
    }

    input[type=number]{
        width:100%;
    }

    .button-group{
        flex-direction:column;
    }

    button{
        width:100%;
    }

}