.registration-page,
.registration-screen {
  background: #fffcf7;
  color: #000;
}

.registration-back {
  position: absolute;
  top: 65px;
  left: 80px;
  width: 372px;
  height: 34px;
  animation: registration-appear .65s ease both;
}

.registration-intro {
  position: absolute;
  top: 191px;
  left: 91px;
  width: 735px;
  margin: 0;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.17;
  animation: registration-rise .8s .12s ease both;
}

.registration-form {
  position: absolute;
  top: 178px;
  left: 1034px;
  width: 810px;
  height: 470px;
  animation: registration-rise .8s .22s ease both;
}

.registration-field {
  display: block;
  width: 100%;
  height: 96px;
}

.registration-field input {
  display: block;
  width: 100%;
  height: 61px;
  border: 0;
  border-bottom: 2px solid #9c9b97;
  border-radius: 0;
  padding: 0 0 7px;
  background: transparent;
  color: #000;
  font: 400 32px/1 Helvetica, Arial, sans-serif;
  outline: 0;
  transition: border-color .25s ease;
}

.registration-field input::placeholder {
  color: #111;
  opacity: 1;
}

.registration-field input:focus {
  border-color: #000;
}

.registration-notice {
  width: 710px;
  margin: 17px 0 0;
  color: #85847f;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
}

.registration-submit {
  position: absolute;
  top: 351px;
  left: 0;
  display: grid;
  width: 198px;
  height: 75px;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: #000;
  color: #fff;
  font: 400 35px/1 Helvetica, Arial, sans-serif;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.registration-submit:hover,
.registration-submit:focus-visible {
  transform: translateY(-3px);
  background: #303030;
  box-shadow: 0 9px 18px rgb(0 0 0 / 15%);
}

.registration-submit:focus-visible {
  outline: 3px solid #000;
  outline-offset: 5px;
}

.registration-status {
  position: absolute;
  top: 438px;
  left: 0;
  width: 790px;
  margin: 0;
  color: #822e1b;
  font-size: 22px;
  line-height: 1.2;
}

.registration-keyboard {
  position: absolute;
  top: 653px;
  left: 230px;
  width: 1454px;
  height: 390px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: registration-keyboard-in .75s .3s cubic-bezier(.2,.7,.2,1) backwards;
  transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
}

.registration-keyboard.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(35px);
  pointer-events: none;
}

.registration-keyboard.kaluz-keyboard.hg-theme-default {
  font-family: Helvetica, Arial, sans-serif;
  overflow: visible;
}

.registration-keyboard.is-reference-layout {
  background: url("../assets/images/registration/letters-layout.svg") no-repeat 0 0 / 1454px 390px;
}

.registration-keyboard.is-spanish-layout {
  background-image: url("../assets/images/registration/letters-layout-es.svg");
}

.registration-keyboard .hg-row {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 70.6133px;
  margin: 0;
}

.registration-keyboard.hg-theme-default .hg-row:not(:last-child) {
  margin-bottom: 0;
}

.registration-keyboard.hg-theme-default .hg-row .hg-button:not(:last-child) {
  margin-right: 0;
}

.registration-keyboard.hg-theme-default .hg-button {
  position: absolute;
  top: 0;
  display: flex;
  height: 70.6133px;
  margin: 0;
  border: 0;
  border-radius: 10px;
  padding: 0 0 6px;
  align-items: flex-end;
  background: #fff;
  color: #555;
  box-shadow: 0 3px 5px rgb(0 0 0 / 14%), 0 10px 16px rgb(0 0 0 / 10%);
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  max-width: none;
  touch-action: manipulation;
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}

.registration-keyboard.hg-theme-default .hg-button:hover,
.registration-keyboard.hg-theme-default .hg-button:focus-visible {
  background: #f7f7f7;
}

.registration-keyboard.hg-theme-default .hg-button:active {
  transform: translateY(2px);
  box-shadow: none;
}

.registration-keyboard.hg-theme-default .hg-button:focus-visible {
  outline: 3px solid #555;
  outline-offset: -4px;
}

.registration-keyboard .hg-button svg {
  width: 48px;
  height: 48px;
}

.registration-keyboard .hg-button img {
  width: 53px;
  height: 53px;
  pointer-events: none;
}

.registration-keyboard .hg-button[data-alt]::after {
  position: absolute;
  top: 8px;
  left: 0;
  width: 100%;
  color: #bbb;
  content: attr(data-alt);
  font-size: 18px;
  line-height: 1;
  text-align: center;
}

.registration-keyboard.hg-theme-default .hg-button[data-skbtn="{bksp}"],
.registration-keyboard.hg-theme-default .hg-button[data-skbtn="{shift}"],
.registration-keyboard.hg-theme-default .hg-button[data-skbtn="{enter}"],
.registration-keyboard.hg-theme-default .hg-button[data-skbtn="{globe}"],
.registration-keyboard.hg-theme-default .hg-button[data-skbtn="{microphone}"],
.registration-keyboard.hg-theme-default .hg-button[data-skbtn="{hide}"] {
  align-items: center;
  padding: 0;
}

.registration-keyboard.hg-theme-default .hg-button[data-skbtn="{enter}"] {
  background: #bdbdbd;
  color: #fff;
}

.registration-keyboard.hg-theme-default .hg-button[data-skbtn="{numbers}"],
.registration-keyboard.hg-theme-default .hg-button[data-skbtn="{letters}"] {
  align-items: center;
  padding: 0;
  font-size: 30px;
}

.registration-keyboard.is-reference-layout.hg-theme-default .hg-button {
  background: transparent;
  box-shadow: none;
}

.registration-keyboard.is-reference-layout.hg-theme-default .hg-button:hover,
.registration-keyboard.is-reference-layout.hg-theme-default .hg-button:focus-visible {
  background: rgb(85 85 85 / 5%);
}

.registration-keyboard.is-reference-layout .hg-button span {
  opacity: 0;
}

.registration-keyboard.is-reference-layout .hg-button[data-skbtn="{globe}"] span {
  opacity: 1;
}

.registration-keyboard.is-shifted-layout .hg-button:not([data-skbtn^="{"]) span {
  position: absolute;
  inset: 29px 7px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-size: 40px;
  opacity: 1;
}

.registration-keyboard.is-reference-layout .hg-button[data-alt]::after {
  content: none;
}


@keyframes registration-appear {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes registration-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes registration-keyboard-in {
  from { opacity: 0; transform: translateY(55px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .registration-back,
  .registration-intro,
  .registration-form,
  .registration-keyboard {
    animation: none;
  }

  .registration-keyboard,
  .registration-keyboard.hg-theme-default .hg-button,
  .registration-submit,
  .registration-field input {
    transition: none;
  }
}
