#wc-ppcp-express-button,
#wc-ppcp_card-express-button {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  .paypal-buttons,
  .wc-ppcp-fastlane-button {
    width: 100%;
    margin: 0;
    flex: 1 1 150px;
    padding: 0px;

    img {
      &.wc-ppcp-fastlane-icon {
        height: 38%;
      }
    }
  }
}

.wc-ppcp-fastlane-button {
  /*padding: 8px 8px;
  margin-top: 8px;*/
  border-radius: 4px;
  background-color: #ffc439;
  border: none;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  /*box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 1px -2px, rgba(0, 0, 0, 0.14) 0px 2px 2px 0px, rgba(0, 0, 0, 0.12) 0px 1px 5px;*/
  transition: background-color 0.35s ease;

  &.processing {
    opacity: 0.4;
  }

  &:hover {
    background: #eab436;
  }

  :disabled {
    opacity: 0.4;
  }
}

.fastlane-modal-open {
  overflow: hidden;
}

.wc-ppcp-fastlane-overlay {
  display: flex !important;
  justify-content: center;
  align-items: center;
  position: fixed !important;
  z-index: 2147483647 !important;
  background: rgba(255, 255, 255, 0.75) !important;
  transition: background 400ms, opacity 350ms, visibility 350ms !important;
  will-change: background !important;
  inset: 0px !important;
  margin: 0px !important;
  padding: 0px !important;
  opacity: 0;
  visibility: hidden;

  &.active {
    opacity: 1;
    visibility: visible;
  }

  .wc-ppcp-fastlane-modal {
    width: 100%;
    max-width: 600px;
    height: calc(100% - 60px);
    overflow-y: scroll;
    box-shadow: 0 7px 32px rgba(0, 0, 0, .15), 0 3px 6px rgba(0, 0, 0, .2);
    padding: 24px;
    background: #fff;
    border-radius: 8px;
    transform: scale(0.8);
    opacity: 0;
    transition: opacity 350ms ease-in-out, transform 350ms ease-out, visibility 350ms;
  }

  &.active .wc-ppcp-fastlane-modal {
    transform: scale(1);
    opacity: 1;
  }

  .wc-ppcp-fastlane-modal-body {
    // Your existing styles
  }

  .wc-ppcp-fastlane-modal-field {
    display: flex;
    height: 64px;
    margin: 0 8px 1em 8px;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    padding-left: 0.625em;
    padding-right: 0.625em;
    background-color: #fff;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    border-color: #dadddd;
    position: relative;

    &.focused {
      &::before {
        content: '';
        border-color: #0057ff;
        border-style: solid;
        border-width: 2px;
        border-radius: 4px;
        box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02), 0 0 0 3px hsla(210, 96%, 45%, 25%), 0 1px 1px 0 rgba(0, 0, 0, 0.08);
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
      }
    }

    .wc-ppcp-fastlane-modal-input {
      width: 100%;
      padding: 1.25em 0 0 0;
      border: none;
      background-color: #fff;
      box-shadow: none;
      font-size: 16px;

      &:focus,
      &.not-empty {
        border: none;
        outline: none;

        + .wc-ppcp-fastlane-modal-field-label {
          transform: translateY(-100%) scale(0.875);
        }
      }
    }

    .wc-ppcp-fastlane-modal-field-label {
      position: absolute;
      transition-property: all;
      transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
      transition-duration: 150ms;
      opacity: 0.7;
      color: #000;
      top: 50%;
      left: 12px;
      transform: translateY(-50%);
      transform-origin: left center;
    }
  }

  .wc-ppcp-fastlane-modal-buttons {
    display: flex;
    flex-direction: column;
    margin-top: 16px;

    > :nth-child(n + 2) {
      margin-top: 16px;
    }

    .wc-ppcp-fastlane-tokenize {
      font-size: 1.2rem;
      color: #fff;
      background-color: #003087;
      border-radius: 1000px;

      &:disabled {
        opacity: 0.5;
      }
    }

    .wc-ppcp-fastlane-cancel {
      color: #0070e0;
      cursor: pointer;
      text-align: center;
      text-decoration: none;
    }
  }
}

.payment_method_braintree_cc {
  .wc-ppcp-tokenized-card {
    display: flex;
    width: 100%;
    padding: 0.75em;
    border: 1px solid #eeee;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 12px 0 rgba(0, 0, 0, 0.08), 0 0 2px 0 rgba(0, 0, 0, 0.04);

    &:not(.has-customer-context) {
      a {
        &.wc-ppcp-tokenized-card-change {
          display: none;
        }
      }
    }

    .wc-ppcp-tokenized-card-format {
      margin-left: 16px;
      color: #000000;
    }

    .wc-ppcp-tokenized-card-actions {
      display: flex;
      flex: 1;
      flex-direction: row;
      justify-content: flex-end;

      a {
        cursor: pointer;

        &:nth-child(n+2) {
          margin-left: 12px;
        }
      }
    }

    .wc-ppcp-tokenized-card-icon-container {
      img {
        width: 32px;
        height: 24px;
      }
    }
  }
}

#wc-ppcp-watermark-container {
  margin-top: 0.8em;
}

.fastlane-signup-link-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 1em;
  color: #0570de;
  font-weight: 600;
  border-radius: 4px;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02);
  background: #fff;
  padding: 6px 12px;
  border: 1px solid #e6e6e6;
  transition: box-shadow 0.35s ease;;

  &:hover {
    box-shadow: 0 0 transparent,0 0 transparent,0 1px 12px 0 rgba(0,0,0,.08),0 0 2px 0 rgba(0,0,0,.04);
  }

  .fastlane-signup-img {
    margin-left: 8px;
  }
}