body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #232526, #414345);
    color: #fff;
}
.header {
    text-align: center;
    padding: 50px 20px;
}
.header h1 {
    font-size: 3em;
    margin: 0;
}
.content {
    text-align: center;
    padding: 50px 20px;
}
.content ul {
    list-style: none;
    padding: 0;
}
.content ul li {
    background: rgba(0, 0, 0, 0.5);
    margin: 10px auto;
    padding: 15px;
    border-radius: 10px;
    max-width: 600px;
    font-size: 1.2em;
}
.footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    bottom: 0;
    width: 100%;
}
.footer p {
    margin: 0;
    font-size: 0.9em;
}
.home-link {
    position: absolute;
    top: 20px;
    left: 20px;
}
.home-link a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
}
.home-link a:hover {
    text-decoration: underline;
}
.nav {
    text-align: center;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.7);
}
.nav a {
    color: #ffcc00;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}
.nav a:hover {
    text-decoration: underline;
}
button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
}
button[type="submit"] {
    background: #ffcc00;
    color: #000;
    border: none;
    border-radius: 5px;
    padding: 7px 14px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    margin-left: 0;
    transition: background 0.3s;
    height: 38px;
    line-height: 1;
}
button[type="submit"]:hover {
    background: #e6b800;
    color: #232526;
}
button.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    vertical-align: middle;
    padding: 0;
    height: 38px;
    line-height: 1;
}
/* Remove margin between icon buttons */
#copyPing, #copyTraceroute, #copyDNS, #copyPort {
    margin-left: 0 !important;
}
#clearPing, #clearTraceroute, #clearDNS, #clearPort {
    margin-left: 0 !important;
}
input[type="text"] {
    height: 38px;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 0 10px;
    box-sizing: border-box;
}
.port-form-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
