/* The login screen (login.js). */

.login {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  padding: 48px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.login-card {
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  padding: 28px 32px 32px;
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* The design keeps an 8px gap under the name where the subtitle used to be. */
.login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 8px;
  text-align: center;
}

.login-brand img {
  display: block;
  width: 104px;
  height: 104px;
}

.login-brand h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
}

.login-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.login-main {
  width: 100%;
  min-height: 52px;
  font-size: 15px;
}

.login-wide {
  width: 100%;
}

.login-center {
  display: flex;
  justify-content: center;
}

.login-more {
  margin-top: 6px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-label {
  padding-left: 4px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}

.login-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
}

.login-submit[aria-busy='true'] {
  cursor: progress;
  opacity: 0.7;
}

.login-back {
  margin-top: 14px;
}
