.viva-credit-card-form{
    padding: 5px !important;
    position: relative;
    border: 1px solid #ddd;
    font-family: "Roboto", sans-serif;
    width:100% !important;
    border-radius: 3px;
     }
.remove{
  color: red;
  width: 5%;
  cursor: pointer;
  font-size: 100%;
  font-weight: 800;
  display: none;
}
    
    .viva-input{
      padding: 0px !important;
      margin-bottom:0px !important;
      margin-top:5px !important;
        border:none !important;
        outline: none !important;
        box-shadow: none !important;
        display: inline-block;
        color: #31325F !important;
        font-size: 15px;
    
    }

    .viva-input::placeholder{
      color:gray !important;
      font-size:15px;
      }

    .cardnumber{
      background: none;
      background-position: right center 5px;
      width: 95% !important;
    }

    .cardholder{
      background: none !important;
      width: 100%;
    }
    
    .expiry{
      background: none !important;
      margin: 0 !important;
      width:20% !important;
      margin-left: 5% !important;
        }
    .cvv{
      background: none !important;
        width:20% !important;
    }
    
    .three-ds-popup{
        border-radius: 5px;
        height: 70vh;
        width: 500px;
        padding: 40px;
        min-height: 400px;
        position: fixed;
        margin-left: calc(50vw - 200px);   
        margin-top: 15vh;
        z-index: 999;
        background: white;
        animation: popup-shadow 0.5s normal forwards ease-in-out;
        animation-delay: 0.2s;
    }
    
    @keyframes popup-shadow {
      0% {
        box-shadow: 0 0px 0px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0);
        margin-top: 15vh;
      }
    
      100% {
        box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
        margin-top: 10vh;
      }
    }
    
    @keyframes popup-fadein {
      0% {
        background: rgba(31, 36, 57,0.0);
      }
    
      100% {
        background: rgba(43,43,43,0.5);
      }
    }
    .three-ds-container{
        text-align: center;
        width: 100vw;
        height: 100vh;
        position: fixed;
        top:0;
        left: 0;
        right: 0;
        z-index: 998;
        background: rgba(31, 36, 57,0.0);
        animation: popup-fadein 2s normal forwards ease-in-out;
        animation-delay: 0.5s;
        
    
    }

    
    .lds-dual-ring {
        margin-left:20px;
        margin-top: 25vh;
      display: inline-block;
      width: 64px;
      height: 64px;
    }
    .lds-dual-ring:after {
      content: "";
      display: block;
      width: 46px;
      height: 46px;
      margin: 0px;
      border-radius: 100%;
      border: 2px solid #00d67d;
      border-color: #00d67d transparent #00d67d transparent;
      animation: lds-dual-ring 0.5s linear infinite ;
    }
    @keyframes lds-dual-ring {
      0% {
        transform: rotate(0deg);
      }
    
      100% {
        transform: rotate(360deg);
      }
    }
    
    @media screen and (max-width: 768px) {
      .three-ds-popup{
        border-radius: 0px;
        height: 100vh;
        width: 100vw;
        position: fixed;
        margin-left:0px;   
        margin-top: 0px;
        padding: 0px;
    }
    .viva-credit-card-form{
    width:95%;
    padding: 4px;
    }
    .cardnumber{
      width:80%
    }
    .card-logo{
     margin-top:0;
    }
    .expiry{
      width: 30px;
    }
    .cvc{
      width: 30px;
    }
    .three-ds-container{
        animation: popup-fadein 1.5s normal forwards ease-in-out;
    }
    
    @keyframes popup-fadein {
      0% {
        top:100vh;
      }
      100% {
        top:0;
      }
    }

    @keyframes popup-shadow {
     0% {
       box-shadow: 0 0px 0px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0);
     }
   
     100% {
       box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
     }
   }
    }
    