@import 'moda-themes/themes';

.ShippingAddressForm {
  font-family: font-family('sans');
  font-size: font-size('sm');
  color: color('cement');

  &__subheader {
    margin-bottom: 1rem;
    font-size: font-size('sm');
  }

  &__input {
    width: 100%;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
    &.size-error, &.qty-error {
      border: 1px solid color('code-red');
    }
    &--small-on-desktop {
      @include breakpoint('md') {
        width: 12rem;
      }
    }
  }

  &__icon {
    transform: translateY(calc(2.25rem)) translateX(-0.5rem);
    float: right;

    &--warning {
      color: color('code-red');
    }

    &--checkmark {
      color: color('money-good');
    }
  }

  &__add-line-2 {
    text-decoration: underline;
    color: color('cement');
    margin-bottom: 1rem;
  }

  &__city-and-state-section {
    @include breakpoint('md') {
      display: flex;
      justify-content: space-between;
    }
  }
}
