@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;500;600&family=JetBrains+Mono:wght@200;400;500&family=Lexend+Deca:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Lexend Deca', sans-serif;
}

body.loading {

}

body.loading:after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgb(255 255 255 / 41%);
    backdrop-filter: blur(1px);
}

.fBody {
    font-family: 'JetBrains Mono', monospace;
}

.fJB {
    font-family: 'JetBrains Mono', monospace;
}

.fIBM {
    font-family: 'Albert Sans', sans-serif;
}

#cardBrand {
    width: 70px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: 12px;
    background-position: center right;
    margin-right: 11px;
}

.mastercard {
    background-image: url("https://cdn.muhasip.dev/drive/apps/mastercard.png");
}

.visa {
    background-image: url("https://cdn.muhasip.dev/drive/apps/visa.png");
}

.troy {
    background-image: url("https://cdn.muhasip.dev/drive/apps/troy.png");
}

input.error {
    border-color: crimson;
}

#paymentForm label.error {
    font-family: 'IBM Plex Sans', monospace;
    font-size: 12px;
    display: block;
    margin-left: 5px;
    color: #dc143c;
}
.loading .loader {
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -26px;
    margin-left: -26px;
}
.loader {
    display: none;
    width: 52px;
    height: 52px;
    position: relative;
    z-index: 9999;
}
.loader::after,
.loader::before {
    content: '';
    box-sizing: border-box;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 4px solid #2563eb;
    position: absolute;
    left: 0;
    top: 0;
    animation: animloader 2s linear infinite;
}

.loader::after {
    animation-delay: 1s;
}

@keyframes animloader {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}
