body {
  font-family: system-ui, sans-serif;
  background-color: #ffffff;
  color: #212529;
  transition: background 0.3s, color 0.3s;
}

body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

.navbar {
  background-color: #f8f9fa;
}

.navbar-brand {
  font-weight: bold;
  color: #007bff !important;
}

.navbar .nav-link {
  color: #007bff;
}

.navbar .nav-link:hover {
  color: #0056b3;
}

.btn-primary {
  background-color: #198754;
  border-color: #198754;
}

.btn-primary:hover {
  background-color: #157347;
  border-color: #146c43;
}

.table th,
.table td {
  vertical-align: middle;
}

.table thead th {
  background-color: #e9f5ff;
}

.alert-success {
  background-color: #d1e7dd;
  color: #0f5132;
}

.alert-danger {
  background-color: #f8d7da;
  color: #842029;
}

#map {
  width: 100%;
  height: 400px;
  border-radius: 8px;
}

pre#jsonViewer {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.875rem;
}

input:focus,
textarea:focus,
select:focus {
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

#ipInput {
  min-width: 280px;
}

body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

.dark-mode .table {
  color: #e0e0e0;
}

.navbar-nav .nav-link.active {
  font-weight: bold;
}

#mobileNav {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1050;
}

.navbar-brand img {
  height: 64px;
  display: inline-block;
  vertical-align: middle;
}

.navbar {
  min-height: 64px;
  padding-top: 0;
  padding-bottom: 0;
}


