@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  background: rgb(243, 243, 244);
  color: #061223;
}

#toolbar {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: #ffffff;
  border-bottom: 1px solid rgba(220, 222, 224, 0.7);
}

#logo img {
  height: 28px;
  display: block;
}

.divider {
  width: 1px;
  height: 24px;
  background: rgba(220, 222, 224, 0.7);
}

.password-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #47525e;
}

input[type="password"] {
  height: 30px;
  padding: 0 10px;
  border-radius: 5px;
  border: 1px solid rgb(220, 222, 224);
  background: #fff;
  color: #061223;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

input[type="password"]:focus {
  border-color: #2bd873;
}

button {
  height: 30px;
  padding: 0 14px;
  border-radius: 5px;
  border: 1px solid rgb(220, 222, 224);
  background: #fff;
  color: #061223;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}

button:hover:not(:disabled) {
  background: rgb(243, 243, 244);
}

button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

#connectButton {
  border-color: rgba(44, 138, 57, 0.5);
  color: #1a9e50;
}

#connectButton:hover:not(:disabled) {
  background: rgba(43, 216, 115, 0.08);
  border-color: #2bd873;
}

#status {
  margin-left: auto;
  font-size: 13px;
  color: #47525e;
  display: flex;
  align-items: center;
  gap: 6px;
}

#statusDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(220, 222, 224);
  transition: background 0.2s;
}

#statusDot.connected {
  background: #2bd873;
}
#statusDot.connecting {
  background: #fed76e;
}
#statusDot.error {
  background: #ea2c54;
}

#screen {
  width: 100%;
  height: calc(100% - 52px);
  background: rgb(243, 243, 244);
}
