* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

input, select {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

body {
  background: #000000;
  color: #cccccc;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.wrap {
  width: 100%;
  max-width: 440px;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.logo {
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}

.link-btn {
  background: none;
  border: none;
  color: #777777;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}

.link-btn:hover {
  color: #ffffff;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.nav-switch {
  margin-bottom: 16px;
  font-size: 13px;
}

.nav-link {
  background: none;
  border: none;
  color: #555555;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

.nav-link.active {
  color: #ffffff;
}

.nav-link:hover {
  color: #aaaaaa;
}

.sep {
  color: #333333;
  margin: 0 8px;
}

.row {
  margin-bottom: 10px;
}

.box {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid #222222;
  color: #ffffff;
  font-family: inherit;
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 0;
  outline: none;
}

.box:focus {
  border-color: #555555;
}

.submit-btn {
  width: 100%;
  background: #141414;
  border: 1px solid #2e2e2e;
  color: #ffffff;
  font-family: inherit;
  font-size: 12px;
  padding: 10px;
  cursor: pointer;
  border-radius: 0;
}

.submit-btn:hover {
  background: #1f1f1f;
  border-color: #444444;
}

.panel {
  background: #080808;
  border: 1px solid #1a1a1a;
  padding: 16px;
}

.panel-label {
  font-size: 11px;
  color: #666666;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.info-row {
  margin-bottom: 8px;
  font-size: 12px;
}

.muted {
  color: #666666;
}

.raw-box {
  background: #000000;
  border: 1px solid #222222;
  padding: 10px;
  color: #aaaaaa;
  font-size: 11px;
  max-height: 180px;
  overflow-y: auto;
}

.key-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #141414;
}

.key-item:last-child {
  border-bottom: none;
}

.key-text {
  font-family: inherit;
  color: #ffffff;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.table-wrap {
  max-height: 200px;
  overflow-y: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

th {
  text-align: left;
  padding: 6px 4px;
  color: #555555;
  border-bottom: 1px solid #1a1a1a;
  font-weight: normal;
}

td {
  padding: 6px 4px;
  border-bottom: 1px solid #141414;
}

.btn-inline {
  background: none;
  border: 1px solid #2a2a2a;
  color: #888888;
  font-family: inherit;
  font-size: 10px;
  padding: 3px 8px;
  cursor: pointer;
}

.btn-inline:hover {
  color: #ffffff;
  border-color: #555555;
}

.btn-danger {
  color: #cc4444;
  border-color: #442222;
}

.btn-danger:hover {
  color: #ff5555;
  border-color: #662222;
}

#status-msg {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: #111111;
  border: 1px solid #2a2a2a;
  color: #dddddd;
  padding: 6px 12px;
  font-size: 11px;
  display: none;
}
