/* ===============================
   Fonts  
=============================== */
/* open-sans Font Family */
@font-face {
    font-family: OpenSans_nd33;
    src: url(https://partner.grocito.in/resources/Font-Family/open-sans/OpenSans-Regular.ttf) format("OpenType");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: OpenSans_nd33;
    src: url(https://partner.grocito.in/resources/Font-Family/open-sans/OpenSans-Medium.ttf) format("OpenType");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: OpenSans_nd33;
    src: url(https://partner.grocito.in/resources/Font-Family/open-sans/OpenSans-SemiBold.ttf) format("OpenType");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: OpenSans_nd33;
    src: url(https://partner.grocito.in/resources/Font-Family/open-sans/OpenSans-Bold.ttf) format("OpenType");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Poppines Font Family */
@font-face {
    font-family: Poppines_nd33;
    src: url(https://partner.grocito.in/resources/Font-Family/poppines/Poppins-Light.ttf) format("OpenType");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Poppines_nd33;
    src: url(https://partner.grocito.in/resources/Font-Family/poppines/Poppins-Regular.ttf) format("OpenType");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Poppines_nd33;
    src: url(https://partner.grocito.in/resources/Font-Family/poppines/Poppins-Medium.ttf) format("OpenType");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Poppines_nd33;
    src: url(https://partner.grocito.in/resources/Font-Family/poppines/Poppins-SemiBold.ttf) format("OpenType");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Poppines_nd33;
    src: url(https://partner.grocito.in/resources/Font-Family/poppines/Poppins-Bold.ttf) format("OpenType");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: __Fallback_wq0;
    src: url("Arial");
    line-gap-override: 0%;
    ascent-override: 110%;
    descent-override: 30%;
}

/* ===============================
   THeme Rules 
=============================== */

/* ===============================
   THeme Rules 
=============================== */

:root {
    --main-color: #4a8fc5;
    /* text color */
    --white-clr: white;
    --white-bg-clr: #f5f5f5;
    --black-clr: black;
    --primary-text-clr: #f6f6f6;
    --secondary-text-clr: #555555;
    --link-text-clr: #5899cc;
    --user-active-clr: #f3f3f3;
    /* button */
    --primary-color: #4c49ed;
    --danger-color: rgb(214, 23, 31);
    --main-btn: #4a8fc5;
    --step-primary: #cdd3d6;
    --step-color: #2b6491;
    --step-active-clr: #5dc665;

    /* table */
    --border-green: #00b087;
    --text-green: #008767;
    --bg-green: rgb(22, 192, 152);
    --border-light-gray: #eeeeee;
    --text-active-clr: #4b8b73;
    --btn-text-clr: #008654;
    --table-heading-bg: #e1f0fd;
    /* dashboard */
    --dash-active-clr: #2b6491;
    --dash-bg-clr: #fafbfc;
    --dash-list-clr: #737791;
    --dash-total-clr: #ffe2e5;
    --dash-subscrie-clr: #fff4de;
    --dash-commision-clr: #dcfce7;
    --dash-refferal-clr: #f3e8ff;
    --dash-card-clr: #425166;

    /* notification */
    --notification-clr: #fffaf1;
    --offline-clr: #eb5757;

    /* Dashboard Ticket colors */
    --total-ticket-text-clr: #ff5151;
    --total-ticket-bg-clr: #ffefe7;
    --pending-ticket-text-clr: #3786f1;
    --pending-ticket-bg-clr: #e8f0fb;
    --closed-ticket-text-clr: #ee61cf;
    --closed-ticket-bg-clr: #fdebf9;
    --open-ticket-bg-clr: #d7f3d1;
    --eye-color: #f07717;
    /* chat background color */
    --client-message-bg: #db9b0b;
}

/* ===============================
   Basic Rules 
=============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppines_nd33, __Fallback_wq0;
    line-height: 1.56;
    letter-spacing: 0.1px;
    word-spacing: 0.1px;
}

html {
    /* 10px = 1rem */
    font-size: 62.5%;
}
.row{
    --bs-gutter-x: 0; 
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: 0.1px;
}

& h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 2rem;
}

p,
li,
a {
    color: var(--secondary-text-clr);
}

p {
    font-size: 1.4rem;
}

a {
    text-decoration: none;
    font-size: 1.6rem;
    display: block;
}

:is(button, input) {
    display: inline-block;
}

span {
    color: var(--main-color);
}

.form-control span:not(span[class="optional"])::after {
    content: "*";
    color: red;
}

table {
    width: 100%;
}

ul {
    list-style: none;
}

input,
select,
textarea {
    outline: none;
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    background: transparent;
    color: var(--secondary-text-clr);
    font-size: 1.4rem;
    border-radius: 4px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.05);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

input:valid~span,
input:focus~span,
select:valid~span,
select:focus~span,
textarea:valid~span,
textarea:focus~span {
    color: var(--secondary-text-clr);
    padding: 0 1rem;
    background-color: var(--white-clr);
    transform: translateX(5px) translateY(-20px);
    -webkit-transform: translateX(5px) translateY(-20px);
    -moz-transform: translateX(5px) translateY(-20px);
    -ms-transform: translateX(5px) translateY(-20px);
    -o-transform: translateX(5px) translateY(-20px);
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

@media (width<=600px) {
    html {
        font-size: 56.25%;
    }
}

/* ===============================
   Layout Rules  
=============================== */

.container {
    width: 100%;
    margin: 0 auto;
    height: 100%;
}

.grid {
    display: grid;
}

.grid-col--two {
    grid-template-columns: repeat(2, 1fr);
}

.grid-col--four {
    grid-template-columns: repeat(4, 1fr);
}

.grid-col--five {
    grid-template-columns: repeat(5, 1fr);
}

/* ===============================
   Modules Rules
=============================== */

.main-heading {
    font-size: 3rem;
    font-weight: 400;
}

.title {
    font-size: 2rem;
}

.subtitle {
    font-size: 1.6rem;
    font-weight: 600;
}

.para {
    font-size: 1.6rem;
    font-family: OpenSans_nd33;
    font-weight: 600;
}
input::placeholder{
    color:var(--danger-color);
}

.para-white {
    color: var(--primary-text-clr);
}

.para-black {
    color: var(--black-clr);
}

.primary-btn {
    background-color: var(--main-btn);
    color: var(--white-clr);
}

.Primary {
    background-color: var(--primary-color);
}

.danger {
    background-color: var(--danger-color);
}

.form-control {
    position: relative;
    width: 100%;
}

.input-control {
    display: flex;

    & .adhar-details {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-top: 1rem;

        & span {
            color: var(--secondary-text-clr);
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        & .upload-image-detail {
          display: flex;
            justify-content: space-between;
            gap: 0rem;
            white-space: nowrap;
            padding: 0 1rem 0 0;
            border-radius: 4px;
            border: 1px dashed var(--secondary-text-clr);
            box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.05);
            align-items: center;
            -webkit-border-radius: 4px;

            & .adhar-info {
                display: flex;
                padding: 1rem;
                gap: .5rem;
                border-radius: 4px;
                -webkit-border-radius: 4px;
                -moz-border-radius: 4px;
                -ms-border-radius: 4px;
                -o-border-radius: 4px;

                & p {
                    font-size: 1.2rem;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    width: 150px;
                }

                & img {
                    width: 30px;
                    height: 30px;
                }
            }

            & button {
                border: 1px solid var(--main-btn);
                color: var(--main-color);
                background-color: transparent;
                height: 45px;
                width: 100px;
                padding:1rem;
                margin-left: -1rem;

                & label {
                    cursor: pointer;
                }
            }
        }
    }
}

.reffer-btn {
    padding: 1rem 3rem;
    font-size: 1.5rem;
    margin-top: 2rem;
}

& .faq-btn {
    padding: 1rem 3rem;
    font-size: 1.5rem;
}

& .image-detail {
    width: 100%;
    display: flex;
    gap: 2rem;
  
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;

    & img {
        height: 30px;
        width: 30px;
        border-radius: 50%;
        border: 2px solid var(--main-color);
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -ms-border-radius: 50%;
        -o-border-radius: 50%;
    }

    & .button-group {
          display: flex;
            justify-content: center;
            align-items: center;
        & .button-up-re {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1rem;

            & button,
            & .btn-upload {
                padding: 0.6rem 3rem;
            }

            & .btn-upload {
                display: inline-block;
                width: 120px;
                font-size: 1.3rem;
                text-align: center;
                vertical-align: middle;
                border: 1px solid var(--main-btn);
                border-radius: 4px;
                cursor: pointer;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }

        & .image-type {
            margin-top: 1rem;
        }
    }
}

& .search-options {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding: 0 1rem;

    & .search {
        position: relative;
        width: 100%;

        & input {
            padding: 1rem;
            width: 40%;
            text-indent: 3rem;
            border-radius: 10px;
            -webkit-border-radius: 10px;
            -moz-border-radius: 10px;
            -ms-border-radius: 10px;
            -o-border-radius: 10px;
        }

        & i {
            font-size: 1.5rem;
            position: absolute;
            top: 1.5rem;
            left: 2rem;
        }
    }

    & .search-category {
        position: relative;

        & button {
            height: 40px;
            width: 120px;
            border-radius: 10px;
            -webkit-border-radius: 10px;
            -moz-border-radius: 10px;
            -ms-border-radius: 10px;
            -o-border-radius: 10px;
        }

        & .search-dropdown {
            position: relative;
            display: inline-block;

            & .search-dropdown-content {
                display: none;
                position: absolute;
                background-color: var(--border-light-gray);
                color: var(--black-clr);
                border-radius: 5px;
                min-width: 115px;
                overflow: auto;
                right: 0;
                top: 4.5rem;
                box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
                z-index: 1;
                -webkit-border-radius: 5px;
                -moz-border-radius: 5px;
                -ms-border-radius: 5px;
                -o-border-radius: 5px;

                & a {
                    padding: 1rem;
                    text-align: center;
                }
            }

            .show {
                display: block;
            }
        }

        & .search-dropdown a:hover {
            background-color: var(--dash-active-clr);
            color: var(--white-clr);
        }

        & i {
            position: absolute;
            top: 1.3rem;
            right: 1.5rem;
        }
    }
}
