.auth-panel {
  background-color: var(--color-white);
  max-width: 20rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  padding: 1rem 0;
  box-sizing: border-box;
}

.auth-panel__title-container {
  text-align: left;
}

.auth-panel__subtitle {
  color: var(--color-gray-600);
  font-size: 1rem;
}

.auth-panel__container.container,
.auth-panel-toggle-content {
  padding: 0;
}

.auth-panel__container.container {
  height: 100%;
  display: flex;
}

.auth-panel__children {
  display: flex;
  flex-direction: column;
}

.auth-panel__children label {
  color: var(--color-gray-600);
}

.auth-panel__children .form-inline-label {
  justify-content: space-between;
}

.auth-panel__children form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 1.5rem 0 0;
}

.auth-panel .row {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

.auth-panel__children form .btn {
  padding: 0.5em;
  font-size: 1.1rem;
  width: 100%;
}

.auth-panel__body {
  background-color: var(--bg-light);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-panel__footer {
  background-color: var(--color-gray-100);
}

.auth-panel-toggle-content {
  text-align: left;
  color: var(--color-gray-600);
  margin-top: 1.5rem;
}

.auth-panel-toggle-content a {
  font-weight: bold;
  color: var(--color-primary);
}

@media only screen and (orientation: portrait) {
  .auth-panel__title-container {
    text-align: center;
  }

  .auth-panel__container.container {
    align-items: flex-start;
  }

  .auth-panel-toggle-content {
    text-align: center;
  }

  .auth-panel__body {
    align-items: center;
  }
}

@media only screen and (orientation: portrait) and (max-height: 44rem) {
  .auth-panel__children form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0.5rem 0 0;
  }
}
