/* font */
@import url('https://fonts.googleapis.com/css2?family=Comic+Relief:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

.comic-relief-regular {
    font-family: "Comic Relief", system-ui;
    font-weight: 400;
    font-style: normal;
}

.comic-relief-bold {
    font-family: "Comic Relief", system-ui;
    font-weight: 700;
    font-style: normal;
}
::-webkit-scrollbar{
    display: none;
}
/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 1.5rem;

    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --black-color: linear-gradient(to right, #243b55, #141e30);
    --black-color-light: linear-gradient(to right, #243b55, #141e30);
    --black-color-lighten: linear-gradient(to right, #243b55, #141e30);
    --white-color: linear-gradient(to right, #243b55, #141e30);
    --body-color: linear-gradient(to right, #243b55, #141e30);

    /*========== Font weight ==========*/
    --font-regular: 400;
    --font-semi-bold: 600;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
    :root {
        --normal-font-size: 1rem;
    }
}
/* Main Data */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Comic Relief", system-ui;
    outline: none;
    list-style: none;
    text-decoration: none;
    border: none;
    transition: .5s;
}

body{
    background: linear-gradient(to right, #243b55, #141e30);
    overflow-x: hidden;
    /* justify-content: center; */
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* 1. Header */
/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1120px;
    margin-inline: 1.5rem;
}

/*=============== HEADER ===============*/
.header {
    /* position: fixed;
    top: 0;
    left: 0; */
    width: 100%;
    background-color: #243b55;
    box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
    color: #ddd;
    z-index: var(--z-fixed);
}

/*=============== NAV ===============*/
.nav {
    height: 80px;
}
.nav__logo,
.nav__burger,
.nav__close {
    color: var(--white-color);
}

.nav__data {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #243b55;
}

.nav__logo {
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
    font-weight: var(--font-semi-bold);
    /* Color highlighting when pressed on mobile devices */
    /*-webkit-tap-highlight-color: transparent;*/
}

.nav__logo i {
    font-weight: initial;
    font-size: 1.25rem;
}

.nav__toggle {
    position: relative;
    width: 32px;
    height: 32px;
}

.nav__burger,
.nav__close {
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 1.25rem;
    cursor: pointer;
    transition: opacity .1s, transform .4s;
}

.nav__close {
    opacity: 0;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
    .nav__menu {
        position: absolute;
        left: 0;
        top: 2.5rem;
        width: 100%;
        height: calc(100vh - 3.5rem);
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top .4s, opacity .3s;
    }

    .nav__menu::-webkit-scrollbar {
        width: 0;
    }

    .nav__list {
        background-color: var(--black-color);
        padding-top: 1rem;
    }
}

.nav__link {
    color: var(--white-color);
    background-color: var(--black-color);
    font-weight: var(--font-semi-bold);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color .3s;
}

.nav__link:hover {
    background-color: var(--black-color-light);
}

/* Show menu */
.show-menu {
    opacity: 1;
    top: 5rem;
    pointer-events: initial;
    z-index: 999;
    background-color: #243b55;
    color: #fff;
}

/* Show icon */
.show-icon .nav__burger {
    opacity: 0;
    transform: rotate(90deg);
}

.show-icon .nav__close {
    opacity: 1;
    transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
    cursor: pointer;
}

.dropdown__arrow {
    font-size: 1.25rem;
    font-weight: initial;
    transition: transform .4s;
}

.dropdown__link,
.dropdown__sublink {
    padding: 1.25rem 1.25rem 1.25rem 2.5rem;
    color: var(--white-color);
    background-color: var(--black-color-light);
    display: flex;
    align-items: center;
    column-gap: .5rem;
    font-weight: var(--font-semi-bold);
    transition: background-color .3s;
}

.dropdown__link i,
.dropdown__sublink i {
    font-size: 1.25rem;
    font-weight: initial;
    color: #fff;
}

.dropdown__link:hover,
.dropdown__sublink:hover {
    background-color: #141e30;
}

.dropdown__menu,
.dropdown__submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease-out;
    background-color: #243b55;
    color: #fff;
}
/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu,
.dropdown__subitem:hover>.dropdown__submenu {
    max-height: 1000px;
    transition: max-height .4s ease-in;
}

/* Rotate dropdown icon */
.dropdown__item:hover .dropdown__arrow {
    transform: rotate(180deg);
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
    margin-left: auto;
}

.dropdown__sublink {
    background-color: var(--black-color-lighten);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
    .container {
        margin-inline: 1rem;
    }

    .nav__link {
        padding-inline: 1rem;
    }
}

/* For large devices */
@media screen and (min-width: 1118px) {
    .container {
        margin-inline: auto;
    }

    .nav {
        height: calc(var(--header-height) + 2rem);
        display: flex;
        justify-content: space-between;
    }

    .nav__toggle {
        display: none;
    }

    .nav__list {
        height: 100%;
        display: flex;
        column-gap: 3rem;
    }

    .nav__link {
        height: 100%;
        padding: 0;
        justify-content: initial;
        column-gap: .25rem;
    }

    .nav__link:hover {
        background-color: transparent;
    }

    .dropdown__item,
    .dropdown__subitem {
        position: relative;
    }

    .dropdown__menu,
    .dropdown__submenu {
        max-height: initial;
        overflow: initial;
        position: absolute;
        left: 0;
        top: 6rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s, top .3s;
    }

    .dropdown__link,
    .dropdown__sublink {
        padding-inline: 1rem 3.5rem;
    }

    .dropdown__subitem .dropdown__link {
        padding-inline: 1rem;
    }

    .dropdown__submenu {
        position: absolute;
        left: 100%;
        top: .5rem;
    }

    /* Show dropdown menu */
    .dropdown__item:hover .dropdown__menu {
        opacity: 1;
        top: 3.6rem;
        pointer-events: initial;
        transition: top .3s;
    }
    /* Show dropdown submenu */
    .dropdown__subitem:hover>.dropdown__submenu {
        opacity: 1;
        top: 0;
        pointer-events: initial;
        transition: top .3s;
    }
}
/* 1. Header */

.container-body{
    display: flex;
    width: 100%;
}
.Card-container{
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    justify-content: space-evenly;
    align-items: center;
    margin: 5px;
    flex-wrap: wrap;
}
.card{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 300px;
    height: 100px;
    background: #f3f3f3;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    margin: 10px;
    color: #7308d6;
    padding: 10px;
}
.icon i{
    font-weight: bolder;
    font-size: 40px;
    color: #7308d6;
}
.search-area{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    background: #f3f3f3;
    color: #7308d6;
    padding: 10px;
}
.card-text{
    font-weight: bolder;
    color: #000;
    text-align: right;
}
.card-text h2{
    font-weight: bolder;
    font-size: 40px;
}
.card-text p{
    font-size: 15px;
}

@media screen and (max-width: 660px){
    .Card-container{
        flex-direction: column;
    }
    .card{
        width: 95%;
    }
    
}

/* 2. Table Card */
.table_card{
    display: flex;
    width: 99%;
    margin: 20px;
    justify-content: center;
    align-items: center;
    margin: 5px;
    border-radius: 10px;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 10px;
    flex-direction: row;
    flex-wrap: wrap;
}
.flex-table{
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 10px;
    width: 49%;
    height: 450px;
    overflow: hidden;
    text-align: center;
}
.flex-table table{
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 10px;
}

table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    margin-bottom: 20px;
}

th, td {
    text-align: left;
    padding: 8px;
}

th{
    background-color: #7308d6;
    color: #fff;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
}
tr {
    background-color: #fff;
}
tr:nth-child(even) {
    background-color: #f0f0f0e2;
}
th{
    position: sticky;
    top: 0;
}
.table{
    width: 100%;
    height: 350px;
    overflow: scroll;
}
@media screen and (max-width: 1132px){
    .table_card{
        flex-direction: column;
    }
    .flex-table{
        width: 100%;
    }
}
/* 3. single-card-div-table */
.data-sys{
    width: 100%;
}
.single-card-div-table-head{
    margin: 15px;
    width: 90%;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 10px;
    display: flex;
    /* justify-content: center; */
    flex-direction: column;
    background-color: #f2f2f2;
    overflow-y: scroll;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.head-button{
    width: 20%;
    background: #f3f3f3;
    border-radius: 5px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    margin: 10px;
    color: #7308d6;
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
@media screen and (max-width: 660px){
    .head-button{
        width: 40%;
    }
    .single-card-div-table-printarea{
        overflow-x: hidden;
    }
    
}
@media screen and (max-width: 472px) {
    .head-button {
        width: 100%;
    }

}
.head-button:hover{
    color: #f2f2f2;
    background-color: #7308d6;
}
.button-head{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.single-card-div-table{
    margin: 15px;
    width: 90%;
    height: 600px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 10px;
    display: flex;
    /* justify-content: center; */
    flex-direction: column;
    background-color: #f2f2f2;
    gap: 10px;
    overflow-y: scroll;
}
.single-card-div-table .head h2{
    color: #141e30;
    font-weight: bolder;
    font-size: 25px;
    padding: 5px;
    text-align: center;
}
.table-card-single{
    width: 100%;
    height: 450px;
    overflow: scroll;
}
.table-card-single table{
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 10px;
}
/* live search */

.live-search{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 10px;
    gap: 10px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 10px;
    width: 100%;
}
#searchInput{
    width: 100%;
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 10px;
}

/* Icon Open */

.ri-logout-circle-r-line{
    font-weight: bolder;
    font-size: larger;
    color: #000;
}
.ri-article-fill,.ri-article-line,.ri-edit-fill {
    font-weight: bolder;
    font-size: larger;
    color: #000;
}
.ri-delete-bin-fill{
    font-weight: bolder;
    font-size: larger;
    color: #d92323;
}
.data-card{
    overflow-x: scroll!important;
}
/* Option */
.select-opt {
    display: flex;
    width: 100px;
    height: auto;
    justify-items: center;
    align-items: center;
    text-align: center;
}

.select-opt select {
    width: 100px;
    border: none;
    outline: none;
    height: 38px;
    background-color: transparent;
    border-bottom: #000 solid 2px;
    font-size: 15px;
    font-weight: bold;
}
/* Button */

button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
    margin-top: 20px;
}
.btn{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;    
}
button.learn-more {
    width: 80%;
    height: auto;
}

button.learn-more .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #282936;
    border-radius: 1.625rem;
}

button.learn-more .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}

button.learn-more .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}

button.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: -0.29rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
}

button.learn-more .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: #282936;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
}

button:hover .circle {
    width: 100%;
}

button:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem, 0);
}

button:hover .button-text {
    color: #fff;
}
/* form overflow */
.form{
    overflow: scroll;
}
/* Table Scroll */

.rangeextingusher {
    overflow: scroll;
    text-overflow: clip;
    white-space: normal;
    max-width: 10px;
}
/* certificate page */

.single-card-div-table-printarea{
    margin: 15px;
    min-height: 297mm;
    overflow: hidden;
    width: 210mm;
    max-width: 210mm;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    /* justify-content: center; */
    flex-direction: column;
    background-color: #f2f2f2;
    /* overflow-y: scroll; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-family: "EB Garamond", serif!important;
        font-optical-sizing: auto!important;
        font-style: normal!important;
}
.border{
    border: 3px solid #000;
    padding: 10px;
    margin: 10px;
    width: 100%;
    text-align: center;
}
.no-overflow{
    overflow: hidden!important;
    height: auto!important;
}
.head-compinfo{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    text-align: center;
    gap: 10px;
    overflow: hidden;
    margin-bottom: 5px;
    border-bottom: 3px solid #000;
    height: 150px;
}
.logo{
    width: 20%;
    height: 100%;
    overflow: hidden;
}
.logo img{
    width: 95%;
    height: 95%;
    object-fit: contain; 
}
.details{
    width: 80%;
    text-align: center;
    gap: 20px;
    height: auto;
    overflow: hidden;
    height: 100%;
}
.tittle{
    top: 0;
    width: 100%;
    text-align: center;
    overflow: hidden;
}
.tittle h1{
    font-size: 30px;
    color: #e59006;
    font-weight: bolder;
    letter-spacing: 5px;
    /* margin: 10px; */
}
.email-website .email-web{
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
}
.gstin .gstin-hf {
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
}
.adr .adr-ht{
    font-weight: bolder;
    letter-spacing: 1px;
    font-size: medium;
}
.phone h4{
    font-weight: bolder;
    font-size: 14px;
    letter-spacing: 1px;
}
.date-eid{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: center;
    gap: 10px;
    overflow: hidden;
    margin-bottom: 5px;
    border-bottom: 3px solid #000;
}
.date{
    margin-right: 50px ;
}
.eid .eid-p, .date .date-p{
    margin: 10px;
    font-weight: lighter;
    letter-spacing: 1px;
    font-size: 14px;
}
.eid{
    margin-left: 50px;
}
.certificatefont h1{
    margin-top: 20px;
    font-weight: bolder;
    font-size: 50px;
    letter-spacing: 5px;
    color: #e59006;
}
.custdetails{
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    margin-top: 2px;
    margin-bottom: 10px;
    /* background-color: #F45465; */
    padding-left: 25px;
}
.custdetails span{
    font-weight: bolder;
    line-height: 18px;
    font-size: medium;
    font-weight: normal;
}
.infoline{
    display: flex;
    text-align: left;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 5px;
    padding: 5px;
    color: #000;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    flex-direction: column;
}
.infoline-h3{
    font-size: 15px;
}
.authorisesign{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    text-align: right;
    align-items: flex-end;
    justify-content: center;
    /* background-color: #000; */
    }
.text{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    text-align: left;
    align-items: center;
    justify-content: center;
    line-height: 20px;
    letter-spacing: 1px;
    margin-right: 50px;
    margin-top: 7px;
    margin-bottom: 7px;
}

.cought{
    margin: 10px;
    font-weight: bolder;
    letter-spacing: 1px;
    /* line-height: 30px; */
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    padding: 5px;
}
.cought .cought-h3{
    font-weight: bolder;
}
/* table-certificate-report */
.table-certificate-report table{
    border: none;
    border-collapse: collapse;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    padding: 10px;
}

/* Fixed Tag */

.top-fixed{
    width: 100%;
    background-color: #000;
    box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
    z-index: var(--z-fixed);
}
.bottom-fixed {
    width: 100%;
    background-color: #000;
    box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
    z-index: var(--z-fixed);
}
.th-certi{
    background-color: #e5d6e3;
    color: #000;
}
.hide{
    display: none!important;
}
@media screen and (max-width: 660px) {
    #passwordModal {
        width: 80% !important;
        margin: 2%;
    }
    #userModel{
        width: 80% !important;
        margin: 2%;
    }
    .form-box {
        max-width: 100%!important;
        overflow: hidden;
        border-radius: 16px;
        color: #010101;
    }
}