.login-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 24px 20px;
  padding: 32px 24px 24px;
  border-radius: $radius-lg;
  background: linear-gradient(160deg, rgba(45, 34, 85, 0.7) 0%, rgba(31, 23, 66, 0.7) 100%);
  border: 1px solid rgba(216, 180, 255, 0.12);
}

.login-card__title {
  color: $fg;
  font: 700 22px / 1.1 $font-display;
}

.login-card__sub {
  margin-top: 8px;
  color: $fg-2;
  font: 400 13px / 1.5 $font-body;
  text-align: center;
}

.login-card__avatar-btn {
  width: 88px;
  height: 88px;
  margin: 24px 0 20px;
  padding: 0;
  border-radius: 50%;
  background: $surface-2;
  border: 1px dashed rgba(216, 180, 255, 0.3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: normal;
}

.login-card__avatar-btn::after {
  border: none;
}

.login-card__avatar-img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
}

.login-card__avatar-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.login-card__avatar-plus {
  color: $accent;
  font: 300 26px / 1 $font-display;
}

.login-card__avatar-hint {
  color: $muted;
  font: 400 11px / 1 $font-body;
}

.login-card__field {
  width: 100%;
  margin-bottom: 16px;
  padding: 0 16px;
  box-sizing: border-box;
  border-radius: 12px;
  background: rgba(20, 16, 43, 0.6);
  border: 1px solid rgba(216, 180, 255, 0.1);
}

.login-card__input {
  height: 46px;
  color: $fg;
  font: 400 14px / 46px $font-body;
}

.login-card__placeholder {
  color: $muted;
}

.login-card__submit {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  text-align: center;
  box-sizing: border-box;
  background: linear-gradient(90deg, $accent 0%, $accent-2 100%);
  color: $primary-on;
  font: 700 14px / 1 $font-body;
}

.login-card__submit--disabled {
  opacity: 0.45;
}

.login-card__tip {
  margin-top: 14px;
  color: $muted;
  font: 400 11px / 1.4 $font-body;
  text-align: center;
}
