body {
    font-family: sans-serif;
    background: #f9f9f9;
    color: #222;
    margin: 0;
    padding: 0;
}

header, footer {
    background: #2973C1; /* fallback */
    background: linear-gradient(
    to bottom,
    #2973C1 0%,
    #2362a5 100%
  );
    color: white;
    padding: 1em;
    text-align: center;
}

header a, footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

header a:hover, footer a:hover {
    text-decoration: underline;
}

main {
    padding: 1.2em;
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-radius: 4px;
}

.bottom-ad {
    padding: 1.2em;
    max-width: 1100px;
    margin: 0 auto;
    background: #F0F8FF;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-radius: 4px;
}

form {
    margin: 2em 0;
}

input[type="text"] {
    padding: 0.5em;
    width: 200px;
    max-width: 100%;
    margin-right: 1em;
}

button {
    padding: 0.5em 1em;
    background: #0066cc;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background: #004999;
}

ul {
    padding-left: 1.2em;
}

li {
    margin-bottom: 0.5em;
}

.snapshot-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}

.snapshot-table th,
.snapshot-table td {
    padding: 0.5em;
    text-align: left;
}

.snapshot-table th {
    background: #eee;
    font-weight: bold;
}

.dns-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
    font-family: monospace;
}

.dns-table th,
.dns-table td {
    border: 1px solid #ccc;
    padding: 0.4em 0.6em;
    text-align: left;
}

.dns-table th {
    background: #f0f0f0;
}