raf-setup-payment {
  position: relative;
  display: block;

  @keyframes fadeRoll {
    0% {
      transform: rotate(30deg) translateY(50px) scale(0.6);
      opacity: 0;
    }
    80% {
      transform: rotate(-15deg) translateY(-10px) scale(1);
      opacity: 1;
    }
    100% {
      transform: rotate(0deg) translateY(0) scale(1);
      opacity: 1;
    }
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  ion-slide {
    width: 100%;
    display: block !important;
    height: auto !important;
    padding: 15px 30px;

    ion-input {
      border-bottom: 1px solid #ffffff;
    }
  }

  h1 {
    text-align: left;
    color: #ffffff;
    font-size: 24px;
    font-family: var(--theme-font-primary);
  }

  p {
    text-align: left;
    color: #ffffff;
    font-size: 18px;
    font-family: var(--theme-font-secondary);
  }

  .sub-header {
    position: relative;
    ion-icon {
      position: absolute;
      top: 3px;
      left: 5px;
      height: 30px;
      width: 30px;
      color: var(--theme-light-grey);
    }
    p {
      font-size: 22px;
      margin: 0;
      padding-left: 40px;
      height: 40px;
      line-height: 40px;
    }
  }

  .form-section {
    padding: 15px 30px;
  }

  .navigation-buttons {
    margin-top: 15px;
    ion-button[slot='start'] {
      float: left;
    }
    ion-button[slot='end'] {
      float: right;
    }
  }

  ion-item.item-input {
    --border-color: var(--theme-grey);
    --padding-top: 20px;
  }

  raf-step-tracker {
    position: absolute;
    top: 38px;
    right: 30px;
  }

  ion-slide#start-now {
    ion-col:first-of-type {
      min-width: 130px;
      max-width: 130px;
    }
    ion-col ion-icon {
      display: block;
      margin: 0 auto;
      height: 100px;
      width: 100px;
      color: #ffffff;
    }

    @media only screen and (max-width: 500px) {
      ion-col:first-of-type {
        min-width: 100%;
        max-width: 100%;
      }
    }
  }

  ion-slide#funding-source {
    ion-grid {
      ion-row {
        ion-col {
          padding-top: 0px;
          ion-item {
            .item-native {
              padding-top: 0px;
            }
          }
        }
      }
    }
    #business-info {
      position: relative;
      display: block;
      width: 100%;
    }

    ion-label {
      font-size: 18px !important;
      color: var(--theme-light-text);
      font-family: var(--theme-font-secondary) !important;
      margin-top: 10px;
    }

    // ion-icon {
    //   display: block;
    //   height: 100px;
    //   width: 100px;
    //   margin: 0 auto;
    //   color: #ffffff;
    //   overflow: visible;
    // }

    // ion-col.active::after {
    //   position: absolute;
    //   top: 0px;
    //   right: calc(50% - 65px);
    //   display: block;
    //   height: 40px;
    //   width: 40px;
    //   content: '';
    //   background: var(--theme-primary);
    //   border-radius: 100%;
    //   background-image: var(--theme-icon-checkmark);
    //   z-index: 10;
    // }
    // ion-col p {
    //   text-align: center;
    // }
    // ion-col:first-of-type,
    // ion-col:last-of-type {
    //   cursor: pointer;
    // }
    // ion-col:nth-of-type(2) {
    //   max-width: 50px;
    //   span {
    //     display: block;
    //     position: relative;
    //     margin-top: 50px;
    //     color: transparent;
    //     &:before {
    //       display: block;
    //       content: '';
    //       width: 100%;
    //       height: 100%;
    //       min-height: 150px;
    //       position: absolute;
    //       left: -50%;
    //       top: -50px;
    //       border-right: 1px solid #fff;
    //       z-index: 1;
    //     }
    //     &:after {
    //       position: relative;
    //       margin-left: -15px;
    //       padding: 10px 0;
    //       margin-top: 50px;
    //       width: 100%;
    //       background-color: var(--theme-primary);
    //       color: var(--theme-light-grey);
    //       font-size: 18px;
    //       font-family: var(--theme-font-primary);
    //       background-color: var(--theme-primary);
    //       z-index: 4;
    //       content: 'OR';
    //     }
    //   }
    // }
  }

  .success-message {
    margin: 0 auto;
    max-width: 800px;
    section {
      ion-icon {
        display: block;
        height: 150px;
        width: 150px;
        color: var(--theme-green);
        display: block;
        width: 100%;
        opacity: 0;
      }
      p {
        font-size: 18px;
        font-weight: bold;
        color: #ffffff;
        text-align: center;
        opacity: 0;
      }
    }
  }

  .animate {
    section {
      ion-icon {
        animation: fadeRoll 2s;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
      }
      p {
        animation: fadeIn 1.5s ease;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
        animation-delay: 1s;
      }
    }
  }

  .border-box {
    margin-top: 15px;
    h2 {
      color: #ffffff;
      margin: 0;
    }
    p {
      margin: 0;
      color: var(--theme-grey);
    }
  }

  ion-slide#success {
    & > ion-icon:first-of-type {
      height: 150px;
      width: 150px;
      color: var(--theme-green);
    }
  }

  @media only screen and (max-width: 500px) {
    h1 {
      font-size: 24px;
      padding: 3px 0 0 15px;
    }
    .sub-header {
      p {
        font-size: 22px;
      }
    }
    raf-step-tracker {
      position: absolute;
      top: 20px;
      right: 15px;
    }
    ion-slide {
      padding: 10px;
    }
    .form-section {
      padding: 0;
    }
  }
}
