* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #111827;
}

.layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  height: 100vh;
}

.panel {
  padding: 16px;
  border-right: 1px solid #d1d5db;
  background: #f9fafb;
  overflow-y: auto;
}

.panel h1 {
  margin-top: 0;
  font-size: 20px;
}

.small {
  font-size: 13px;
  color: #4b5563;
}

label {
  display: block;
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
}

input,
select {
  width: 100%;
  padding: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

button {
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: #1d4ed8;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

button.secondary {
  background: #374151;
}

button.danger {
  background: #b91c1c;
}

button:hover {
  opacity: 0.92;
}

.row {
  margin-top: 12px;
}

.checkline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 600;
  font-size: 14px;
}

.checkline input {
  width: auto;
}

.deviation-alert {
  margin-top: 10px;
  margin-bottom: 0;
  min-height: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
}

.deviation-alert.alert {
  color: #b91c1c;
}

#tollInfo {
  margin-top: 4px;
  font-weight: 700;
}

#tollInfo.alert {
  color: #b91c1c;
}

.status {
  margin-top: 12px;
  min-height: 40px;
  font-size: 13px;
  color: #1f2937;
}

#map {
  width: 100%;
  height: 100%;
}
