* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f4f6;
  color: #1e1e2c;
}
a { color: #0b5ed7; text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #0f172a;
  color: #fff;
}
.topbar nav a { margin-left: 12px; color: #fff; }
.brand { font-weight: bold; letter-spacing: 0.3px; }

.content {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 16px;
}

.panel {
  background: #fff;
  border: 1px solid #dfe3ea;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel h2 { margin: 0 0 12px 0; }

.inline-form { display: flex; gap: 8px; align-items: center; }
.inline-form input { padding: 6px 8px; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 8px; border-bottom: 1px solid #e7e8ec; text-align: left; }

label { display: block; margin-bottom: 12px; font-weight: 600; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], select, textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccd1dc;
  border-radius: 6px;
  font-size: 14px;
}
textarea { min-height: 80px; }

button {
  background: #0b5ed7;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
}
button:disabled { background: #8fa3c0; cursor: not-allowed; }
.button-link {
  display: inline-block;
  background: #0b5ed7;
  color: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  text-decoration: none;
  margin-left: 8px;
}

.note { color: #6b7280; font-size: 13px; margin-top: 6px; }
.alert { padding: 10px; border-radius: 6px; margin-bottom: 12px; }
.alert.error { background: #fde8e8; color: #b91c1c; border: 1px solid #f5c2c2; }
.alert.success { background: #e7f6e7; color: #166534; border: 1px solid #c4e3c4; }

.location-list { list-style: none; padding: 0; margin: 0; }
.location-list li { padding: 6px 0; border-bottom: 1px solid #e7e8ec; }

.map { width: 100%; height: 400px; border-radius: 8px; overflow: hidden; }

.log {
  background: #0f172a;
  color: #cbd5e1;
  padding: 12px;
  border-radius: 6px;
  overflow: auto;
  max-height: 320px;
  font-size: 13px;
}

.narrow { max-width: 420px; margin: 0 auto; }
.button-row { margin: 8px 0; display: flex; gap: 8px; }
