.d-inline-flex {
    display: inline-flex;
}

.d-none {
    display: none;
}

.align-items-center {
    align-items: center;
}

.gap-1 {
    gap: 0.3rem;
}

.ml-3 {
    margin-inline-start: 3px;
}

.animbtn {
    font-family: Roboto, sans-serif;
    cursor: pointer;
    position: relative;
    border-radius: 4px;
    padding: 6px 5px;
    font-size: 12px;
    gap: 0.3rem;
    text-decoration: none;
    align-items: center;
    display: inline-flex;
    align-items: center;
    min-width: 116px;
    justify-content: center;
    transition: all 0.5s ease;
}

.defaultbtn {
    background-color: #004684;
    color: #fff;
}

.addedbtn,
.paykartaddbtn {
    background-color: #539a56;
    color: #fff;
}

.removebtn {
    border: 1px solid;
    color: #004684;
    background-color: #fff;
    padding: 5px
}

    .removebtn svg {
        -webkit-animation: removeicon 0.3s ease-in;
        animation: removeicon 0.3s ease-in;
    }

#Addedbtn {
    position: absolute;
}

.addedbtn #Addedbtn {
    -webkit-animation: addedbtn 0.5s linear;
    animation: addedbtn 0.5s linear;
}

.paykartbtn {
    min-width: auto;
    padding-inline: 0.8rem;
    font-family: Roboto, sans-serif;
    cursor: pointer;
    border-radius: 4px;
    padding: 4px 5px;
    font-size: 12px;
    gap: 0.3rem;
    text-decoration: none;
    align-items: center;
    display: inline-flex;
    justify-content: center;
    transition: all 0.5s ease;
}

.pkgcount {
    position: absolute;
    z-index: 100;
    background-color: #f4b434;
    color: #fff;
    width: 20px;
    height: 20px;
    display: inline-flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    inset-inline-end: -8px;
    inset-block-start: -12px;
}

.kartactive .pkgcount {
    -webkit-animation: cartcount 0.5s linear;
    animation: cartcount 0.5s linear;
}

.kartbtn {
    overflow: hidden;
    display: inline-flex;
}

.payKartbox {
    width: auto;
    position: relative;
    display: inline-flex;
    background-color: #004684;
    border-radius: 4px;
    border: 1px solid #8fc8f1;
    color: #fff;
    margin-inline-end: 8px;
}

.paycartpopbox {
    width: 470px;
    height: 680px;
    max-height: 850px;
    overflow-y: hidden;
    position: absolute;
    top: 30px;
    inset-inline-end: 0;
    z-index: 200;
    transition: transform 0.2s ease-out;
    transform: scaleY(0);
    transform-origin: top;
    border-radius: 8px;
    box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.3);
    background: #fff;
}

.paycartclosebtn {
    font-size: 28px;
    color: #000;
    cursor: pointer;
    position: absolute;
    top: 5px;
    inset-inline-end: 0.5rem;
}

.showpopup {
    transform: scaleY(1);
}

.carnotifbox {
    position: absolute;
    width: 280px;
    overflow: hidden;
    inset-inline-end: 0;
    top: 100px;
    z-index: 100;
    height: 50px;
}

.paycartnotification {
    background-color: #fff;
    width: 240px;
    height: 25px;
    position: fixed;
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 4px 4px 10px 0px rgba(0, 0, 0, 0.15);
    padding-block: 1rem;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    inset-inline-end: -240px;
    top: 87px;
    transition: 0.2s all 0.2s;
    border: 1px solid rgba(0, 0, 0, 0.15);
    z-index: 200;
}

.shownotification {
    inset-inline-end: -10px;
}

.cartnotifloader {
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 0;
    height: 4px;
    width: 100%;
    background-color: #539a56;
    border-radius: 4px;
    transform: scaleX(0);
    transform-origin:start center;
    transition: 5s transform linear;
}

.shownotification .cartnotifloader {
    transform: scaleX(1);
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@-webkit-keyframes addedbtn {
    .paycartpopbox 0% {
        opacity: 0;
        -webkit-transform: translateX(-150px);
        transform: translateX(-150px);
    }

    70% {
        -webkit-transform: translateX(10px);
        transform: translateX(10px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
        -webkit-animation-delay: 0.3s;
        animation-delay: 0.3s;
    }
}

@keyframes addedbtn {
    0% {
        opacity: 0;
        transform: translateX(-150px);
    }

    70% {
        transform: translateX(10px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        animation-delay: 0.3s;
    }
}

@-webkit-keyframes removeicon {
    0% {
        opacity: 0;
        -webkit-transform: translateX(50px);
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
        -webkit-animation-delay: 0.3s;
        animation-delay: 0.3s;
    }
}

@keyframes removeicon {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        animation-delay: 0.3s;
    }
}

@-webkit-keyframes cartcount {
    0% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1) rotateX("-10deg");
    }

    80% {
        opacity: 1;
        -webkit-transform: scale(1.2);
        transform: scale(1.2) rotateX("20deg");
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1) rotateX("0deg");
    }
}

@keyframes cartcount {
    0% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1) rotateX("-10deg");
    }

    80% {
        opacity: 1;
        -webkit-transform: scale(1.2);
        transform: scale(1.2) rotateX("20deg");
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1) rotateX("0deg");
    }
}



.gap-3 {
    gap: 1rem;
}

.d-flex {
    display: flex;
}

.gray_bg {
    background: rgba(0, 0, 0, 0.3);
    position: fixed;
    inset-inline-start: 0;
    inset-block-start: 0;
    width: 100%;
    height: 100%;
}

.uj_popup {
    position: absolute;
    inset-inline-end: 10px;
    inset-block-start: -60px;
    z-index: 100;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.30);
    width: 100%;
    max-width: 500px;
    min-height: 380px;
}

.uj_popupreview {
    position: fixed;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    transform: translate(-50%,-50% );
    z-index: 100;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.30);
    width: 100%;
    max-width: 500px;
    min-height: 380px;
}

.uj_close, .uj_altclose {
    font-size: 28px;
    position: absolute;
    inset-inline-end: 0;
    inset-block-start: 0;
    cursor: pointer;
    padding: .5rem 1rem;
}

.uj_close {
    color: #014693;
}

.uj_altclose {
    color: #EDEDED;
}

.uj_header, .uj_body, .uj_footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.uj_body {
    padding-block: 0;
    min-height: 285px;
}

.uj_heading {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.uj_steps {
    font-size: 16px;
    color: #595959;
    text-align: center;
    font-weight: bold;
}

.uj_footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.uj_items {
    display: inline-flex;
    list-style: none;
    gap: 3px;
    padding-inline-start: 0;
}

.uj_stepbull {
    background-color: #D9D9D9;
    width: 8px;
    height: 8px;
    border-radius: 5px;
}

    .uj_stepbull.active {
        background-color: #FABE2C;
    }

.uj_link {
    color: #014693;
    font-size: 16px;
    font-weight: 500;
}

.uj_button {
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #014693;
    font-size: 14px;
    font-weight: bold;
    padding: 6px 12px;
    color: #014693;
    cursor: pointer;
}

.align-items-center {
    align-items: center;
}

#step2, #step3, #step4 {
    display: none;
}

.font-14 {
    font-size: 14px;
}

.uj_tipPopup {
    position: absolute;
    padding: 1rem 1.3rem;
    font-size: 12px;
    display: flex;
    gap: .8rem;
    width: 300px;
    line-height: 18px;
    align-items: center;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    inset-block-start: -50px;
    inset-inline-end: 0;
}

.uj_tag {
    background-color: #539A56;
    color: #FFF;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 8px;
    border-radius: 4px;
}

.uj_tipPopup:after {
    content: "";
    inset-inline-end: 20px;
    inset-block-start: -19px;
    border-style: solid;
    border-width: 10px;
    border-color: transparent transparent #fff transparent;
    position: absolute;
}

.uj_journeybtn {
    border-radius: 6px;
    background-color: #fff;
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 100px;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.uj_journeyclose {
    inset-inline-end: .8rem;
    inset-block-start: .5rem;
    position: absolute;
}

.uj_journeybox {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    font-size: 14px;
    line-height: 20px;
}

.uj_journerystart {
    display: flex;
    justify-content: space-between;
    padding: 8px .8rem;
    background-color: #EAF6FF;
    border-radius: 0 0 8px 8px;
    font-size: 11px;
    align-items: center;
}

.link12 {
    font-size: 11px;
    text-decoration: none;
}

.paycartbtnIndex {
    position: relative;
    z-index: 100;
}

.gap-2 {
    gap: .5rem;
}

@media screen and (max-width: 767px) {
    .paycartpopbox {
        width: 340px;
        inset-inline-start: -203px;
    }

    .uj_popup, .uj_popupreview {
        inset-inline-start: 0;
        inset-block-start: 0;
        height: 100vh;
        position: absolute;
        top: 0;
        margin: 0;
        transform: translate(0, 0);
    }

    .uj_body {
        min-height: 200px;
    }
}
