/*
tami-wordpress-plugin
tami-checkout-process.scss
2023
*/

@import "sweetalert2.min.css";
$tami-purple: #44318b;
$tami-default: $tami-purple;
$tami-green: #9efb8b;
$tami-grey: #2dc7c9;
$tami-red: #fb3651;

div#tamiCreditCardFormPopup {
  .tami-card-popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;

    .tami-card-popup-inner {
      position: relative;
      margin: 65px auto 0;
      background: #fff;
      height: 420px;
      width: 520px;
      max-width: 90%;
      max-height: 100%;
      border-radius: 6px;

      .tami-card-popup-iframe {
        height: 100%;
        width: 100%;
      }

      .tami-card-popup-close-btn {
        border: 0 none;
        width: 32px;
        height: 32px;
        text-align: center;
        position: absolute;
        right: 12px;
        line-height: 10px;
        display: block;
        padding: 0;
        border-radius: 4px;
        top: 12px;
        font-size: 21px;
        background: #e4e4e4;
        transition: all 0.2s ease;
        cursor: pointer;
        z-index: 999;

        span {
          transition: all 0.2s ease;
        }

        &:hover, &:focus {
          background-color: #d3d3d3;
        }
      }

      .tami-card-popup-loading {
        position: absolute;
        width: 100%;
        text-align: center;
        padding-top: 125px;
      }
    }

    &.tami-card-popup-show {
      display: block;
    }
  }
}

.tami-receipt-page-container {
  padding: 30px;
  border: 1px solid $tami-grey;
  border-radius: 10px;
  box-shadow: 0 0 10px -5px $tami-grey;
  background: #fff;
  .tami-button-container{
    text-align: center;
    button{
      width: 100%;
      max-width: 318px;
      margin: 10px;
      padding: 10px 40px;
      border: 1px solid $tami-purple;
      font-family: Source Sans Pro,sans-serif !important;
      //background-color: #fff;
      //color: $tami-purple;
      border-radius: 10px;
      transition: all .2s ease-out;
      background-color: $tami-purple;
      color: #fff;
      &:hover{
        background-color: darken($tami-purple,3);
        color: #fff;
      }
    }
  }
}