.body {
    padding-bottom: 5em;
}

.nav-tabs {
    border: none;
    background-color: var(--light-tone);
    padding: 0.5rem;
    border-radius: 12px;
}

.nav-link {
    color: var(--secondary-tone-n3);
}

.nav-link:hover {
    color: var(--primary-tone);
}

.nav-tabs .nav-item .nav-link,
.nav-tabs .nav-link.active {
    --bs-nav-tabs-link-active-color: var(--secondary-tone-n7);
    --bs-nav-tabs-link-active-bg: var(--tertiary-tone-4);
    --bs-nav-tabs-link-active-border-color: none;
    border: none !important;
}

.nav-tabs .nav-link {
    border-radius: 8px !important;
}

.dashboard__card {
    display: flex;
    flex-direction: column;
    gap: 0rem;
    background-color: var(--light-tone);
}

.grayscale--filter {
    filter: grayscale(1);
}

.text-justify {
    text-align: justify !important;
}

.custom_button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 64px;
    box-shadow: 0px 15px 30px -5px rgba(210, 204, 195, 0.3);
    border-radius: 12px;
    background-color: var(--light-tone);
    color: var(--tertiary-tone);
    font-family: var(--font-family1);
    font-size: var(--caption1);
    transition: 0.5s;
}

.custom_button .icon {
    font-family: var(--font-family-n1);
    font-size: var(--title1_5);
    margin-top: 0.2rem;
}

.custom_button:hover {
    box-shadow: 0px 0px 20px 3px rgba(210, 204, 195, 0.7) inset;
}

.dashboard__card .btn {
    width: 100%;
}

.plan-card:hover {
    /* transform: scaleX(1) scaleY(1); */
}

.info__card {
    box-shadow: 0px 15px 30px -5px rgba(210, 204, 195, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.card_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.1rem;
    border-radius: 12px;
}

.card_item.collapsed,
.card_item .collapsed,
.collapsible.collapsed {
    display: none;
}

.title_item {
    justify-content: center;
    width: 100%;
    color: var(--secondary-tone-n7);
    font-size: var(--title2);
    margin: auto;
    font-family: var(--font-family1);
}

.card_item .right {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card_item.distinct {
    background-color: var(--secondary-tone-2);
}

.card_item.distinct-light {
    background-color: var(--secondary-tone-3);
}

.card_item .card_item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    /* width: 3.5rem; */
    width: auto;
    height: 3.5rem;
    cursor: pointer;
    color: var(--light-tone);
}

.card_item .card_item-icon+div {
    width: 100%;
}

.card_item.distinct .card_item-icon {
    background-color: #ffffff;
}

.card_item .card_item-icon.mini-symbol {
    background-color: var(--secondary-tone-n3);
    min-width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
}

.card_item-title {
    color: var(--secondary-tone-n7);
    font-size: var(--caption2);
}

.card_item-info {
    color: var(--secondary-tone-n2);
    font-size: var(--caption2);
    text-align: left;
}

.mini-symbol svg {
    width: 1rem;
    height: 1rem;
    color: var(--light-tone);
}

/* order__card styles */

.order__card {
    box-shadow: 0px 15px 30px -5px rgba(210, 204, 195, 0.3);
    border-radius: 12px;
    padding: 1rem;
}

.order__card .title_item {
    justify-content: center;
    color: var(--secondary-tone-n5);
    font-size: var(--title2);
    margin: auto;
    font-family: var(--font-family1);
}

.order__card.disabled .title_item,
.order__card.disabled .card_item .card_item-title,
.order__card.disabled .card_item .card_item-info {
    color: var(--secondary-tone-n2);
}

.order__card .card_item.distinct {
    background-color: var(--secondary-tone-3);
}

.order__card .card_item-title {
    /* font-size: var(--text1); */
}

.order__card .card_item-info {
    color: var(--secondary-tone-n7);
    font-family: var(--font-family1);
}

.order__card .card_item svg {
    width: 5rem;
    margin: auto;
}

/* myplan__card styles */
.myplan__card {
    box-shadow: 0px 15px 30px -5px rgba(210, 204, 195, 0.3);
    border-radius: 12px;
    padding: 1rem;
}

.circular__indicator {
    width: 10rem;
    height: 10rem;
    position: relative;
    justify-content: center;
    margin: 1rem auto;
}

.circular__indicator .circle {
    position: absolute;
    width: 100%;
    height: 100%;
    /* background-color: var(--base-tone); */
    border: 6px solid var(--success-tone);
    border-radius: 50%;
    z-index: 1;
}

.card_item .expiration--mode {
    position: absolute;
    width: 40%;
    height: auto;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.card_item.single {
    justify-content: center;
}

.card_item-title.danger {
    color: var(--danger-tone);
}

.card_item.linear__indicator {
    flex-direction: column;
    gap: .3rem;
}

.card_item.linear__indicator .above {
    align-self: flex-start;
}

.card_item.linear__indicator .bar {
    width: 100%;
    position: relative;
    padding-bottom: .5rem;
}

.card_item.linear__indicator .bar .line {
    position: absolute;
    width: 100%;
    height: 6px;
    background-color: var(--secondary-tone);
    left: 0;
    top: 6px;
}

.card_item.linear__indicator .bar .remaining {
    position: absolute;
    /* width: 90%; */
    height: 6px;
    background-color: var(--primary-tone-2);
    left: 0;
}

.card_item.linear__indicator .bar .remaining.orange {
    background-color: var(--tertiary-tone);
}

.card_item.linear__indicator .below {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.plan-detail {
    width: 100%;
}

.disabled__card .title_item {
    color: var(--secondary-tone-n2);
}

.disabled__card .card_item.circular__indicator .remaining {
    display: none;
}

.disabled__card .card_item .expiration--mode {
    fill: var(--secondary-tone-n2);
}

.disabled__card .card_item.linear__indicator .bar .remaining {
    width: 10%;
    height: 6px;
    background-color: var(--secondary-tone-n3);
}

.btn__collapse {
    text-align: center;
    transition: transform .2s ease-in-out;
}

.btn__collapse svg {
    width: 20px;
    aspect-ratio: 1;
}

/* myappointment__card styles */
.myappointment__card {
    border-radius: 12px;
    box-shadow: 0px 15px 30px -5px rgba(210, 204, 195, 0.3);
    padding: 1.5rem 2rem;
}

.myappointment__card .card_item {
    padding: 1.5rem 0;
}

.myappointment__card .plan-detail {
    padding: 25px 15px;
}

.hexagon-wrapper {
    position: relative;
}

.hexagon-wrapper:before,
.hexagon-wrapper:after {
    content: '';
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-size: contain !important;
}

.hexagon-wrapper:before {
    background: url("/front/images/inner-hexagon.png") center center no-repeat;
    width: calc(100% + 1em);
    height: calc(100% + 1em);
}

.hexagon-wrapper:after {
    background: url("/front/images/outer-hexagon.svg") center center no-repeat;
    width: calc(100% + 2.5em);
    height: calc(100% + 2.5em);
}

.hexagon-wrapper.full:before {
    width: calc(100% + 1.5em);
    height: calc(100% + 1.5em);
}

.hexagon-wrapper.full:after {
    width: calc(100% + 3.5em);
    height: calc(100% + 3.5em);
}

.hexagon-image {
    max-width: 100%;
    display: inline-block;
    width: 100px  !important;
    height: 100px !important;
    background-image: url("/front/images/doctor.png");
    background-size: contain;
    -webkit-clip-path: polygon(92.32051% 40%, 93.79385% 43.1596%, 94.69616% 46.52704%, 95% 50%, 94.69616% 53.47296%, 93.79385% 56.8404%, 92.32051% 60%, 79.82051% 81.65064%, 77.82089% 84.50639%, 75.35575% 86.97152%, 72.5% 88.97114%, 69.3404% 90.44449%, 65.97296% 91.34679%, 62.5% 91.65064%, 37.5% 91.65064%, 34.02704% 91.34679%, 30.6596% 90.44449%, 27.5% 88.97114%, 24.64425% 86.97152%, 22.17911% 84.50639%, 20.17949% 81.65064%, 7.67949% 60%, 6.20615% 56.8404%, 5.30384% 53.47296%, 5% 50%, 5.30384% 46.52704%, 6.20615% 43.1596%, 7.67949% 40%, 20.17949% 18.34936%, 22.17911% 15.49361%, 24.64425% 13.02848%, 27.5% 11.02886%, 30.6596% 9.55551%, 34.02704% 8.65321%, 37.5% 8.34936%, 62.5% 8.34936%, 65.97296% 8.65321%, 69.3404% 9.55551%, 72.5% 11.02886%, 75.35575% 13.02848%, 77.82089% 15.49361%, 79.82051% 18.34936%);
    clip-path: polygon(92.32051% 40%, 93.79385% 43.1596%, 94.69616% 46.52704%, 95% 50%, 94.69616% 53.47296%, 93.79385% 56.8404%, 92.32051% 60%, 79.82051% 81.65064%, 77.82089% 84.50639%, 75.35575% 86.97152%, 72.5% 88.97114%, 69.3404% 90.44449%, 65.97296% 91.34679%, 62.5% 91.65064%, 37.5% 91.65064%, 34.02704% 91.34679%, 30.6596% 90.44449%, 27.5% 88.97114%, 24.64425% 86.97152%, 22.17911% 84.50639%, 20.17949% 81.65064%, 7.67949% 60%, 6.20615% 56.8404%, 5.30384% 53.47296%, 5% 50%, 5.30384% 46.52704%, 6.20615% 43.1596%, 7.67949% 40%, 20.17949% 18.34936%, 22.17911% 15.49361%, 24.64425% 13.02848%, 27.5% 11.02886%, 30.6596% 9.55551%, 34.02704% 8.65321%, 37.5% 8.34936%, 62.5% 8.34936%, 65.97296% 8.65321%, 69.3404% 9.55551%, 72.5% 11.02886%, 75.35575% 13.02848%, 77.82089% 15.49361%, 79.82051% 18.34936%);
}

.address-block {
    padding-right: 6px;
}

.address_item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.address_text {
    width: calc(100% - 50px);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.address_icon {
    position: relative;
    width: 50px;
    height: 50px;
    background: var(--secondary-tone-n1);
    border-radius: 50px 50px 50px 0px;
}

.address_icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 6px;
    bottom: 6px;
    border: 2px solid var(--secondary-tone-n7);
    border-radius: 50px 50px 50px 0px;
}

.address_icon svg {
    position: absolute;
    width: 40%;
    aspect-ratio: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.address_title {
    font-size: var(--caption1);
}

.address-block.gray .address_title {
    color: var(--secondary-tone-n4);
}

.address_detail {
    font-family: var(--font-family3);
    font-size: var(--miniCaption);
    line-height: 1.5rem;
    letter-spacing: 0.02em;
}

.address-block.gray .address_detail {
    color: var(--secondary-tone-n7);
}

/* service__card styels */

.service__card {
    padding: 2.5rem 1.25rem;
    border-radius: 12px;
}

.star-rate {
    width: 2rem;
    aspect-ratio: 1;
    cursor: pointer;
}

/* Idle State of the stars */
.rating-stars ul>li.star>.star-rate {
    fill: var(--light-tone);
    /* Color on idle state */
}

/* Hover state of the stars */
.rating-stars ul>li.star.hover>.star-rate {
    fill: var(--tertiary-tone);
}

/* Selected state of the stars */
.rating-stars ul>li.star.selected>.star-rate {
    fill: var(--tertiary-tone);
}

.success-box {
    display: none;
    padding: 10px 10px;
    border: 1px solid #eee;
    background: #f9f9f9;
}

.service__card .icon {
    width: 1.25rem;
    aspect-ratio: 1;
}

.low-rate {
    color: var(--secondary-tone-n2);
    fill: var(--secondary-tone-n2);
}

.mid-rate {
    color: var(--secondary-tone-n5);
    fill: var(--secondary-tone-n5);
}

.high-rate {
    color: var(--tertiary-tone);
    fill: var(--tertiary-tone);
}

/* cost-table styles  */
.cost-table-1 {
    /* background-color: var(--secondary-tone-3) !important; */
    padding: .5em;
    border-radius: 12px;
}

.cost-table-1 .t-header {
    border-radius: 12px;
    /* background-color: var(--secondary-tone-3) !important; */
    background-color: #ffffff !important;
}

.cost-table-1 .t-body .t-item-wrapper {
    background-color: transparent;
}

.cost-table-1 .t-body .t-item-wrapper .t-item-body-wrapper {
    /* background-color: var(--base-tone); */
    background-color: #ffffff !important;
}

.cost-table-1 .t-body .t-item-wrapper .t-item-body-wrapper .t-item-body:nth-child(even) {
    /* background-color: var(--secondary-tone-3); */
    background-color: var(--secondary-tone-3);
}

/* service-modal styles */
.service-modal .nav-tabs {
    box-shadow: 0px 15px 30px -5px rgba(210, 204, 195, 0.3);
}

.service-modal .nav-tabs .nav-item {
    flex-basis: 50%;
}

.service-modal .nav-tabs .nav-link {
    height: 100%;
    padding: 0.313rem;
}

.service-modal .nav-tabs .nav-link:not(.active) {
    background-color: var(--secondary-tone-4);
}

.step--number {
    width: 3.375rem;
    aspect-ratio: 1;
    background-color: var(--light-tone);
    border-radius: 4px;
    font-family: var(--font-family1);
    font-size: var(--title1_5);
    color: var(--tertiary-tone-4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link .current {
    display: none;
}

.nav-link .passed {
    display: block;
}

.nav-link.active .current {
    display: block;
}

.nav-link.active .passed {
    display: none;
}

.service-modal .search-box {
    background: var(--secondary-tone-4);
    border-radius: 12px;
    padding: 1rem;
}

.modal-form {
    background: var(--light-tone);
    box-shadow: 0px 15px 30px -5px rgba(210, 204, 195, 0.3);
    border-radius: 12px;
    padding: 1.125rem;
}

.form textarea {
    min-height: 145px;
}

#bd-root-kama-datepicker {
    width: 100%;
}

#icon-plan path {}

.color-light-blue svg,
.color-light-orange svg {
    margin-left: .7rem;
}

.color-light-orange svg path {
    stroke: var(--tertiary-tone);
}

.form-control,
.form-select {
    font-family: var(--font-family1);
    font-size: var(--caption1);
    color: var(--secondary-tone-n3);
}

.form-label {
    font-family: var(--font-family1);
    font-size: var(--caption1);
    color: var(--secondary-tone-n7);
}

.floating-form-label {
    font-family: var(--font-family1);
    font-size: var(--caption1);
    color: var(--secondary-tone-n7);
    margin-bottom: 0;
}

.bottom_nav {
    min-height: 72px;
    background: rgba(253, 253, 252, 1);
    box-shadow: 0px 15px 30px -5px rgba(210, 204, 195, 0.3);
    border-radius: 12px;
    padding: 0px 20px 0px 20px;
    position: fixed;
    bottom: 0;
    margin-left: auto;
    margin-right: auto;
    left: 16px;
    right: 16px;
}

.fixed-bottom {
    position: -webkit-sticky;
    position: fixed;
    bottom: 0;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    /* width: calc(100% - 40px); */
    width: 100%;
    min-height: 72px;
    z-index: 999;
    box-shadow: 2px 7px 46px 12px rgba(210, 204, 195, 0.3);
    border-radius: 0;
}

.bottom_nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom_nav-item {
    text-align: center;
    padding: 12px;
    color: #283583;
}

.bottom_nav-item.home-item {
    color: #ECBF52;
}

.bottom_nav-item.active {
    background-color: rgba(40, 53, 131, 1);
    color: #fff;
    box-shadow: 0px 12px 24px 0px rgba(39, 49, 106, 0.4);
    border-radius: 12px;
    transform: scale(1) translateY(-10px);
}

.bottom_nav-item .nav-icon-selected {
    display: none;
}

.bottom_nav-item .nav-icon {
    display: inline-block;
}

.bottom_nav-item.active .nav-icon-selected {
    display: inline-block;
}

.bottom_nav-item.active .nav-icon {
    display: none;
}

.bottom_nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
    font-size: 14px;
}

.bottom_nav-link .nav-text {
    white-space: nowrap;
}

.bottom_nav-item.active .bottom_nav-link .nav-text {
    font-family: 'Sahel-semiBold';
}

.card.process-card .card__item h2 {
    font-family: 'Sahel-bold';
    font-size: 18px;
}

@media screen and (min-width: 600px) {
    .card.process-card .card__item h2 {
        font-size: 24px;
    }
}