.payment-form {
    margin: 0 auto;
    text-align: left;
    display: flex;
}

.payment-form label, .payment-form input {
    display: block;
    margin-bottom: 10px;
}

.payment-form label {
    font-weight: bold;
}

.payment-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    height: 47px;
}

.payment-form button {
    background-color: #008CBA;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.payment-form button:hover {
    background-color: #005a8c;
}

.flexed-inputs {
    display: flex;
}

.flexed-inputs input {
    margin-right: 20px;
}

.flexed-inputs .flexed-item:nth-last-child(1) input {
    margin: 0;
}

.flexed-inputs .flexed-item:nth-child(1) {
    margin-right: 10px;
}

.payment-form .main-card-field {
    width: 100%;
    margin-right: 10px;
    position: relative;
}

.payment-form .main-card-field span {
    position: absolute;
    bottom: 14px;
    right: 15px;
}

.payment-form .flexed-inputs {
    width: 50%;
}

.payment-form .flexed-inputs > div {
    position: relative;
}

.payment-form .flexed-inputs > div span {
    position: absolute;
    bottom: 14px;
    right: 15px;
}

.modal_khanpay {
    background: rgb(0 0 0 / 75%);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal_khanpay .modal_khanpay_wrapper {
    background: #fff;
    padding: 30px 30px;
    border-radius: 20px;
    position: relative;
}

.modal_khanpay .modal_khanpay_wrapper .modal_khanpay_header {
    font-size: 20px;
    text-transform: uppercase;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.modal_khanpay .modal_khanpay_wrapper .modal_khanpay_header span {
    position: absolute;
    right: 30px;
    color: red;
    cursor: pointer;
}

.modal_khanpay .modal_khanpay_wrapper .modal_khanpay_header span:hover {
    color: #000;
}

.modal_khanpay .modal_khanpay_wrapper .modal_khanpay_body p {
    margin-bottom: 0;
}

.spinner-modal-khanpay {
    text-align: center;
    margin: 30px 0;
}

@media(max-width: 850px) {
    .payment-form .flexed-inputs {
        width: 75%;
    }
}

@media(max-width: 700px) {
    .payment-form .flexed-inputs {
        width: 100%;
        flex-flow: column;
    }
    .payment-form {
        flex-wrap: wrap;
    }
    .payment-form .flexed-inputs > div {
        margin-top: 10px;
    }
}

@media(max-width: 460px) {
    .payment-form .main-card-field span {
        position: absolute;
        bottom: 60px;
        right: 0;
    }
}


.lds-spinner {
    color: official;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: #000;
}
.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}
@keyframes lds-spinner {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
