.bcse-paypal-commerce {
  box-sizing: border-box;
  padding-top: 20px;
}

.bcse-paypal-commerce *,
.bcse-paypal-commerce *::before,
.bcse-paypal-commerce *::after {
  box-sizing: inherit;
}

.bcse-paypal-commerce--disabled #paypal-button-container,
.bcse-paypal-commerce--disabled .bcse-paypal-custom-fields {
  position: relative;
}

.bcse-paypal-commerce--disabled #paypal-button-container::after,
.bcse-paypal-commerce--disabled .bcse-paypal-custom-fields::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: rgba(255,255,255,0.6);
  z-index: 100000;
}

.bcse-paypal-commerce--disabled .bcse-paypal-custom-fields__button {
  display: none;
}

.bcse-paypal-commerce .paypal-buttons + .paypal-buttons {
  margin-top: 12px;
}

.bcse-paypal-custom-fields {
  margin-top: 10px;
}

.bcse-paypal-custom-fields__separator {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 5px 0 10px;
}

.bcse-paypal-custom-fields__separator::after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0;
  border-bottom: 1px solid #ccc;
}

.bcse-paypal-custom-fields__separator span {
  padding: 0 10px;
  background: #fff;
  position: relative;
  text-transform: uppercase;
  z-index: 2;
  font-size: 10px;
}

.bcse-paypal-custom-fields label {
  font-size: 12px !important;
  line-height: 1 !important;
  text-transform: uppercase;
  font-weight: bold;
}

.bcse-paypal-custom-fields__form {
  margin-bottom: 10px;
}

.bcse-paypal-custom-fields__number {
  margin-bottom: 10px;
}

.bcse-paypal-custom-fields__input {
  height: 32px;
  border: 1px solid #ddd;
  padding: 0 6px;
  margin-top: 2px;
}

.bcse-paypal-custom-fields__row {
  display: flex;
  align-items: stretch;
  margin: -10px 0 0 -10px;
}

.bcse-paypal-custom-fields__row > div {
  flex: 0 0 50%;
  padding: 10px 0 0 10px;
}

.bcse-paypal-custom-fields__button {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
