.result-box{
margin-top:15px;
}

.result-table{
width:100%;
border-collapse:collapse;
background:#fff;
margin-top:10px;
}

.result-table th,
.result-table td{
padding:10px;
border:1px solid var(--border);
text-align:left;
}

.result-table th{
background:#f3f4f6;
width:180px;
}

/* ===== INPUT FULL WIDTH ===== */

.form-group{
display:flex;
gap:10px;
}

.input-ip{
flex:1;
padding:14px;
font-size:16px;
border:1px solid var(--border);
border-radius:8px;
outline:none;
transition:0.2s;
}

.input-ip:focus{
border-color:#2563eb;
box-shadow:0 0 0 2px rgba(37,99,235,0.2);
}

/* ===== BUTTON ===== */

.btn-lookup{
padding:14px 20px;
background:#2563eb;
color:#fff;
border:none;
border-radius:8px;
cursor:pointer;
font-weight:600;
transition:0.2s;
}

.btn-lookup:hover{
background:#1e40af;
}

/* ===== RESULT CARD ===== */

.result-modern{
margin-top:15px;
}

.result-card{
background:#0f172a;
color:#e2e8f0;
padding:20px;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

/* ===== GRID ===== */

.result-row{
display:flex;
justify-content:space-between;
padding:10px 0;
border-bottom:1px solid rgba(255,255,255,0.08);
}

.result-row:last-child{
border-bottom:none;
}

.label{
color:#94a3b8;
font-size:13px;
}

.value{
font-size:16px;
font-weight:600;
}

/* ===== HOSTNAME BADGE ===== */

.hostname{
color:#22c55e;
}

.no-host{
color:#ef4444;
}

/* ===== COPY BUTTON ===== */

.copy-btn{
margin-top:15px;
padding:10px 14px;
background:#334155;
color:#fff;
border:none;
border-radius:6px;
cursor:pointer;
}

.copy-btn:hover{
background:#475569;
}


/* COUNTRY FLAG STYLE (OPTIONAL FEEL) */
.value{
display:flex;
align-items:center;
gap:8px;
}

/* ASN highlight */
.value:has(span.asn){
color:#38bdf8;
}

/* ISP subtle */
.value:has(span.isp){
color:#cbd5f5;
}