.access-body {
  min-height: 100dvh;
  background: var(--surface-subtle);
}

.access-header {
  position: relative;
}

.access-main {
  min-height: calc(100dvh - 64px);
  display: grid;
  place-items: center;
  padding: 34px 18px;
}

.access-panel {
  width: min(420px, 100%);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgb(23 33 43 / 0.1);
}

.access-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 6px;
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.access-icon svg,
.access-icon i {
  width: 22px;
  height: 22px;
}

.access-panel h1 {
  margin-bottom: 24px;
  font-size: 28px;
}

.access-field {
  margin-bottom: 4px;
}

.access-token-wrap input {
  padding-right: 46px;
}

.token-visibility {
  position: absolute;
  z-index: 2;
  top: 4px;
  right: 4px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: var(--ink-faint);
  background: transparent;
}

.token-visibility:hover:not(:disabled) {
  color: var(--ink);
  background: var(--surface-muted);
}

.token-visibility svg,
.token-visibility i {
  width: 17px;
  height: 17px;
}

.access-error {
  min-height: 20px;
  margin: 6px 0 8px;
  color: var(--red);
  font-size: 12px;
}

.access-submit {
  width: 100%;
  min-height: 44px;
}

@media (max-width: 520px) {
  .access-main {
    min-height: calc(100dvh - 58px);
    padding: 24px 14px;
  }

  .access-panel {
    padding: 26px 22px;
  }

  .access-panel h1 {
    font-size: 26px;
  }
}
