.Polaris-PropflowCard__Card {
  overflow: hidden;
  background-color: color('white');
  box-shadow: shadow();

  + .Polaris-PropflowCard__Card {
    margin-top: spacing(loose);
  }

  @include page-content-when-not-fully-condensed {
    border-radius: border-radius();
  }
}

.Polaris-PropflowCard--subdued {
  background-color: color('sky', 'lighter');
}

.Polaris-PropflowCard__Header {
  padding: spacing(loose) spacing(loose) 0;
}

.Polaris-PropflowCard__Section {
  padding: spacing(loose);

  + .Polaris-PropflowCard__Section {
    border-top: 1px solid color('sky');
  }
}

.Polaris-PropflowCard__Section--fullWidth {
  padding: spacing(none);
}

.Polaris-PropflowCard__Section--subdued {
  background-color: color('sky', 'lighter');
}

.Polaris-PropflowCard__SectionHeader {
  padding-bottom: spacing(tight);

  .Polaris-PropflowCard__Section--fullWidth & {
    padding: spacing(loose) spacing(loose) spacing(tight);
  }
}

.Polaris-PropflowCard__Footer {
  display: flex;
  justify-content: flex-end;
  padding: 0 spacing(loose) spacing(loose);
}
