body {
    background: #dbddea;
    min-height: 95vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Harmonia Sans Pro Cyr Regular', sans-serif;
  }

label {
margin-bottom: 0px;
}

@font-face {
    font-family: 'Harmonia Sans Pro Cyr Regular';
    src: url('HarmoniaSansProCyr-Regular.otf') format('truetype');
  }
  
  @font-face {
    font-family: 'QwitcherBychen Bold';
    src: url('qwitcherbychen-bold.ttf') format('truetype');
   
  }
  
  .card {
    position: relative;
    padding: 3rem 1.5rem;
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-color: white;
  }
 
@media(max-width:767px){
    .card{
        width: 80vw;
        padding: 1.5rem;
    }
}
@media(height:1366px){
    .card{
        width: 80vw;
        padding: 8vh;
    }
}

@media (max-width: 767px) {
    .card {
      margin: 0 auto;
    }
  }

.card-title{
    font-weight: 700;
    font-size: 2.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.card-title > img{
    /* height: 70px; */
    width: 67px;
  }

  .card-title > div {
    font-size: 18px;
  }


.nav{
    text-align: center !important;
    font-size: 24px;
    font-weight: bold;
}
.nav ul{
    list-style-type: none;
    display: flex;
    padding-inline-start: unset;
    margin-bottom: 6vh;
}
.nav li{
    padding: 1rem;
}
.nav li a{
    color: black;
    text-decoration: none;
}
.active{
    border-bottom: 2px solid black;
    font-weight: bold;
}

input{
    border: none;
    outline: none;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    width: 100%;
    min-width: unset;
    background-color: transparent;
    border-color: transparent;
    margin: 0;
}
form a{
    color:grey;
    text-decoration: none;
    font-size: 0.87rem;
    font-weight: bold;
}
form a:hover{
    color:grey;
    text-decoration: none;
}
form .row{
    margin: 0;
    overflow: hidden;
}
form .row-1{
    border: 1px solid rgba(0, 0, 0, 0.137);
    padding: 0.5rem;
    outline: none;
    width: 100%;
    min-width: unset;
    border-radius: 10px;
    /* background-color: #fbf8f9; */
    border-color: #e4e3e3;
    margin: 2vh 0;
    overflow: hidden;
    margin-top: 5px;
}
form .row-2{
    border: none;
    outline: none;
    background-color: transparent;
    margin: 0;
    padding: 0 0.8rem;
}
form .row .row-2{
    border: none;
    outline: none;
    background-color: transparent;
    margin: 0;
    padding: 0 0.8rem;
}
form .row .col-2,.col-7,.col-3{
    display: flex;
    align-items: center;
    text-align: center;
    /* padding: 0 1vh; */
}
form .row .col-2{
    padding-right: 0;
}

#card-header{
    font-weight: bold;
    font-size: 0.9rem;
}
#card-inner{
    font-size: 0.7rem;
    color: gray;
}
.three .col-7{
    padding-left: 0;
}
.three{
    overflow: hidden;
    justify-content: space-between;
}
.three .col-2{
    border: 1px solid rgba(0, 0, 0, 0.137);
    padding: 0.5rem;
    outline: none;
    width: 100%;
    min-width: unset;
    border-radius: 5px;
    background-color: rgba(221, 228, 236, 0.301);
    border-color: rgba(221, 228, 236, 0.459);
    margin: 2vh 0;
    width: fit-content;
    overflow: hidden; 
}
.three .col-2 input{
    font-size: 0.7rem;
    margin-left: 1vh;
}
.btn{
    width: 100%;
    background-color: #D92028;
    border-color: #898686;
    border-radius: 10px;
    color: white;
    justify-content: center;
    padding: 2vh 0;
    margin-top: 3vh;
}
.btn:focus{
    box-shadow: none;
    outline: none;
    box-shadow: none;
    color: white;
    -webkit-box-shadow: none;
    -webkit-user-select: none;
    transition: none; 
}
.btn:hover{
    color: white;
}
input:focus::-webkit-input-placeholder { 
    color:transparent; 
}
input:focus:-moz-placeholder { 
    color:transparent; 
} 
input:focus::-moz-placeholder { 
    color:transparent; 
} 
input:focus:-ms-input-placeholder { 
    color:transparent; 
}

.row.three {
    display: flex;
    justify-content: space-between;
    margin: 0 -5px;
  }
  
  .col {
    width: 50%;
    padding: 0 5px;
  }

.inpt{
    height: 35px;
    width: 100%;
    font-weight: 200;
    font-size: 14px;
}

.inpt::placeholder {
    transform: translate(0, 3px);
    font-style: italic;
    font-size: 14px;
}

.input-box {
    display: flex;
    align-items: center;
}


.powered-by {
    font-family: 'QwitcherBychen Bold', sans-serif;
    font-size: 25px;
    position: absolute;
    bottom: 62px;
    right: 20px;
    width: 100px;
}

.mastercard-logo {
    position: absolute;
    bottom: 30px;
    right: 20px;
    width: 100px;
}

@media only screen and (max-width: 768px) {
    /* Adjust the position of "Powered by" text */
    p.powered-by {
      bottom: 20px;
      right: 25px;
      font-size: 18px;
    }
  
    /* Adjust the position of Mastercard logo */
    img.mastercard {
      bottom: 0px;
      right: 0px;
      width: 80px;
    }
  }
  
/* Media queries to adjust styles for different screen sizes */
@media only screen and (max-width: 768px) {
    .powered-by {
        font-size: 20px;
        bottom: 50px;
        right: 20px;
        width: 80px;
    }

    .mastercard-logo {
        bottom: 20px;
        right: 20px;
        width: 80px;
    }
}

@media only screen and (max-width: 480px) {
    .powered-by {
        font-size: 16px;
        bottom: 40px;
        right: 5px;
        width: 60px;
    }

    .mastercard-logo {
        bottom: 10px;
        right: 20px;
        width: 60px;
    }
}

#preloader {
    position: fixed;
    top: 37%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: none;
    /* Add your other preloader styles here */
  }
  
  #preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* The last value sets the opacity (0 to 1) */
    z-index: 9998;
    display: none;
  }
  
  /* Add this to show the preloader and overlay when necessary */
  #preloader.show, #preloader-overlay.show {
    display: block;
  }
  
  #loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #D92028;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }