:root {
    --orange: #f58220;
    --orange-dark: #df6f0d;
    --blue: #123c69;
    --bg: #f5f7fa;
    --text: #253044;
    --muted: #6b7280;
    --card: #ffffff;
    --border: #e5e7eb;
}

*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    background:var(--bg);
    color:var(--text);
}

.container{
    max-width:1100px;
    margin:0 auto;
    padding:0 15px;
}

/* HEADER */

.site-header{
    background:#fff;
    border-bottom:1px solid var(--border);
    box-shadow:0 1px 6px rgba(0,0,0,.04);
}

.header-inner{
    height:60px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:22px;
    font-weight:800;
    color:var(--blue);
}

.logo-mark{
    width:34px;
    height:34px;
    border-radius:8px;
    background:var(--orange);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
}

nav a{
    color:var(--blue);
    text-decoration:none;
    margin-left:15px;
    font-weight:700;
    font-size:14px;
}

/* HERO */

.hero{
    padding:18px 0 12px;
}

.hero h1{
    margin:0 0 4px;
    color:var(--blue);
    font-size:28px;
}

.hero p{
    margin:0;
    color:var(--muted);
    font-size:14px;
}

/* GRID */

.grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.wide{
    grid-column:span 2;
}

/* CARDS */

.card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:12px;
    padding:14px;
    box-shadow:0 2px 8px rgba(18,60,105,.04);
}

.card h2{
    margin:0 0 10px;
    color:var(--blue);
    font-size:20px;
}

.card p{
    margin:0 0 8px;
    font-size:13px;
}

/* FORMULIEREN */

.tool-form{
    display:grid;
    gap:8px;
}

.tool-form label{
    color:var(--blue);
    font-size:13px;
    font-weight:700;
}

input,
select{
    width:100%;
    margin-top:3px;
    border:1px solid #cfd6df;
    border-radius:8px;
    padding:8px 10px;
    font-size:13px;
    background:#fff;
}

/* ORANJE KNOPPEN */

.btn{
	width:200px;
    border:0;
    border-radius:8px;
    background:var(--orange);
    color:#fff;
    font-weight:400;
    font-size:12px;
    padding:8px 12px;
    cursor:pointer;
}

.btn:hover{
    background:var(--orange-dark);
}

/* RESULTATEN */

.inline-results{
    margin-top:10px;
    padding-top:10px;
    border-top:1px solid var(--border);
}

.inline-results h3{
    margin:0 0 8px;
    color:var(--blue);
    font-size:16px;
}

.muted{
    color:var(--muted);
    font-size:12px;
}

/* RESULTAATREGELS */

.result-line{
    display:grid;
    grid-template-columns:120px 1fr 32px;
    gap:8px;
    align-items:center;

    background:#f9fafb;
    border:1px solid var(--border);
    border-radius:8px;

    padding:7px 8px;
    margin:4px 0;
}

.result-line span{
    color:var(--blue);
    font-size:12px;
    font-weight:600;
}

.result-line strong{
    font-size:12px;
    overflow-wrap:anywhere;
    word-break:break-word;
}

/* PUBLIEK IP GROOT */

.ip-card .result-line.compact{
    display:flex;
    align-items:center;
    justify-content:space-between;

    background:linear-gradient(135deg,#123c69,#1d5b9a);

    border:none;
    border-radius:12px;

    padding:18px 20px;
    margin-top:12px;
}

.ip-card .result-line.compact span{
    display:none;
}

.ip-card .result-line.compact strong{
    font-size:36px;
    font-weight:900;
    color:#fff;
    letter-spacing:1px;
}

.ip-card .result-line.compact .copy-small{
    width:40px;
    height:40px;

    background:#fff;
    color:var(--orange);

    border:0;
    border-radius:10px;
}

/* KOPIEER KNOP */

.copy-small{
    width:30px;
    height:26px;

    background:#fff;
    border:1px solid var(--orange);
    color:var(--orange);

    border-radius:6px;

    padding:0;
    font-size:11px;
    cursor:pointer;
}

.copy-small:hover,
.copy-small.copied{
    background:var(--orange);
    color:#fff;
}

/* DNS */

.dns-section{
    margin-top:10px;
}

.dns-section h3,
.dns-section h4,
.inline-results h4{
    margin:10px 0 6px;
    color:var(--blue);
    border-left:3px solid var(--orange);
    padding-left:8px;
    font-size:15px;
}

.table-wrap{
    overflow-x:auto;
}

table{
    width:100%;
    border-collapse:separate;
    border-spacing:0 3px;
    table-layout:fixed;
}

th{
    text-align:left;
    padding:4px 6px;
    font-size:10px;
    text-transform:uppercase;
    color:var(--muted);
}

td{
    background:#f9fafb;
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);

    padding:5px 6px;
    font-size:12px;

    overflow-wrap:anywhere;
    word-break:break-word;
}

th:nth-child(1),
td:nth-child(1){
    width:55px;
}

th:nth-child(2),
td:nth-child(2){
    width:180px;
}

th:nth-child(3),
td:nth-child(3){
    width:auto;
}

th:nth-child(4),
td:nth-child(4){
    width:60px;
    text-align:center;
}

th:nth-child(5),
td:nth-child(5){
    width:60px;
    text-align:center;
}

td:first-child{
    border-left:1px solid var(--border);
    border-radius:6px 0 0 6px;
}

td:last-child{
    border-right:1px solid var(--border);
    border-radius:0 6px 6px 0;
}

/* FOOTER */

.footer{
    text-align:center;
    color:var(--muted);
    padding:18px;
    font-size:12px;
}

/* MOBIEL */

@media (max-width:850px){

    .grid{
        grid-template-columns:1fr;
    }

    .wide{
        grid-column:auto;
    }

    .header-inner{
        height:auto;
        padding:12px 0;
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
    }

    .hero h1{
        font-size:22px;
    }

    .result-line{
        grid-template-columns:1fr;
    }

    .ip-card .result-line.compact{
        grid-template-columns:1fr;
    }

    .copy-small{
        justify-self:start;
    }

    table{
        min-width:700px;
    }
}