body {
	margin: 0;
	font-family: sans-serif;
	height: 100vh;
	display: flex;
	flex-direction: column;
}


:root {
	--ball-stroke: 1px solid rgba(0,0,0,.25); /* or 'none' */
	--status-bar-bg: #00c0ff;
	--status-bar-height: 46px;
	
	--ball-size: 22px;
	--ball-color: #B00000;
}

#status-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--status-bar-height);
  background: var(--status-bar-bg);
  padding: 0 12px;
  box-sizing: border-box;
  overflow: hidden;            /* prevents any accidental spillover */
}

/* center the logo horiztally and vertically				*/
/* Use height instead of only max-height; keep width auto	*/
#logo {
  display: block;
  justify-self: center;
  align-self: center;
  height: calc(var(--status-bar-height) - 12px);
  width: auto;
  object-fit: contain;         /* safe with explicit height */
}

#status-bar .gps-status-wrap,
#status-bar .con-status-wrap {
  position: static;							/* override earlier absolute positioning */
  display: inline-flex;
  align-items: center;						/* vertical centering of dot + labels */
  gap: 8px;
}


/* Small labels flanking the dot */
.dot-label {
	font-size: .9rem;
	font-weight: normal;
}


.status-ball {
  position: relative;
  width: var(--ball-size);
  height: var(--ball-size);
  border-radius: 50%;
  background: var(--ball-color);               /* solid base */
  border: none;
  /* subtle “3D” via two inset shadows (works well at 20–36px) */
  box-shadow:
    inset 0 -1px 2px rgba(0,0,0,.25),
    inset 0  1px 0.5px rgba(255,255,255,.55);
  cursor: pointer;
}

.status-ball::after {
  content: "";
  position: absolute;
  top: 18%;
  left: 22%;
  width: 20%;
  height: 20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.85), rgba(255,255,255,0) 70%);
  pointer-events: none;
}


#resizable-container {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

#main-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-bottom: 10px;
}

.field {
	display: flex;
	margin: 10px;
	width: 80%;
	max-width: 600px;
}

.field label {
	width: 120px;
	line-height: 2em;
}

.field input {
	flex: 1;
	padding: 5px;
}

.button-row {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 20px;
}

button {
	padding: 10px 20px;
	font-size: 16px;
}

#divider {
	height: 6px;
	background: #ccc;
	cursor: row-resize;
}

#consoleOutput {
	height: 150px;
	overflow-y: auto;
	background: #f0f0f0;
	font-family: monospace;
	font-size: 14px;
	padding: 10px;
	box-sizing: border-box;
	white-space: pre-wrap;
}
