#wp-decimal-to-binary-converter *{
box-sizing:border-box;
}

#wp-decimal-to-binary-converter{
background:#f8fafc;
color:#111;
font-family:Arial,sans-serif;
padding:0;
border-radius:12px;
}

#wp-decimal-to-binary-converter .header{
background:#fff;
padding:20px 20px 10px;
border-radius:10px;
margin-bottom:15px;
border:1px solid #e2e8f0;
}

#wp-decimal-to-binary-converter h2{
margin:0 0 10px;
font-size:22px;
}

#wp-decimal-to-binary-converter .layout{
display:grid;
grid-template-columns:1fr;
gap:15px;
}

#wp-decimal-to-binary-converter .panel{
background:#fff;
border:1px solid #dbe3ee;
border-radius:10px;
overflow:hidden;
}

#wp-decimal-to-binary-converter .panel-header{
padding:15px;
background:#e2e8f0;
color:#000;
font-weight:bold;
}

#wp-decimal-to-binary-converter .content{
padding:15px;
}

#wp-decimal-to-binary-converter label{
display:block;
margin-bottom:8px;
font-size:14px;
font-weight:bold;
color:#111;
}

#wp-decimal-to-binary-converter textarea,
#wp-decimal-to-binary-converter input[type="file"],
#wp-decimal-to-binary-converter input[type="text"],
#wp-decimal-to-binary-converter select{
width:100%;
border:1px solid #ddd !important;
border-radius:8px;
padding:12px;
background:#fff;
font-size:14px;
color:#111 !important;
outline:none !important;
}

#wp-decimal-to-binary-converter textarea{
height:320px;
resize:vertical;
margin-top:10px;
margin-bottom:10px;
font-family:Arial,sans-serif;
outline:none !important;
}

#wp-decimal-to-binary-converter input[type="file"]::file-selector-button{
border:none;
background:#eee;
color:#555;
padding:10px 14px;
border-radius:6px;
margin-right:12px;
cursor:pointer;
font-weight:bold;
}

#wp-decimal-to-binary-converter .controls{
display:flex;
flex-wrap:wrap;
gap:10px;
margin-top:15px;
}

#wp-decimal-to-binary-converter button{
border:none;
border-radius:5px;
padding:10px 20px;
background:#1b6997;
color:#fff;
cursor:pointer;
font-weight:bold;
font-size:14px !important;
font-weight:500;
}

#wp-decimal-to-binary-converter button:hover{
opacity:.9;
background:#d95a00 !important;
}

#wp-decimal-to-binary-converter .results{
padding:15px;
}

#wp-decimal-to-binary-converter .result{
padding:12px;
border-radius:8px;
margin-bottom:10px;
font-size:14px;
line-height:1.5;
}

#wp-decimal-to-binary-converter .error{
background:#fee2e2;
border-left:5px solid #ef4444;
color:#7f1d1d;
}

#wp-decimal-to-binary-converter .success{
background:#dcfce7;
border-left:5px solid #22c55e;
color:#14532d;
}

#binary-output-box{
display:none;
margin-top:25px;
background:#fff;
border:1px solid #dbe3ee;
border-radius:10px;
overflow:hidden;
}

#binary-output-box textarea{
height:320px;
font-size:14px;
border:none !important;
resize:none;
margin:0;
padding:20px;
outline:none !important;
}

#wp-decimal-to-binary-converter .loading{
background:#dbeafe;
border-left:5px solid #1b6997;
color:#1b6997;
display:flex;
align-items:center;
gap:12px;
}

#wp-decimal-to-binary-converter .spinner{
width:18px;
height:18px;
border:3px solid #93c5fd;
border-top:3px solid #1b6997;
border-radius:50%;
animation:qrSpinner .8s linear infinite;
flex-shrink:0;
}

@keyframes qrSpinner{
from{
transform:rotate(0deg);
}
to{
transform:rotate(360deg);
}
}