body {
    background-color: #ffffff;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
}

header, footer {
    background-color: #323232;
    color: white;
    padding: 15px 25px;
    text-align: center;
}

header a, footer a {
    color: #00adef;
    text-decoration: none;
}

.logo {
    max-height: 60px;
    margin-bottom: 10px;
}

.container {
    max-width: 850px;
    margin: 30px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

label, select, input, button {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    font-size: 1rem;
}

input, select, button {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

button {
    background-color: #00adef;
    color: white;
    cursor: pointer;
    border: none;
    font-weight: bold;
}

button:hover {
    background-color: #008bbf;
}

.button-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.button-row button {
    flex: 1;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top: 3px solid #00adef;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.user-ip {
    background: #f2f2f2;
    padding: 10px;
    border-left: 4px solid #00adef;
    margin: 15px 0 30px;
    font-size: 0.95em;
    color: #222;
}

.output-box {
    white-space: pre-wrap;
    background: #323232;
    color: #f5f5f5;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 6px;
    min-height: 180px;
    font-family: monospace;
    font-size: 0.95rem;
    margin-top: 10px;
    transition: all 0.2s ease-in-out;
}

.output-box.active {
    background: #1c1c1c;
    color: #f5f5f5;
}

.download-links {
    list-style: none;
    padding-left: 0;
}

.download-links li {
    margin-bottom: 10px;
}

.download-links button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}

.test-ips {
    margin-top: 15px;
    padding-left: 20px;
    font-size: 0.95em;
}

footer {
    margin-top: 50px;
    font-size: 0.9em;
    position: fixed;
    bottom: 0;
    width: 100%;
}
