.register-page {
  position: relative;
  flex: 1 1 auto;
  background: #ffffff;
}

.register-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 0.5rem 1rem;
  background: #ffffff;
}

.register-card {
  width: 100%;
  max-width: 36rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.register-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.register-logo {
  width: auto;
  height: 4rem;
}

.register-title {
  margin: 0 0 0.125rem;
  color: #3A66B7;
  font-size: 1.25rem;
  font-weight: 700;
}

.register-description {
  margin: 0;
  color: #52525b;
  font-size: 0.75rem;
  line-height: 1.5;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.register-grid {
  display: grid;
  gap: 0.75rem;
}

.register-grid--two {
  grid-template-columns: 1fr;
}

.register-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.register-label {
  color: #27272a;
  font-size: 0.875rem;
  font-weight: 500;
}

.register-input-wrap {
  position: relative;
}

.register-input-icon {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.75rem;
  display: flex;
  align-items: center;
  color: #a1a1aa;
  pointer-events: none;
}

.register-icon {
  width: 1rem;
  height: 1rem;
}

.register-icon--hidden {
  opacity: 0;
}

.register-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  background: #fafafa;
  padding: 0.75rem 0.75rem;
  color: #18181b;
  font-size: 0.875rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.register-input--with-icon {
  padding-left: 2.25rem;
  padding-right: 0.75rem;
}

.register-input--password {
  padding-left: 1rem;
  padding-right: 3rem;
}

.register-input:focus {
  outline: none;
  border-color: #3A66B7;
  box-shadow: 0 0 0 1px #3A66B7;
}

.register-password-toggle {
  position: absolute;
  top: 0;
  right: 0.75rem;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #a1a1aa;
  cursor: pointer;
  transition: color 150ms ease;
}

.register-password-toggle-icon {
  width: 1rem;
  height: 1rem;
}

.register-password-toggle-icon--closed {
  display: block;
}

.register-password-toggle-icon--open {
  display: none;
}

.register-password-toggle.is-visible .register-password-toggle-icon--closed {
  display: none;
}

.register-password-toggle.is-visible .register-password-toggle-icon--open {
  display: block;
}

.register-password-toggle:hover {
  color: #52525b;
}

.register-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
  color: #52525b;
  font-size: 0.75rem;
}

.register-checkbox {
  margin-top: 0.25rem;
  accent-color: #3A66B7;
}

.register-consent-text {
  line-height: 1.5;
}

.register-consent-link {
  border: none;
  padding: 0;
  background: transparent;
  color: #3A66B7;
  font-weight: 500;
  cursor: pointer;
  transition: color 150ms ease;
}

.register-consent-link:hover {
  color: #2F5599;
}

.register-submit {
  width: 100%;
  margin-top: 0.25rem;
  border: none;
  border-radius: 0.375rem;
  background: #3A66B7;
  padding: 0.625rem 1rem;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 200ms ease;
}

.register-submit:hover {
  background: #2F5599;
}

.register-footer {
  margin-top: 0.625rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e4e4e7;
  color: #52525b;
  font-size: 0.75rem;
  text-align: center;
}

.register-footer-link {
  color: #3A66B7;
  font-weight: 600;
  text-decoration: none;
  transition: color 150ms ease;
}

.register-footer-link:hover {
  color: #2F5599;
}

@media (min-width: 640px) {
  .register-card {
    padding: 1rem;
  }

  .register-logo {
    height: 5rem;
  }

  .register-title {
    font-size: 1.5rem;
  }

  .register-description {
    font-size: 0.875rem;
  }

  .register-form {
    gap: 0.625rem;
  }

  .register-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .register-footer {
    margin-top: 0.625rem;
    font-size: 0.875rem;
  }
}