
body{
    background-color: rgb(221, 220, 218);
    position: relative;
}



.paymentForm{
    height: 500px;
    background-color: rgb(255, 255, 255);
    width: 400px;
    margin: auto;
    margin-top: 20px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
   
    position: relative;
}
#timer{
    text-align: center;
    align-items: center;
    margin-top: 100px;
    height: 25px;
    color: rgb(0 86 130);
    font-size: 25px;
}

.paymentAmount{
    position: absolute;
    margin: 30px 10px;
}
#totalLabel{
    font-family: sans-serif;
    font-size: 20px;
}

#amount {
    font-family:'sans-serif';
    font-size: 25px;
    color: #5F78BA;
}

#brandLogo{
    width: 188px;
    margin-left: 100px;
    height: 45px;
    border-radius: 5px;
}

.logos {
    position: absolute;
    margin-top: 450px;
    margin-left: 10px;
}

.logos img{
    height: 35px;
    width: 54.1px;
    padding: 2.5px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cardSection {
    position: absolute;
    width: inherit;
    margin-top: 110px;
    font-family: sans-serif;
    color: #000000;
}

/* .cardSection label {
    color: white;
} */

.cardSection label{
    padding: 15px 0px 15px 10px;
    display: inline-block;
    margin-bottom: 3px;
    width: 366px;
    background-color: rgb(245, 245, 245);
    margin: 3px 5px ;
    margin-left: 10px;
    box-shadow: 0px 5px 4px rgba(0, 0, 0, 0.3);
}

#payButton{
    height: 50px;
    width: 376px;
    margin: 3px 5px ;
    font-family: sans-serif;
    background-color: #fd8d3d;
    outline: none;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    color: white;
    font-size: 20px;
    margin-left: 10px;
}

.selected {
    height: 182px;
    background-color: #cdd3e6 !important;
}

.showCardDetails {
    display: block;
}
.hideCardDetails {
    display: none;
}

.cardNumber {
    margin-top: 18px;
    margin-bottom: 7px;
    margin-left: 17px;
    border-radius: 5px;
    border: transparent;
    padding: 10px;
    width: 300px;
}
.cardHolderName {
    margin-bottom: 7px;
    margin-left: 15px;
    border-radius: 5px;
    border: transparent;
    padding: 10px;
    width: 304px;
    box-shadow: 3px 4px 1px rgb(0 0 0 / 30%);
    border: #959090 solid 0.5px;
}
#cvvInput {
    margin-bottom: 7px;
    margin-left: 17px;
    border-radius: 5px;
    border: transparent;
    padding: 7px;
    width: 50px;
}
.expiryDateInput {
    margin-bottom: 7px;
    margin-left: 10px;
    border-radius: 5px;
    border: transparent;
    padding: 7px;
    width: 205px;
    height: 22px;
    margin-top: 5px;
    box-shadow: 3px 4px 1px rgb(0 0 0 / 30%);
    border: #959090 solid 0.5px;
}

#saveCardCheckbox {
    border: none;
    margin-left: 17px;
    margin-bottom: 5px;
    vertical-align: middle;
 }
 
 #SaveCardLabel {
     margin-bottom: px;
     margin-left: 5px;
 }


 .savedCard{
    width: 320px;   
    height: 135px;  
    border: 2px solid #ccc; 
    overflow-y: auto;
    overflow-x: hidden;
    background-color: transparent; 
    margin-left: 20px;
    padding: 5px 5px;
    border: none;
 }

 .savedCreditCard{
    margin-top: 5px;
    margin-bottom: 3px;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    display: flex; 
 }

 .savedCreditCard img {
    height: 30px;
    width: 40px;
    border: 1px solid rgb(103, 103, 172) ;
    border-radius: 10px;
    margin-top: 8px;
    margin-left: 10px;
 }

  /* Custom scrollbar styles */
  .savedCard::-webkit-scrollbar {
    width: 5px; /* Width of the scrollbar */
}


.savedCard::-webkit-scrollbar-thumb {
    background-color: #588cec; /* Color of the scrollbar thumb */
    border: 2px solid #ccc; /* Optional: Add a border around the thumb */
}

.savedCard::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Color of the thumb when hovered */
}

.savedCard::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Background of the scrollbar track */
}
#savedCardNumber{
    font-size: 13px;
    color: rgb(15, 15, 151);
    margin-top: 11px;
    margin-left: 10px;
}
#cardName{
    margin-left: 40px;
    margin-top: 11px;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 13px;
}

.selectedCard{
    height: 90px !important;
    background-color: #9dc4eb !important;
}

div.savedCardElement input#cvvInput{
    color: black;
    width: 70px;
    display: block;
    padding-left: 13px;
    height: 12px;
    border: #959090 solid 0.5px;
    position: relative;
    margin-left: 205px;
    margin-top: 5px;
}

.savedCardElement{
    border-radius: 2px;
    box-shadow: 0px 5px 4px rgba(0, 0, 0, 0.3);
    height: 50px;
    background-color: white;
    border-radius: 5px;
}


/* /////////////////////////////////// NON - COF card section CSS //////////////////////////////*/
.nonCOFCardSection {
    position: absolute;
    margin-top: 140px;
}

.nonCOFCardSection input:nth-child(-n+3){
    /* border-right: 1px solid rgb(0, 0, 0, 0.5); */
    border: 1px solid rgb(0, 0, 0, 0.5);
    font-size: 15px;
    box-shadow: 3px 4px 1px rgba(0, 0, 0, 0.3);
}

.nonCOFCardSection input::placeholder {
    font-size: 15px;
}

.nonCOFCardSection label{
    font-family: sans-serif;
    font-size: 18px;
    color:#555;
    margin-left: 20px;
    display: inline-block;
}

.nonCOFCardNumber {
    margin-top: 18px;
    margin-bottom: 7px;
    margin-left: 10px;
    border-radius: 5px;
    padding: 10px;
    width: 352px;
    height: 25px;
}
.nonCOFCardHolderName {
    margin-top: 7px;
    margin-left: 10px;
    border-radius: 5px;
    padding-left: 15px;
    width: 355px;
    height: 42px;
}
.nonCOFCvvInput {
    margin-bottom: 7px;
    margin-left: 10px;
    border-radius: 5px;
    padding: 7px;
    width: 50px;
    height: 25px;
}
.nonCOFExpiryDateInput {
    margin-top: 10px;
    margin-left: 10px;
    border-radius: 5px;
    padding-left: 7px;
    width: 244px;
    height: 40px;
}
.cvvExpiryContainer {
    display: flex;
}

#iframe-cvc {
    margin-right: 10px;
    /* background: rgb(255, 255, 255); */
    margin-left: 10px;
    margin-top: 10px;
    width: 100px;
}
#iframe-cvc-cof{
    margin-left: 15px;
    margin-top: 4px;
    width: 95px;
}
.savedCardIframe{
     margin-right: 10px;
    /* background: rgb(255, 255, 255); */
    margin-left: 212px;
    margin-top: -3px;
    width: 100px;
}
/*<============================== Expired form css==============================> */

#sampleDiv{
    display: flex;
    justify-content: center;
    margin-top: 80px;
}
#showErrorDiv{
    background-color: rgb(255, 255, 255);
    display: block;
    border-radius: 50%;
    width: 520px;
    height: 520px;
    margin: 0 auto; 
    align-items: center;
    align-self: center;
    padding: 10px;
    box-shadow: 10px 10px 4px rgba(0, 0, 0, 0.3);
  } 

  #failTransactionImg {
    display: block;
    margin-left: 128px;
    margin-right: auto;
    height: 200px;
    width: 258px;
    margin-top: 67px;
    border-radius: 93px;
    border: 1px solid black;
}

#errorHeader {
    display: block;
    position: relative;
    margin-left: 135px;
    font-size: 30px;
    margin-top: 20px;
    color: rgb(0, 86, 130);
}
#errorDesc{
    font-size: 18px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    /* margin-left: 80px; */
    height: 30px;
    width: 450px;
    vertical-align: middle;
    margin-top: 15px;
    color: rgb(0, 86, 130);
}

#expiredFormErrorButtonDiv{
    text-align: center;
}

#goBackButton{
    width: 103px;
    height: 33px;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 17px;
    border: 1px solid;
    border-radius: 20px;
    border-color: #f33939;
    background-color: white;
    color: #f33939;
    margin-top: 20px;
}.add-error {
    border: 2px solid #B22222 !important;
}
#goBackButton:hover{
  background-color: #f33939;
  color: white;
}

#showSuccessDiv {
    background-color: rgb(255, 255, 255);
    display: block;
    border-radius: 50%;
    width: 520px;
    height: 520px;
    margin: 0 auto;
    align-items: center;
    align-self: center;
    padding: 10px;
    /* box-shadow: 10px 10px 4px rgb(0 0 0 / 30%); */
    border: 1px solid gray;
}
#successImg{
    margin-left: 69px;
    margin-right: auto;
    margin-top: 85px;
}

#loaderImage{
    mix-blend-mode: color-burn;
    height: 350px;
    
    display: block;
    margin-right: auto;
    margin-left: auto;

    margin-top: 8%;
}

#transactionImg{
    margin-left: 135px;
    margin-top: 45px;
}
#responseButton{
    width: 103px;
    height: 33px;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 17px;
    border: 1px solid;
    border-radius: 20px;
    border-color: #f33939;
    background-color: white;
    color: #f33939;
}.add-error {
    border: 2px solid #B22222 !important;
}
#responseButton:hover{
  background-color: #f33939;
  color: white;
}

#errorButtonDiv{
    margin-top: 25px;
    text-align: center;
}