/* ==========================================
   ToolNova - Generador QR
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#0f172a;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
    padding:30px;
}

.container{
    width:100%;
    max-width:750px;
    background:#1e293b;
    border-radius:20px;
    padding:40px;
    box-shadow:0 20px 45px rgba(0,0,0,.35);
}

h1{
    text-align:center;
    color:white;
    font-size:34px;
    margin-bottom:10px;
}

p{
    text-align:center;
    color:#94a3b8;
    margin-bottom:30px;
}

textarea{
    width:100%;
    height:130px;
    resize:none;
    border:none;
    outline:none;
    border-radius:12px;
    padding:18px;
    font-size:16px;
    background:#0f172a;
    color:white;
    margin-bottom:25px;
}

.controls{

    margin-bottom:25px;

}

.controls label{

    display:flex;
    justify-content:space-between;
    color:white;
    margin-bottom:10px;
    font-weight:600;

}

input[type=range]{

    width:100%;
    cursor:pointer;

}

.buttons{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
    margin-bottom:35px;

}

button{

    padding:15px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
    transition:.3s;

}

button:hover{

    transform:translateY(-3px);

}

#generate{

    background:#3b82f6;
    color:white;

}

#generate:hover{

    background:#2563eb;

}

#download{

    background:#10b981;
    color:white;

}

#download:hover{

    background:#059669;

}

#clear{

    background:#ef4444;
    color:white;

}

#clear:hover{

    background:#dc2626;

}

#qrContainer{

    background:white;
    border-radius:20px;
    min-height:320px;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:30px;

}

#qrcode{

    display:flex;
    justify-content:center;
    align-items:center;

}

#qrcode img{

    border-radius:10px;

}

footer{

    margin-top:30px;
    text-align:center;
    color:#94a3b8;

}

@media(max-width:700px){

.container{

    padding:25px;

}

.buttons{

    grid-template-columns:1fr;

}

h1{

    font-size:28px;

}

textarea{

    height:110px;

}

}