
body {
  font-family: 'Segoe UI', sans-serif;
  background: #f0f4f8;
  color: #333;
  margin: 0;
  padding: 0;
}
header {
  background: #003366;
  color: #fff;
  padding: 20px 10px;
  text-align: center;
}
header h1 {
  margin: 0;
  font-size: 1.8rem;
}
nav {
  margin-top: 15px;
}
nav button {
  margin: 5px;
  padding: 10px 16px;
  background: #ffd700;
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}
main {
  padding: 20px;
  max-width: 800px;
  margin: 20px auto;
}
.tool-section {
  background: #fff;
  padding: 16px 18px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px #ccc;
}
label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}
input {
  padding: 8px;
  font-size: 1rem;
  width: 100%;
  max-width: 220px;
  margin-top: 4px;
}
footer {
  text-align: center;
  padding: 12px;
  background: #eee;
  font-size: 0.9rem;
  color: #555;
}

@media (max-width: 600px) {
  nav button {
    display: block;
    width: 100%;
    margin: 8px 0;
  }
}

/* Enhanced lookup button style */
#ip-input + button {
  background: linear-gradient(to right, #0066cc, #3399ff);
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 10px;
}

#ip-input + button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

#ip-input + button:active {
  transform: scale(0.98);
}
