.container{
    max-width:650px;
    margin:auto;
    padding:20px;
}

/* CARD */

.converter-card{
    background:#fff;
    border-radius:24px;
    padding:30px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
}

/* HEADER */

.card-header{
    text-align:center;
    margin-bottom:30px;
}

.card-header h1{
    font-size:34px;
    font-weight:800;
    margin-bottom:10px;

    background:linear-gradient(219deg,#FB0E76 0%,#910694 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}

.card-header p{
    color:#666;
    font-size:15px;
    line-height:1.7;
}

/* ROW */

.input-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
    margin-bottom:22px;
}

/* GROUP */

.input-group{
    display:flex;
    flex-direction:column;
}

.input-group label{
    font-size:14px;
    font-weight:700;
    color:#444;
    margin-bottom:8px;
}

/* LABEL ROW */

.label-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:8px;
}

/* INPUTS */

input{
    width:100%;
    height:55px;
    border:2px solid #fb0e7657 !important;
    border-radius:14px !important;
    padding:0 16px;
    outline:none;
    font-size:18px;
    transition:.3s;
    background:#fff;
}

input:focus{
    border-color:#FB0E76;
    box-shadow:0 0 0 4px rgba(251,14,118,.10) !important;
}

#pixelOutput{
	margin-top:-6px;
    background:#fafafa;
    font-weight:700;
    color:#333;
}

/* COPY */



#copyBtn{
	padding:0px !important;
	border-radius: 43px 7px;
    width:65px;
    height:38px;
    font-size:13px;
    font-weight:700;
}


#copyBtn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(251,14,118,.25);
}

/* DPI */

.dpi-group{
    margin-bottom:25px;
}

/* RESULT */

.result-card{
    text-align:center;
    background:#fff5f8;
    border:2px solid #ffd4df;
    border-radius:18px;
    padding:22px;
    margin-bottom:25px;
}

.result-card h3{
    font-size:18px;
    color:#666;
    margin-bottom:10px;
}

#resultText{
    font-size:28px;
    font-weight:800;
    margin:0;

    background:linear-gradient(219deg,#FB0E76 0%,#910694 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}

/* CLEAR */

#clearBtn{
    width:100%;
    height:56px;
    border:none;
    border-radius:14px;
    cursor:pointer;
    color:#fff;
    font-size:16px;
    font-weight:700;

    background:linear-gradient(219deg,#FB0E76 0%,#910694 100%);
    transition:.3s;
}

#clearBtn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(251,14,118,.25);
}

/* RESPONSIVE */

@media(max-width:600px){

    .converter-card{
        padding:22px;
    }

    .card-header h1{
        font-size:28px;
    }

    .input-row{
        grid-template-columns:1fr;
    }

    #resultText{
        font-size:24px;
    }

}

@media(max-width:420px){

    .container{
        padding:12px;
    }

    .converter-card{
        padding:18px;
    }

    .card-header h1{
        font-size:24px;
    }

    input{
        height:50px;
        font-size:16px;
    }

    #clearBtn{
        height:52px;
    }

}