@import url("/css/login.css");

.register-page {
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}

.register-page .login-visual {
  position: relative;
}

.register-panel {
  height: 100vh;
  min-height: 0;
  overflow: hidden;
  padding-top: 18px;
  padding-bottom: 18px;
}

.register-container {
  max-width: 560px;
}

.register-brand {
  margin-bottom: 14px;
}

.register-brand .login-brand__logo {
  width: 140px;
  margin-bottom: 6px;
}

.register-brand h2 {
  font-size: 20px;
  line-height: 26px;
}

.register-card {
  min-height: 0;
  gap: 14px;
  padding: 20px 24px 22px;
}

.register-card .login-card__header h3 {
  font-size: 17px;
  line-height: 22px;
}

.register-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.register-form .form-field {
  gap: 6px;
}

.register-form .form-field > span:first-child {
  font-size: 11px;
  line-height: 14px;
}

.register-form .input-shell,
.register-form .input-shell input,
.custom-select__button {
  height: 42px;
}

.register-form .input-shell input,
.custom-select__button {
  padding-top: 11px;
  padding-bottom: 11px;
}

.register-form .form-field:first-child,
.register-submit,
.register-form-footer {
  grid-column: 1 / -1;
}

.register-form .input-shell input {
  padding-right: 16px;
  padding-left: 16px;
}

.register-form .input-shell--icon input {
  padding-left: 48px;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select__button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #c0c7cc;
  border-radius: 12px;
  background: #f9f9fb;
  color: #6b7280;
  cursor: pointer;
  font-size: 14px;
  line-height: 18px;
  outline: none;
  padding-right: 14px;
  padding-left: 16px;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.custom-select__button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: #71787d;
}

.custom-select.has-value .custom-select__button {
  color: #191c1d;
}

.custom-select__button:hover {
  border-color: #9aa5ad;
  background: #ffffff;
}

.custom-select__button:focus,
.custom-select.is-open .custom-select__button {
  border-color: #33647a;
  box-shadow: 0 0 0 3px rgba(51, 100, 122, 0.12);
}

.custom-select__button svg {
  transition: transform 160ms ease;
}

.custom-select.is-open .custom-select__button svg {
  transform: rotate(180deg);
}

.custom-select__menu {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 10;
  display: none;
  margin: 6px 0 0;
  padding: 6px;
  border: 1px solid #c0c7cc;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(25, 28, 29, 0.14);
  list-style: none;
}

.custom-select.is-open .custom-select__menu {
  display: block;
}

.custom-select__menu li {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 8px;
  color: #41484c;
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
}

.custom-select__menu li:hover,
.custom-select__menu li.is-selected {
  background: rgba(173, 222, 247, 0.28);
  color: #306177;
  font-weight: 600;
}

.register-submit {
  height: 46px;
  margin-top: 2px;
}

.register-form-footer {
  margin-top: 0;
  gap: 10px;
  padding-top: 14px;
}

.register-form-footer .forgot-password-link {
  padding-top: 4px;
  padding-bottom: 4px;
}

.register-footer {
  margin-top: 10px;
}

@media (max-width: 960px) {
  .register-page {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }

  .register-page .login-visual {
    position: static;
  }

  .register-panel {
    height: auto;
    min-height: 100svh;
    overflow: visible;
    padding-top: 28px;
    padding-bottom: 24px;
  }
}

@media (max-width: 560px) {
  .register-page {
    height: 100svh;
    min-height: 0;
    overflow: hidden;
  }

  .register-panel {
    height: 100svh;
    min-height: 0;
    overflow: hidden;
    padding: 12px 14px;
  }

  .register-container {
    max-width: 440px;
  }

  .register-brand {
    margin-bottom: 8px;
  }

  .register-brand .login-brand__logo {
    width: 112px;
    margin-bottom: 4px;
  }

  .register-brand h2 {
    font-size: 17px;
    line-height: 22px;
  }

  .register-card {
    gap: 8px;
    padding: 12px 14px;
  }

  .register-card .login-card__header h3 {
    font-size: 15px;
    line-height: 20px;
  }

  .register-form {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .register-form .form-field {
    gap: 3px;
  }

  .register-form .form-field > span:first-child {
    font-size: 10px;
    line-height: 12px;
  }

  .register-form .input-shell,
  .register-form .input-shell input,
  .custom-select__button {
    height: 34px;
  }

  .register-form .input-shell input,
  .custom-select__button {
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 12px;
    line-height: 16px;
  }

  .register-form .input-shell input {
    padding-right: 12px;
    padding-left: 12px;
  }

  .register-form .input-shell--icon input {
    padding-left: 40px;
  }

  .register-form .input-icon {
    left: 14px;
    width: 14px;
    height: 15px;
  }

  .register-form .password-toggle {
    right: 14px;
    width: 16px;
    height: 16px;
  }

  .register-form .password-toggle__icon {
    width: 16px;
    height: 16px;
  }

  .register-submit {
    height: 36px;
    font-size: 12px;
    line-height: 16px;
  }

  .register-submit svg {
    width: 10px;
    height: 10px;
  }

  .register-form-footer {
    gap: 5px;
    padding-top: 8px;
  }

  .register-form-footer .forgot-password-link {
    padding: 0 8px;
    font-size: 11px;
    line-height: 16px;
  }

  .register-form-footer .signup-prompt {
    font-size: 11px;
    line-height: 16px;
  }

  .register-footer {
    margin-top: 6px;
    font-size: 10px;
    line-height: 12px;
  }

  .register-page .support-button {
    display: none;
  }
}
