html,
body {
    overflow-x: hidden;
    margin: 0 auto;
    width: 100%;
}

.textclass h1,
h2,
h3,
h5 {
    font-family: 'Roboto', sans-serif !important;

}

.textclass h1 {
    font-size: 20px;
    color: #2b7bd0e1;
}

.textclass h2 {
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

.textclass h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

#main-content h1 {
    font-size: 20px;
    font-family: 'Roboto', sans-serif !important;
}

.card-body h1 {
    font-size: 20px;

}

.card1-body h1 {
    font-size: 20px;

}


.card {
    border: none;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    height: 6em;
}

.card1 {
    border: none;
    background-color: #ffffff;
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, .2);
    border-radius: 10px;
    cursor: pointer;
}

.cardForm {
    border: none;
    background-color: #ffffff;
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    height: 150px;
    width: 100%;
    /* display: flex;
        justify-content: center;
        align-items: center;
        text-align: center; */
    padding: 10px;
    cursor: pointer;
}



.card-body-Form {
    font-size: 16px;
}

.cardFormYes {
    border: 0.5px solid #b8b8b8;
    background-color: #ffffff;
    border-radius: 12px;
    height: 80px;
    width: 100%;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #5d5c5c;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    user-select: none;
}

.cardFormYes:hover {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
    cursor: pointer;

}

.card:hover {
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, .5);
    cursor: pointer;
}

.card.selected {
    background-color: #007bff;
    color: #ffffff;
}

.card.selected h5 {
    color: #ffffff;
}

.card.selected .card-title {
    color: #ffffff;
}

/* .card .card-body {
        padding: 10px;
    } */

.card1 .card1-body {
    padding: 20px;
}



.card-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.no-wrap {
    flex-wrap: nowrap;
}

.btn-previous {
    /* border-color: #007bff; */
    font-size: 26px;
    font-weight: bold;
    padding: 10px 20px;
    margin-bottom: 25px;
    border-radius: 16px;
}

.btn-previous:hover {
    /* background-color: #007bff; */
    color: #ffffff;
}

.btn-next {
    /* border-color: #007bff; */
    font-size: 26px;
    font-weight: bold;
    padding: 10px 20px;
    margin-bottom: 25px;
    border-radius: 16px;
}

.btn-next:hover {
    /* background-color: #007bff; */
    color: #ffffff;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .col-6 {
        text-align: center;
    }

    .card-deck {
        flex-direction: column;
    }

    .card {
        margin-bottom: 20px;
    }

    .smaller_device {
        display: block !important;
        text-align: center;
        margin: 0;
    }

    .card {
        height: 10em;
    }
}

.detail-view {
    margin-top: 20px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.rupee-prefix::before {
    content: '₹';
    position: absolute;
    padding-left: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 1rem;
}

.rupee-prefix {
    padding-left: 20px;
    position: relative;
}

.header-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 0;
    letter-spacing: 1px;
    border-bottom: 2px solid #d2d2d2;
    padding-bottom: 10px;
}

hr.my-4 {
    border: none;
    height: 1px;
    background-color: #ccc;
    margin: 20px 0;
}

.header-container {
    background-color: aliceblue;
    width: 93%;
    margin-left: 15px;
    margin-right: 30px;
    border-radius: 8px;
}

.header-title {
    color: rgb(0, 0, 0);
    font-size: 24px;
    text-align: center;
}

.grid-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
}

.grid-box {
    background-color: lightgray;
    width: 50px;
    height: 50px;
    border: 2px solid #ccc;
    border-radius: 5px;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
}

.box-content {
    font-size: 18px;
}

.small-line {
    width: 200px;
    height: 2px;
    background-color: rgb(144, 144, 144);
    margin: 20px auto;
}

.more-text {
    display: none;
}

.less-text {
    display: inline;
}

.info-container {
    position: relative;
    display: inline-block;
    text-align: center;
    padding-bottom: 4px;
}

.info-icon {
    font-size: 18px;
    /* Adjust icon size */
    cursor: pointer;
    color: #333;
    /* Change icon color */
    margin-left: 5px;
    padding: 2px;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    z-index: 1;
    top: 150%;
    /* Adjust this value as needed */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 12px;
    /* Adjust font size */
    transition: opacity 0.2s ease-in-out;
}


.info-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.hidden {
    display: none;
}

#loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    /* background-color: rgba(0, 0, 0, 0.5); */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
/* #loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}*/

.spinner-border {
    width: 3rem;
    height: 3rem;
    color: #ffffff; 
} 

/* Styling for the loading text */
.sr-only {
    margin-top: 1rem; /* Space between spinner and text */
    color: #ffffff; /* Text color */
    font-size: 1.2rem; /* Adjust font size as needed */
}

.card-loader-Form {
    border: none;
    background-color: #ffffff;
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    height: 90%;
    width: 90%;
    /* CENTER THE CARD IN THE WINDOW */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* margin: auto; */
    /* display: flex;
        justify-content: center;
        align-items: center;
        text-align: center; */
    padding: 10px;
    cursor: pointer;
    z-index: 9999;
}


.hidden {
    display: none;
}