/* Status dots */
.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-online  { background: #22c55e; box-shadow: 0 0 6px #22c55e88; }
.status-offline { background: #ef4444; box-shadow: 0 0 6px #ef444488; }
.status-unknown { background: #6b7280; }

/* Form inputs */
.form-label {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}
.form-input {
  width: 100%;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: #f3f4f6;
  outline: none;
  transition: border-color 0.15s;
  font-family: monospace;
}
.form-input:focus {
  border-color: #22d3ee;
}
.form-input::placeholder {
  color: #4b5563;
}

/* Log output */
.log-output {
  background: #0a0f1a;
  border: 1px solid #1f2937;
  border-radius: 0.5rem;
  padding: 1rem;
  font-size: 0.7rem;
  line-height: 1.5;
  color: #86efac;
  overflow-x: auto;
  max-height: 500px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

/* Tab buttons */
.tab-btn {
  color: #6b7280;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.tab-btn:hover {
  color: #d1d5db;
}
.tab-btn.active {
  color: #22d3ee;
  border-bottom-color: #22d3ee;
}

/* HTMX indicator */
.htmx-indicator {
  opacity: 0;
  transition: opacity 200ms ease-in;
}
.htmx-request .htmx-indicator {
  opacity: 1;
}

/* Mobile touch improvements */
button, a {
  touch-action: manipulation;
}

@media (max-width: 640px) {
  .tab-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }

  .log-output {
    font-size: 0.65rem;
    max-height: 350px;
  }
}
