:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

html, body, #app {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}

a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 380px;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  gap: 1rem;
}

.container > section {
  display: flex;
  flex-direction: column;
}

input[type="text"],
input[type="password"] {
  flex: 1 0 auto;
  display: block;
  padding: 0.5rem;
  border: none;
  border-radius: 4px;
  background-color: #333;
  color: #fff;
}

button {
  padding: 0.5rem;
  border-radius: 4px;
  border: none;
  background-color: #333;
}

button:hover {
  background-color: #444;
}

button:disabled {
  background-color: #555;
  cursor: not-allowed;
}

button:active {
  background-color: #666;
}

#status {
  cursor: pointer;
}

#status.READY {
  color: #4caf50;
}

#status.ERROR {
  color: #f44336;
}

#selectors {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#selectors > .ping-control {
  align-self: flex-start;
}

#selectors > .selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

#selectors .remove-control,
#selectors .ping-control {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  line-height: 1rem;
  font-size: 1rem;
  padding: 0rem;
}

#selectors .ping-control {
  font-size: 1.6rem;
  color: #ccc;
}

#selectors > .selector > input {
  padding-right: 2rem;
}