* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: 0;
    list-style: none;
}

body {
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: 'Satoshi', sans-serif;
    position: relative;
}

p.payments {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    color: rgba(21, 21, 21, 1);
    gap: 6px;
}

p.secure-paymnet {
    background: rgba(255, 255, 255, 0.4);
    padding: 7px 13px;
    border-radius: 16px;
    display: flex;
    gap: 2px;
    justify-content: center;
    font-family: Plus Jakarta Sans;
    font-weight: 600;
    font-size: 10px;
    align-items: center;
    color: rgba(21, 21, 21, 1);
}

.request-box>div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.payment_method_wrapper {
    background: rgba(255, 255, 255, 1);
    padding: 8px 12px 12px 8px;
    border-radius: 24px;
}

.payment-container {
    border-radius: 20px;
    padding: 16px;
    max-width: 590px;
    width: 100%;
    background: url('../images/payments_bg.webp') no-repeat center center;
    background-size: cover;
}

.secure-badge {
    text-align: right;
    font-size: 12px;
    color: green;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.request-box {
    background: rgba(253, 255, 127, 1);
    border-radius: 20px;
    padding: 20px 24px;
    text-align: center;
    margin-bottom: 24px;
}

.request-box img {
    width: 100px;
}

.amount {
    font-family: Satoshi;
    font-weight: 900;
    font-size: 32px;
    line-height: 100%;
    text-align: center;
    padding: 14px;
}

.payment-methods {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.payment-methods img {
    padding-bottom: 6px;
}

.payment-methods div {
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
}

.upi-section {
    background: rgba(255, 255, 255, 1);
    border-radius: 24px;
    padding: 20px;
}

.upi-options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(239, 239, 239, 1);
    padding-bottom: 12px;
}

.upi-item p {
    font-family: Satoshi;
    font-weight: 400;
    font-size: 13px;
    padding-top: 6px;
}

.upi-options img {
    width: 40px;
    height: 40px;
}

.qr-code {
    display: flex;
    justify-content: center;
}

.qr-expire strong {
    color: rgba(245, 40, 27, 1);
    font-weight: 500;
    font-size: 14px;
}

.qr-code img {
    width: 150px;
    height: 150px;
}

.qr-text {
    color: rgba(21, 21, 21, 1);
    font-weight: 500;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    padding: 12px 0;
}

.qr-expire {
    text-align: center;
    font-size: 12px;
    color: rgba(30, 26, 26, 1);
    background: rgba(255, 250, 235, 1);
    padding: 6px;
    display: flex;
    justify-content: center;
    gap: 6px;
    border-radius: 12px;
}


.pay_with_upi {
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    color: rgba(21, 21, 21, 1);
    padding: 16px 0 20px 0;
}

.payment-methods div:nth-child(2) {
    border-right: 1px solid rgba(221, 221, 221, 1);
    border-left: 1px solid rgba(221, 221, 221, 1);
    padding: 0 16px;
}


/* saved card start css */

.savecards_wrapper {
    display: none;
    padding-top: 16px;
}

.savecards_blk {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    overflow-x: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;
}




/* card details start */
.card-form-blk {
    display: none;
}

.card-form-blk>h2 {
    padding: 16px 0 20px 0;
    font-weight: 700;
    font-size: 16px;
}

.card-form {
    background: white;
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.card-form h2 {
    margin-bottom: 20px;
    font-size: 20px;
}

.card-form label {
    display: flex;
    padding-bottom: 8px;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: rgba(37, 37, 37, 1);
    justify-content: space-between;
}

.card-form input[type="text"] {
    width: 100%;
    padding: 13.5px 12px;
    border: 1px solid rgba(239, 239, 239, 1);
    border-radius: 12px;
    margin-bottom: 16px;
}

.row {
    display: flex;
    gap: 10px;
}

.row div {
    flex: 1;
}

.save-card {
    display: flex;
    align-items: center;
    margin: 15px 0;
    justify-content: space-between;
}

.save-card input[type="checkbox"] {
    margin-right: 10px;
}

#payNow {
    width: 100%;
    padding: 15px 12px;
    background-color: rgba(130, 130, 130, 1);
    color: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: not-allowed;
    font-weight: 700;
    box-shadow: 0px 6px 16px rgba(37, 37, 37, 0.25);
}

#payNow.active {
    background-color: #007BFF;
    cursor: pointer;
    opacity: 1;
}


.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 18px;
}



.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(235, 235, 235, 1);
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider,
input:checked+.payNow {
    background-color: rgba(21, 21, 21, 1);
}

input:focus+.slider {
    box-shadow: 0 0 1px rgba(21, 21, 21, 1);
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(14px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.card-form label a {
    color: rgba(37, 37, 37, 1);
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.footer {
    margin-top: 16px;
    font-size: 10px;
    text-align: center;
}



#payNow.active {
    background-color: black!important;
    /* Black background when active */
    cursor: pointer;
    color: white!important;
}





.card-container {
    background: #fff;
    position: relative;
}

.close-button {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 24px;
    color: #555;
    cursor: pointer;
    font-weight: bold;
}


.card-image {
    background: #222;
    border-radius: 8px;
    padding: 16px;
    position: relative;
    margin-bottom: 45px;
}

.cvv-box {
    background: #fff;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    margin-top: 8px;
}

.cvv-line {
    width: 80%;
    height: 20px;
    background: #eee;
    margin: 16px auto 8px auto;
    border-radius: 4px;
}

.cvv-highlight {
    position: absolute;
    right: 20px;
    top: 40%;
    transform: translateY(-50%);
    background: #fff;
    border: 2px solid red;
    border-radius: 50%;
    padding: 12px;
    font-weight: bold;
    font-size: 16px;
    color: #000;
}

.okay-button {
    background: #000;
    color: #fff;
    padding: 15px 12px;
    border: none;
    width: 100%;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: block;
    font-weight: 600;
}
.save-card button.active{
    color: white!important;
}

.okay-button:hover {
    background: #333;
}


.popup{
    max-width: 478px;
    width: 100%;
    border-radius: 16px;
    padding: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    opacity: 0;
    background: rgba(255, 255, 255, 1);
    visibility: hidden;
    transition: 0.3s all ease-in-out;
    z-index: 2;
}
.show_popup {
    opacity: 1;
    visibility: visible;
}

.popup h2 {
    font-weight: 500;
    font-size: 16px;
    color: rgba(37, 37, 37, 1);


}

.popup p {
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: rgba(18, 18, 18, 1);
    padding: 6px 0 18px 0;

}


/* net banking start */

.all_banks h3 {
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;

}

.all_bank_logo {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.all_bank_logo_box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 1);
    gap: 8px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.01);
    flex: 0 0 30.7%;
    cursor: pointer;
}

.all_banks.select {
    margin: 26px auto 12px 0;
}

.select2 {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("../../assests/images/right-arrow.svg") #ffffff no-repeat calc(100% - 18px) !important;
    padding: 16px 12px;
    border: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    max-height: 48px;
    height: 100%;
}
.select2  {
    font-size: 14px;
    line-height: 16px;
    color: rgba(45, 45, 45, 1);
    padding: 24px 16px;
}

.button.bank {
    margin-top: 17px;
    text-transform: uppercase;
}

.button a {
    padding: 14px 12px;
    background: rgba(217, 217, 217, 1);
    display: block;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(130, 130, 130, 1);
    border-radius: 12px;
}


h4.title_netbanking {
    margin: 16px 0 20px 0;
    font-weight: 700;
    font-size: 16px;
    color: rgba(21, 21, 21, 1);
}


.netbanking_blk{
    display: none;
}

.banks_search {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    background: rgba(255, 255, 255, 1);
    padding: 16px 12px;
    border-radius: 12px;
    margin: 0 0 16px 0;
}
.banks_search input[type="text"] {
    border: none;
    width: 100%;
    color: #3E3E3E;
    font-size: 14px;
    line-height: 16px;
}
.all_banks_list ul li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 11.5px 8px;
    border-bottom: 1px solid rgba(227, 227, 227, 1);
    margin-bottom: 8px;
}

.all_banks_list {
    /* overflow-y: scroll; */
    /* max-height: 347px; */
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    background: #fff;
}
.all_banks_list ul li p {
    color: rgba(37, 37, 37, 1);
    font-size: 14px;
    font-weight: 500;
    line-height: 100%
}
.all_banks_list #bankList img {
    width: 24px;
    height: 24px;
}

.bank_list{
    display: none;
}
.banks_cross h3 {
    font-size: 16px;
    font-weight: 700;
    color: rgba(21, 21, 21, 1);
    margin: 16px 0 10px 0;
}

ul#bankList {
    background: rgba(255, 255, 255, 1);
    overflow-y: scroll;
    max-height: 347px;
    padding-right: 10px;
}

 ::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    background-color: rgba(227, 227, 227, 1);
  }
  
   ::-webkit-scrollbar {
    width: 4px;
    background-color: rgba(227, 227, 227, 1);
  }
  
   ::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: rgba(21, 21, 21, 1);
  }
  .banks_search img {
    width: 12px;
    height: 12px;
}

.banks_search input::placeholder {
    font-size: 13px;
}
.select2 span {
    font-size: 14px;
    font-weight: 400;
    color: rgba(92, 92, 92, 1);
}

form#paymentForm input::placeholder {
    font-size: 12px;
    font-weight: 400;
    color: rgba(92, 92, 92, 1);
}



/* payment sucessfull css start */

   

.payment_scuccessful {
   max-width: 590px;
   width: 100%;
   text-align: center;
   background: url('../images/payments_bg.webp') no-repeat center center;
   background-size: cover;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   min-height: 100vh;
   padding: 16px;
   gap: 16px;
 }

 .payment_scuccessful .icon {
   width: 80px;
   height: 80px;
 }

 .payment_scuccessful .status {
   color: rgba(62, 182, 85, 1);
   font-weight: 700;
   font-size: 16px;
 }

 .payment_scuccessful .amount {
   font-size: 32px;
   font-weight: 700;
 }

 .payment_scuccessful .card {
   background: white;
   border-radius: 16px;
   padding: 0 13px 13px;
   box-shadow: 0 2px 8px rgba(0,0,0,0.1);
   max-width: 328px;
   margin: auto;
   margin-top: 55px;
   margin-bottom: 20px;
   height: 139px;
 }



 .payment_scuccessful .merchant-name {
   font-weight: bold;
   font-size: 18px;
 }

 .payment_scuccessful .transaction-info {
   font-size: 14px;
   display: flex;
   justify-content: space-between;
   margin-bottom: 11px;
   margin-top: 16px;
 }

 .payment_scuccessful .details {
   text-align: left;
   font-size: 14px;
   line-height: 1.8;
   color: #222;
 }

 .payment_scuccessful .done-btn {
   padding: 16px 10px;
   width: 100%;
   background-color: black;
   color: white;
   border: none;
   font-size: 14px;
   border-radius: 12px;
   cursor: pointer;
   font-weight: 600;
 }
 .upi-options .upi-item{
    cursor: pointer;
 }
 .payment_scuccessful .details_content{
    display: flex;
    justify-content: space-between;
    align-items: center;
 }
 .payment_scuccessful h4.transition_title {
    margin-bottom: 10px;
    font-weight: 700;
    font-family: 'Satoshi';
}
.payment_scuccessful .card_blk {
    position: relative;
    top: -30px;
}

.payment_scuccessful .transaction-info:last-child {
    margin-bottom: 0;
}

.failed-title{
    color: rgba(232, 116, 27, 1)!important
}
.failed-title +div +p{
    font-size: 14px;
    color: rgba(37, 37, 37, 1);
}

.failed-title +div + p + .done-btn{
    margin-top: 466px;
}
p.payments > img {
    cursor: pointer;
}
input#expiryDate, input#cvv {
    margin-bottom: 0;
}



/* credit card css */
  
  .card-wrapper {
    position: relative;
  }
  
  .credit-card {
    color: white;
    width: 197px;
    height: 212px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
  }
  
  .round-checkbox {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    cursor: pointer;
  }
  
  .round-checkbox input[type="radio"] {
    appearance: none;
    width: 100%;
    height: 100%;
    background: url(../../assests/images/checkbox.svg) no-repeat;
    cursor: pointer;
  }
  
  .round-checkbox input[type="radio"]:checked {
    background: url(../../assests/images/checkbox_checked.svg) no-repeat;
  }
  
  .card-content {
    padding: 20px;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .card-chip img {
    width: 48px;
    height: 29px;
    position: absolute;
    top: 15px;
    left: 20px;
  }
  
  .card-number {
    font-size: 14px;
    text-align: left;
    font-weight: 500;
  }
  
  .card-bottom {
    width: 100%;
    padding: 12px;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    height: 64px;
  }
  
  .card-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
  }
  
  .card-info div {
    color: #151515;
    font-size: 12px;
    font-weight: 500;
  }
  
  .card-info strong {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #151515;
    font-weight: 500;
  }
  .eclips1 {
    position: absolute;
    background-color: #3c6a5b;
    width: 123px;
    height: 123px;
    border-radius: 50%;
    bottom: -20px;
  }
  .eclips2 {
    position: absolute;
    background-color: #3c6a5b;
    width: 71px;
    height: 76px;
    right: -19px;
    transform: rotate(45deg);
    bottom: 34px;
  }
  
  .card-1 .card-bottom {
    background: #b3dd62;
  }
  
  .card-1 {
    background: #2d5e54;
  }
  
  .card-2 {
    background: #181818;
  }
  
  .card-2 .card-bottom {
    background: #373737;
  }
  
  .card-2 .eclips1 {
    background: #292626;
  }
  
  .card-2 .eclips2 {
    background: #292626;
  }
  
  .card-2 .card-info div {
    color: #fff;
  }
  
  .card-2 .card-info strong {
    color: #fff;
  }
  

  /* card cvv start */
  .card_cvv  {
    background: white;
    border-radius: 24px;
    padding: 20px;
    width: 328px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: auto;
    margin-top: 24px;
    width: 100%;
  }

  .card_cvv .label-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 9px;
  }

  .card_cvv .label-row a {
    text-decoration: underline;
    color: rgba(37, 37, 37, 1);
    font-size: 12px;
    font-weight: 500;
  }

  .card_cvv input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    box-sizing: border-box;
  }

  .card_cvv  button {
    width: 100%;
    padding: 16px 14px;
    font-size: 14px;
    background-color: rgba(130, 130, 130, 1);
    color: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 12px;
    font-weight: 600;
  }

  .card_cvv button:hover {
    background-color: #000;
  }
  .card_cvv .label-row > label {
    font-size: 12px;
    color: rgba(37, 37, 37, 1);
}
.card_cvv{
    display: none;
}
.all_banks_list ul li:hover{
    background-color: #eee;
}
#card_unchecked_blk {
    display: none;
}

.savecards_blk .savecard_item {
    cursor: pointer;
}

.savecards_wrapper.last{
    display: none;
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s all ease-in-out;
    z-index: 1;
}
.show_overlay {
    opacity: 1;
    visibility: visible;
}
.image_Blk {
    display: flex;
    justify-content: space-between;
    padding: 16px 18px;
}

@media (max-width:590px) {
     body{
        height: 100%;
     }

     .payment-container{
        border-radius: inherit;
        min-height: 100vh;
     }
     .popup {
        max-width: 90%;
     }
     .payment_scuccessful {
        max-width: 100%;
     }
}
@media (min-height: 760px) {
    .footer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 10px;
    }
}