﻿.card-body-custom,
.card-img-part,
.card-strip-1-head,
.card-strip-1-head p,
.card-strip-3,
.card-strip-4,
.card-strip-5,
.card-user-details div {
    display: flex;
    display: flex;
}

    .card-img-part p,
    .card-user-details span {
        font-weight: bolder;
    }

.card-body-custom {
    flex-direction: column !important;
    align-items: center;
    width: calc(100vw - 250px);
    padding: 0 22px 22px !important;
}

.card-head {
    height: 20%;
    width: 100%;
    padding: 10.5px;
}

.card-head-text {
    text-align: left !important;
    color: #f93;
}

.card-sign-part,
.card-strip-2 .card-mid-part {
    text-align: center;
}

.card-strip-1-head {
    flex-direction: column;
    justify-content: center;
}

    .card-strip-1-head p {
        margin: 0 !important;
        justify-content: center;
    }

.card-strip-1 {
    padding: 0 15px;
    text-decoration: underline;
    font-size: 12px !important;
}

.card-strip-1,
.card-strip-2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    color: #d70000;
    font-size: 17px;
}

    .card-strip-2 .card-mid-part p {
        margin: 0;
    }

.card-strip-3 {
    align-items: center;
    column-gap: 10px;
}

.card-strip-4 {
    justify-content: space-between;
    align-items: baseline;
    border-left: 4px solid #d70000;
    padding: 0 0 0 12px;
    height: 50px;
    align-items: center;
}

.card-strip-4,
.card-strip-5 {
    font-size: 11px !important;
    font-weight: 600;
    color: #d70000;
    align-items: center;
    z-index: 1;
}

.card-strip-5 {
    font-size: 11px;
    z-index: 1;
}

.card-container {
    max-width: 800px;
    padding: 3px 15px;
    background-color: #fffda0;
    border: 7px solid #e98d1a;
    position: relative;
}

.card-mid-edit {
    font-size: 24px;
    font-weight: 900 !important;
    color: red;
    text-shadow: -1px 0 1px rgba(0, 0, 0, 0.3);
}

.card-vedo {
    font-size: 16px !important;
}

.card-mid-edit p {
    font-size: 20px;
}

.card-label {
    color: #d40002;
    font-size: 15px;
    font-weight: 700 !important;
}

.card-user-details {
    font-size: 13px;
    line-height: 20px;
    border-left: 4px solid #d70000;
    padding-left: 20px;
    z-index: 1;
}

    .card-user-details div {
        column-gap: 8px;
        align-items: center;
        flex-wrap: wrap;
    }

.card-img-part {
    flex-direction: column;
    margin-bottom: 16px;
}

    .card-img-part p {
        margin-bottom: 0;
    }

    .card-img-part span {
        color: #d70000;
        text-decoration: underline;
    }

    .card-img-part img {
        width: 125px;
        height: 125px;
        margin-top: 6px;
    }

.card-sign-part {
    color: #d70000;
    font-weight: 600;
    font-size: 13px;
}

.card-hanuman-img,
.card-person-img,
.card-qrCode,
.card-stamp-img {
    width: 120px;
    height: 120px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.card-hanuman-img {
    background-image: url("../images/Logo/MLM-Logo.webp");
}

.card-person-img {
    background-image: url("../images/Card/human.webp");
}

.card-qrCode {
    background-image: url("../images/QR-Code/PhonePay-BalaJi1421.jpeg");
    position: absolute;
    right: 15px;
    top: 175px;
}

.card-stamp-img {
    background-image: url(../images/Card/stamp.jpg);
    position: absolute;
    right: 27px;
    z-index: 0;
    width: 163px;
    bottom: -7px;
}

@media (max-width: 993px) {
    .card-stamp-img {
        bottom: 10px;
    }

    .card-qrCode {
        top: 185px;
    }
}

@media (max-width: 811px) {
    .card-qrCode {
        width: 100px;
        height: 100px;
        top: 220px;
        right: 8px;
    }

    .card-user-details {
        padding-left: 10px;
    }
}

@media (max-width: 768px) {
    .card-img-part p,
    .card-user-details,
    .card-user-details .card-label {
        font-size: 11px !important;
    }

    .card-body-custom {
        width: 100% !important;
        padding: 10px !important;
    }

    .card-container {
        padding: 5px !important;
    }

    .card-strip-4,
    .card-user-details {
        border-left: 2px solid #d70000 !important;
        padding-left: 5px;
    }

    .card-mid-edit {
        font-size: 14px !important;
    }

    .card-stamp-img {
        position: absolute !important;
        right: 27px !important;
        z-index: 0 !important;
        width: 150px !important;
        bottom: -7px !important;
    }

    .card-hanuman-img,
    .card-person-img {
        width: 100px !important;
        height: 100px !important;
    }

    .card-qrCode {
        width: 130px;
        height: 130px;
        top: 155px;
        right: 10px;
    }
}

@media (max-width: 660px) {
    .card-stamp-img {
        bottom: 11px !important;
    }
}

@media (max-width: 522px) {
    .card-stamp-img {
        width: 100px !important;
        right: 7px !important;
        bottom: 7px !important;
    }

    .card-user-details {
        line-height: 14px !important;
    }

    .card-qrCode {
        width: 60px;
        height: 60px;
        top: 150px;
        right: 5px;
    }
}

@media (max-width: 445px) {
    .card-stamp-img {
        bottom: 26px !important;
    }

    .card-qrCode {
        width: 60px;
        height: 60px;
        top: 160px;
        right: 5px;
    }
    .card-img-part img {
        width: 110px;
        height: 110px;
    }
}

@media (max-width: 425px) {
    .card-strip-1 {
        padding: 0 9px !important;
        font-size: 6px !important;
    }

    .card-strip-1,
    .card-strip-2 {
        font-size: 12px;
    }

        .card-strip-2 .card-mid-part {
            text-align: center !important;
        }

            .card-strip-2 .card-mid-edit-p,
            .card-strip-2 .card-mid-part .card-mid-edit {
                font-size: 8px !important;
            }

    .card-strip-4,
    .card-strip-5,
    .card-user-details,
    .card-user-details .card-label {
        font-size: 6px !important;
    }

    .card-strip-3 {
        align-items: flex-start !important;
    }

    .card-strip-4 {
        height: 30px;
    }

    .card-container {
        max-width: 100% !important;
        padding: 5px !important;
        border-width: 5px !important;
    }

    .card-user-details {
        line-height: 10px !important;
    }

    .card-mid-edit {
        font-size: 16px !important;
    }

    .card-vedo {
        font-size: 12px !important;
    }

    .card-img-part {
        margin-bottom: 12px !important;
    }

        .card-hanuman-img,
        .card-img-part img,
        .card-person-img {
            width: 60px !important;
            height: 60px !important;
        }

        .card-img-part p {
            font-size: 7px !important;
        }

    .card-stamp-img {
        width: 110px !important;
        bottom: -21px !important;
    }

    .card-sign-part {
        font-size: 7px;
    }

    .card-qrCode {
        width: 55px;
        height: 55px;
        top: 90px;
        right: 2px;
    }
}

@media (max-width: 386px) {
    .card-stamp-img {
        width: 75px !important;
        bottom: -18px !important;
    }
}

.second-card-strip-3 {
    display: flex; /* Enables flexbox layout */
    justify-content: space-between; /* Distributes items with equal space between them */
    gap: 20px; /* Optional: Defines the space between the flex items */
    flex-wrap: wrap; /* Ensures that items wrap onto the next line if necessary */
}

.second-card-img-part {
    width: 30%; /* Each image block takes up 30% of the container width */
    text-align: center; /* Center text in span */
    display: flex;
    flex-direction: column; /* Stack image and span vertically */
}

    .second-card-img-part img {
        width: 100%; /* Makes the image take up the full width of its container */
        height: 200px; /* Set the height of all images to be the same */
        /*object-fit: cover; /* Ensure the image covers the space without distorting aspect ratio */
        border-top-left-radius: 50px; /* Optional: Rounded corners for span */
        border-top-right-radius: 50px; /* Optional: Rounded corners for span */
        border: 1px solid orange; /* Optional: Add border to the image */
    }

    .second-card-img-part span {
        display: block; /* Makes the span element a block-level element */
        width: 100%; /* Ensures the span takes up the full width of the container */
        border: 2px solid orange; /* Optional: Border around span */
        border-bottom-left-radius: 50px; /* Optional: Rounded corners for span */
        border-bottom-right-radius: 50px; /* Optional: Rounded corners for span */
        padding: 10px; /* Adds padding inside the span */
        text-align: center; /* Centers the text inside the span */
        color: #BA0021;
        text-shadow: 1px 1px 0 white,-1px -1px 0 white,1px -1px 0 white,-1px 1px 0 white;
        font-weight: 400;
        box-sizing: border-box; /* Includes padding and border in the width of the span */
    }
.second_card_Para {
    margin-bottom: 5px;
    font-size: 30px;
    font-weight: 400;
}


