@import url(font-family.css);

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.toast .btn-close {
    --bs-btn-close-bg: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url(%23clip0_195_455)%22%3E%3Cpath%20d%3D%22M18%206L6%2018%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M6%206L18%2018%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_195_455%22%3E%3Crect%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E");
    --bs-btn-close-opacity: 1;
    width: 24px;
    height: 24px;
    padding: 0.25em 0.25em;
    font-size: 20px;
}

.toast {
    /* background-color: var(--placeholder-color); */
    position: fixed;
    top: 10px;
    right: 0px;
    padding: 15px;
    border-radius: 8px;
    width: fit-content;
    height: fit-content;
    box-shadow: none;
    border: none;
}

.toast p {
    font-family: gotham-book;
    font-weight: 325;
    font-size: 12px;
    line-height: 100%;
    color: var(--p-color);
    margin-bottom: 0;
}

.success_toaster {
    background-color: var(--light-green);
}

.error_toaster {
    background-color: var(--danger-light);
}

#weightSelector {
    width: 250px;
    height: 80px;
    /* background-image: url("/images/weight_select_bg.svg"); */
    /* background-repeat: repeat; */
    /* background-size: cover; */
    overflow-x: scroll;
}

.measure_img {}

#scroller {
    height: 80px;
    border: none;
    border-radius: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
}

#scroller::-webkit-scrollbar {
    display: none;
}

#scroller-block {
    overflow: visible;
    display: grid;
}

.numberInScroller {
    text-align: center;
    line-height: 22px;
    height: 80px;
    margin: 0px;
    padding-top: 10px;
    scroll-snap-align: center;
}

#selectedValueIndicator {
    height: 50px;
    border-radius: 100%;
    background-color: white;
    border: solid;
    border-width: 1px;
    border-color: #00000050;
    z-index: +1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -73px;
    pointer-events: none;
    box-shadow: inset 0 0 10px #00000050;
    font-weight: 700;
}

.tooltip {
    display: none;
}

body {
    width: 100%;
    height: 100dvh;
    -webkit-height: 100dvh;
    -moz-height: 100dvh;
    -ms-height: 100dvh;
    -o--height: 100dvh;
    background-color: gray;
    overflow-x: hidden;
}

:root {
    --main-heading-color: #262c6b;
    --p-color: #242764;
    --bg-box: #021971;
    --gray: #e6e6e6;
    --light-green: #bff9cb;
    --light-green: #BFF9CB;
    --danger-light: #f9bbbb;
}

a {
    text-decoration: none;
    margin: 0;
    padding: 0;
}

main {
    max-width: 425px;
    /* height: 100dvh; */
    margin: auto;
    overflow: auto;
    position: relative;
    box-sizing: border-box;
    background: #fff;

    height: auto;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

/* loader */
.load {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100dvh;
    overflow: hidden;
    background-color: #fff;
}

.loader {
    width: 20px;
    height: 20px;
    border-radius: 100%;
    border: 15px solid #001a72;
    border-top: 15px solid #fff;
    animation: loader 2s linear infinite;
    margin: 0;
    padding: 0;
}

@keyframes loader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Header */
header {
    width: 100%;
    height: 5dvh;
    display: flex;
    align-items: center;
    justify-content: end;
}

header img {
    padding-top: 20px;
    padding-right: 20px;
    width: 150px;
}

/* Main content */
.main_content {
    /* height: 80dvh; */
    padding: 40px 10px 40px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;

    height: auto;
    /* min-height: 80dvh; */
    flex-grow: 1;
}

.main_content .child_img img {
    margin-top: -5%;
    max-height: 290px;
}

.main_content .paracetamole_img img {
    max-height: 130px;
}

.main_content .hr {
    height: 1px;
    width: 70%;
    background-color: #001a72;
}

.main_content .did_you_know h6 {
    color: var(--main-heading-color);
    font-size: clamp(0.875rem, 5.714vw - 0.268rem, 1.25rem);
    font-family: gotham-black;
}

.main_content .did_you_know p {
    color: var(--main-heading-color);
    font-weight: 300;
    line-height: 20px;
    font-family: gotham-book;
}

/* Footer */
footer {
    width: 100%;
    height: 15dvh;
    /*position: absolute;
    bottom: 0;*/
    background-color: rgba(230, 230, 230, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    min-height: 70px;
    margin-top: 50px;
}

footer a .next_btn {
    /* position: absolute; */
    max-width: 50px;
    min-width: 50px;
    height: 50px;
    border-radius: 100%;
    background-color: #001a72;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -100%;
    transition: all ease-in-out 0.5s;
}

footer a .next_btn:active {
    transform: scale(1.3);
}

footer a .next_btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

footer a .next_btn img {
    height: 20px;
    width: 20px;
}

footer a .next_btn .fa-angle-right:before {
    color: #fff;
    font-weight: 900;
    font-size: 20px;
    margin: 0;
    padding: 0;
}

footer p {
    margin: 0;
    padding: 0 20px;
    text-align: center;
    color: var(--p-color);
    line-height: 20px;
    margin-top: -5px;
    font-weight: 400;
    font-family: gotham-book;
    font-size: clamp(0.75rem, 3.81vw - 0.012rem, 1rem);
}

footer.mainPage_ftr {
    position: static;
    /* height: 20dvh; */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    min-height: 130px;
    height: auto;
    max-height: 90px;
    margin-top: 0;
}

footer a .next_btn {
    max-width: 50px;
    min-width: 50px;
    height: 50px;
    border-radius: 100%;
    background-color: #001a72;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -70%;
    transition: all ease-in-out 0.5s;
}

/*=========================
    Dose and Weight Page 
===========================*/
.doseWeightForm {
    display: flex;
    flex-direction: column;
    height: 100dvh;
}

.dosageFormSmall {
    display: flex;
    flex-direction: column;
    height: 100dvh;
}

.dose_weight {
    margin: 0 auto;
    padding: 0 10px;
    width: 100%;
    /* height: auto; */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding-top: 40px;
    gap: 50px;
    flex-grow: 1;
    padding-bottom: 70px;
}

.dose_weight .heading {
    font-size: 35px;
    font-weight: 500;
    font-family: gotham-black;
    color: var(--main-heading-color);
    line-height: 40px;
}

.select_product {
    display: flex;
    align-items: center;
    width: 100%;
}

.dose_weight .select_product img {
    max-width: 60px;
    min-width: 60px;
    position: relative;
    z-index: 5;
    left: 25px;
}

label,
.select_product label,
.select_weight label {
    font-size: 24px;
    color: var(--p-color);
    margin-bottom: 5px;
    text-align: center !important;
    font-weight: 400;
    font-family: gotham-book;
}

.select_product label {
    margin-left: -40px;
}

/* Select custom dropdown styles */
.custom-dropdown {
    position: relative;
    display: inline-block;
    outline: none;
    border: none;
    margin-left: -15%;
    text-align: center;
    padding: 10px;
    border-radius: 100px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* box-shadow: inset 1px -2px 9px 0 rgba(204, 204, 204), 4px 6px 11px 0px rgba(0, 0, 0, 0.45); */
    /* box-shadow: inset 8px -20px 18px 16px rgb(215 215 215 / 72%), 3px 7px 9px 0px rgba(0, 0, 0, 0.45); */
    box-shadow:
        inset 2px -3px 20px 0px rgb(145 145 145 / 30%),
        7px 6px 10px 0px #959595a6,
        inset -3px -7px 15px 0 #c5c5c582;
    background-color: #fff;
    color: var(--main-heading-color);
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    font-weight: 700;
    font-family: gotham-bold;
}

.custom-dropdown select {
    display: none;
}

.custom-dropdown .select-styled {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: gotham-bold;
    color: #757575;
    padding: 0 38px;
}

.custom-dropdown .select-styled.selected {
    color: #001a72;
    /* Color after selection */
}

.custom-dropdown .select-styled:after {
    background: url("images/select_dropdown.svg") no-repeat 92% 55%;
    background-size: 20px;
    border-radius: 100px;
    padding: 10px;
    border: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-size: 20px;
    font-weight: 700;
    color: var(--main-heading-color);
    content: "";
    position: absolute;
    top: 32%;
    right: 34px;
    transition: all ease-in-out 0.3s;
}

.custom-dropdown .select-styled.active:after {
    transform: rotate(-180deg);
}

/* Style the dropdown options */
.custom-dropdown .select-options {
    display: none;
    position: absolute;
    background-color: #f0f0f0;
    border-radius: 0 0 20px 20px;
    box-shadow: 4px 6px 9px 0px #00000036;
    z-index: 1;
    min-width: 62%;
    z-index: 20;
    margin: 0 auto;
    left: 20%;
    top: 16px;
    overflow: hidden;
    font-weight: 700;
    font-family: gotham-bold;
}

.custom-dropdown .select-options.active {
    display: block;
    padding: 0 10px;
}

.custom-dropdown .select-options div {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-bottom: 2px solid rgba(128, 128, 128, 0.476);
    font-size: 20px;
    line-height: 100%;
    text-wrap: nowrap;
    font-weight: 700;
    font-family: gotham-bold;
}

.custom-dropdown .select-options div:last-child {
    border-bottom: none;
}

.custom-dropdown .select-options div:hover {
    background-color: #cecece;
}

.select_weight {
    width: 320px;
}


/* .select_weight img:nth-child(1) {
    max-width: 100px;
    min-width: 100px;
} */

.select_weight .measure_img img {
    max-width: 120px;
    min-width: 120px;
    margin: 0;
    cursor: pointer;
}

.select_weight .measure_img {
    position: relative;
}

.select_weight .measure_img .input_filed {
    content: "";
    position: absolute;
    height: 53px;
    width: 53px;
    background: transparent;
    /* background: url(./images/ans_round_circle.svg) no-repeat; */
    background-size: 100%;
    border: 0;
    border-radius: 100%;
    left: 27.5%;
    top: 6.5%;
    /* box-shadow: 6px 6px 10px 0px #0000075c; */
    outline: none;
    text-align: center !important;
    color: var(--main-heading-color);
    font-weight: 500;
    font-family: gotham-black;
    font-size: 26px;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

.select_weight .measure_img .input_filed::placeholder {
    text-align: center !important;
    font-weight: 500;
    font-family: gotham-black;
    font-size: 32px;
    color: #757575;
}

.measure_img {
    position: relative;
}

.measure_img .kg {
    position: absolute;
    top: -38%;
    left: 33.8%;
    /* z-index: -1; */
    font-weight: 500;
    font-family: gotham-black;
}

.measure_img .kg .vr {
    display: inline-block;
    align-self: stretch;
    width: 3px;
    min-height: 80px;
    background-color: #242764 !important;
    opacity: 1;
}

.measure_img .kg p {
    font-size: 18px;
    font-weight: 500;
    font-family: gotham-black;
    color: var(--p-color);
}

footer.calculate_btn button {
    margin-top: -100px;
    outline: none;
    background-color: transparent;
    border: none;
}

/*==================================
    Dose Weight Answer Page
==================================*/
.backToHome img {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
}

.final_answer_page {
    margin-top: 15%;
    flex-grow: 1;
    padding-bottom: 0px;
}

.crocin_div {
    height: 47dvh;
    background-color: rgba(230, 230, 230, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.glass_box {
    display: flex;
    align-items: flex-end;
    padding-left: 40px;
    margin-top: -5px;
    position: relative;
}

/* .glass_box::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 24%;
    left: 0;
    background-color: var(--gray);
} */

#crocin_img {
    width: 35%;
}

.ans_input {
    max-width: 320px;
    min-width: 320px;
    border: 0;
    outline: none;
    border: none;
    text-align: center;
    border-radius: 100px;
    padding: 15px 10px;
    /* box-shadow: inset -5px -17px 10px 0px rgba(169, 169, 169, 0.3), 7px 6px 20px 0px #00000073; */
    box-shadow:
        inset 2px -3px 20px 0px rgb(145 145 145 / 30%),
        7px 6px 20px 0px #959595a6,
        inset -3px -7px 15px 0 #c5c5c582;
    color: #001c64;
    font-size: 20px;
    line-height: 100%;
    margin: auto;
    font-weight: 700;
    font-family: gotham-bold;
}

.desc {
    text-align: right;
    font-size: 18px;
    color: #001c64;
}

.glass_box .ans_rounded {
    width: 110px;
    height: 110px;
    position: relative;
    z-index: 2;
    margin-bottom: -8px;
    left: 33px;
    border: none;
    background: url(./images/ans_round_circle.svg) no-repeat;
    background-size: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    outline: none;
    color: #22285c;
    font-size: 45px;
    font-weight: 500;
    font-family: poppins-Extrabold;
}

.glass_box .ans_rounded::placeholder {
    font-weight: 500;
    font-family: poppins-Extrabold;
    text-align: center;
}

.glass_box .blue_circle {
    width: 60px;
    height: 60px;
    background-color: #22285c;
    box-shadow: 5px 5px 10px #0000075c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    margin-left: 22px;
    margin-top: 7px;
    z-index: 1;
    font-size: 28px;
    padding-left: 5px;
    font-family: poppins-bold;
}

.glass_box p {
    margin: 0;
    color: #001c64;
    position: relative;
    z-index: 11;
    margin-bottom: 20px;
    margin-left: -34px;
    font-family: gotham-book;
    font-size: 24px;
    line-height: 26px;
}

.glass_box .glass_img {
    height: 100px;
    position: relative;
    z-index: 2;
}

footer.final_answer_page {
    /* height: 60dvh; */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: unset;
    /* margin-top: -64px;
    padding-top: 40px; */
    flex-grow: inherit;
    margin-top: 0;
    padding: 5px 10px;
}

.final_answer_page .para-img {
    max-width: 290px;
    min-width: 290px;
    max-height: 100%;
    min-height: 100%;
}

footer.final_answer_page p {
    font-family: gotham-book;
    font-weight: 500;
    font-size: 18px;
    line-height: 20px;
    text-wrap: nowrap;
}

.maximuDose_line {
    margin-bottom: 0;
    padding-top: 10px;
    font-size: 16px;
    font-weight: 325;
    line-height: 19.2px;
    text-align: center;
    color: #262c6b;
    /* background-color: var(--gray); */
    display: flex;
    align-items: center;
    justify-content: center;
}

.maximuDose_line span {
    font-size: 16px;
    font-weight: 700;
    line-height: 17.68px;
    color: #262c6b;
    display: flex;
    align-items: center;
    margin-left: 5px;
}

.footer_maximumDose_line {
    color: #262c6b;
    background-color: var(--gray);
    font-size: 9px;
    font-weight: 325;
    line-height: 12px;
    margin-bottom: 0;
    padding: 0 10px 10px 10px;
}

.footer_maximumDose_line span {
    font-weight: 700;
}

.fourAns_input {
    outline: none;
    border: none;
    background-color: transparent;
    width: fit-content;
    margin-right: 3px;
}


/*======== Doctor Details Page ========*/
.drImageUpload {
    width: 180px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    clip-path: circle(50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(0deg, #262b69 31.97%, #0091d0 98.31%);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.drImageUpload input {
    position: absolute;
    height: 100%;
    width: 100%;
    cursor: pointer;
    display: none;
}

.drImageUpload img {
    height: 75%;
}

.drImageUpload img.uploaded {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.drImageUpload p {
    text-align: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 108%;
    color: #1192cd;
    margin-top: 10px;
}

.drImageUpload img.uploaded ~ p {
    display: none;
}

.doctor_detail_page .heading {
    font-size: 35px;
    font-weight: 500;
    font-family: gotham-black;
    color: var(--main-heading-color);
    line-height: 40px;
}

.customInput {
    background: #f3f3f3;
    box-shadow: 0px 5px 9px rgba(0, 0, 0, 0.3),
        inset 0px 0px 20px rgba(71, 71, 71, 0.25);
    border-radius: 510px;
    border: none;
    padding: 15px 20px;
    text-align: center;
    max-width: 340px;
    width: 100%;
    font-family: gotham-book;
    font-weight: 600;
    font-size: 16px;
    line-height: 108%;
    color: var(--p-color);
}


.formBtn {
    background: linear-gradient(180deg, #ffffff 5.41%, #ffffff 100%);
    box-shadow: -1px 7px 10px rgba(0, 0, 0, 0.25), inset 0px -0px 44px rgba(0, 0, 0, 0.25), inset -0px -0px 44px #ffffff;
    border-radius: 510px;
    border: none;
    padding: 14px 30px;
    text-align: center;
    font-family: gotham-bold;
    font-weight: 700;
    font-size: 14px;
    line-height: 108%;
    color: var(--main-heading-color);
    width: fit-content;
}

.doctor_detail_page .formBtn {
    margin-top: -30px;
}

.downloadBtn_ansPage {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 7px 7px 25px;
    background: linear-gradient(180deg, #ffffff 5.41%, #ffffff 100%);
    box-shadow: 2px 5px 4px rgba(0, 0, 0, 0.25), inset 3px -8px 20px 3px rgba(0, 0, 0, 0.25), inset 2px 10px 20px 13px #ffffff;
    border-radius: 510px;
    color: var(--main-heading-color);
    font-family: gotham-bold;
    font-weight: 700;
    font-size: 16px;
    line-height: 108%;
    width: fit-content;
    border: none;
    outline: none;
    position: relative;
    z-index: 1;
}

.downloadBtn_ansPage .circleBtn {
    max-width: 35px;
    min-width: 35px;
    height: 35px;
    background-color: var(--main-heading-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.downloadBtn_ansPage .circleBtn svg,
.downloadBtn_ansPage .circleBtn img {
    width: 50%;
}

.downloadBtnBox {
    background: var(--gray);
    margin-top: 40px;
}
.downloadBtnBox .downloadBtn_ansPage {
    margin-top: -25px;
}


/************ Meadia Query Start ************/
@media (max-width: 375px) {
    .backToHome img {
        width: 40px;
        height: 40px;
    }

    .main_content img {
        max-height: 280px;
    }

    .main_content .child_img img {
        max-height: 260px;
    }

    .main_content {
        gap: 10px;
    }

    .main_content {
        padding: 15px 10px 40px 10px;
    }

    /* .main_content .paracetamole_img img {
        max-height: 100px;
    } */
    .select_weight .measure_img .input_filed {
        left: 28%;
    }

    footer a .next_btn {
        margin-top: -80%;
    }

    .measure_img .kg {
        top: -42%;
        left: 28.8%;
    }

    .glass_box {
        padding-left: 20px;
    }

    footer.final_answer_page img {
        width: 30% !important;
    }

    .custom-dropdown .select-styled:after {
        background-size: 15px;
        right: 20px;
    }

    .custom-dropdown .select-styled:after {
        right: 25px;
    }

    .final_answer_page .para-img {
        max-width: 260px;
        min-width: 260px;
    }

    .dose_weight {
        gap: 20px;
    }
}

@media (max-width: 344px) {

    label,
    .select_product label,
    .select_weight label {
        font-size: 20px;
    }

    .custom-dropdown .select-styled:after {
        right: 15px;
    }
}

@media (max-width: 320px) {
    .main_content .child_img img {
        margin-top: -20px;
        max-height: 200px;
    }

    .main_content .paracetamole_img img {
        max-height: 100px;
    }

    label,
    .select_product label,
    .select_weight label {
        font-size: 20px;
    }

    .select_weight .measure_img .input_filed {
        left: 27%;
    }

    .measure_img .kg {
        top: -48%;
        left: 27.9%;
    }

    .final_answer_page .dose_weight_ans .ans_input {
        max-width: 280px;
        min-width: 280px;
        font-size: 18px;
    }

    .final_answer_page .para-img {
        max-width: 230px;
        min-width: 230px;
    }

    .glass_box {
        padding-left: 10px;
    }

    footer.final_answer_page p {
        font-size: 16px;
    }
}