html {
    width: 100%;
}

body {
    overflow-x: hidden !important;
}

/* Hide everything under body tag */
body.show-spinner > * {
    opacity: 0;
}

:root {
    --ThemePrimary: #049387;
    --ThemeSecondary: #ffffff;
}

.primary_color{
    color: #00685b !important;
}


/* Spinner */
body.show-spinner::before {
    content: " ";
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    border-top-color: rgba(0, 0, 0, 0.3);
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
    left: calc(50% - 15px);
    top: calc(50% - 15px);
    position: fixed;
    z-index: 1;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

.header-logo {
    margin-top: -15px;
    width: 295px;
}

.table-responsive {
    display: table;
}

/*Image Preview*/
.image_preview {
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 150px;
    border: 2px dashed #ddd;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    background-color: #fff;
    color: #ecf0f1;
    margin: 5px;
}

.image_preview label {
    position: absolute;
    z-index: 5;
    opacity: .8;
    cursor: pointer;
    background-color: #bdc3c7;
    width: 150px;
    height: 50px;
    font-size: 12px;
    line-height: 50px;
    text-transform: uppercase;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
}

.image_preview input {
    height: 100%;
    width: 100%;
    opacity: 0;
    position: absolute;
    z-index: 10;
}




.referral_img {
    width: 80px;
}

/*Chat Messages */
.send_message_div {
    display: flex;
    gap: 20px;
}

.message_attachments {
    font-size: 30px;
    font-weight: bolder;
    color: var(--theme-color-1);
    cursor: pointer;
}


.images_card {
    display: flex;
    justify-content: space-evenly;
}


.chat-online {
    color: #34ce57
}

.chat-offline {
    color: #e4606d
}

.chat-messages {
    display: flex;
    flex-direction: column;
    max-height: 500px;
    overflow-y: scroll
}

.chat-message-left,
.chat-message-right {
    display: flex;
    flex-shrink: 0
}

.chat-message-left {
    margin-right: auto
}

.chat-message-right {
    flex-direction: row-reverse;
    margin-left: auto
}

.flex-grow-0 {
    flex-grow: 0 !important;
}

.border-top {
    border-top: 1px solid #dee2e6 !important;
}

.unread_badge {
    background: red;
    position: absolute;
    bottom: 24px;
    right: 40px;
}

.unread_badge_table {
    background: red;
    color: white;
    position: absolute;
}

.message_main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #e8f3ff;
    padding: 5px;
    border-radius: 5px;
}

.message_images {
    width: 150px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.message_images:hover {
    transform: scale(1.1);
}

.main_heading {
    font-size: 36px;
    font-weight: 600;
}

.sub_heading {
    font-size: 22px;
    font-weight: 600;
    color: var(--ThemePrimary);

}

.custom_badge {
    background: var(--ThemePrimary);
    color: white;
    padding: 5px 20px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 16px;
    margin-left: 10px;
}

.card-img-left {
    object-fit: contain !important;
}
.card_img_main{
    height: 200px;
    text-align: center;
}

.card_img_main .card_img{
    height: 100%;
}
.statuses{
    display: flex;
    gap: 20px;
    padding: 3px 0 0 0;
}

div#datatable-buttons_filter{
    float: right;
}
div.dataTables_wrapper div.dataTables_paginate ul.pagination{
    justify-content: unset !important;
}

.page-item:first-child .page-link {
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #ced4da;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #7a6fbe;
    border-color: #7a6fbe;
}

.page-item:not(:first-child) .page-link {
    margin-left: -1px;
}
.page-link {
    padding: .375rem .75rem;
}


.page-item:last-child .page-link {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}
.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #ced4da;
}
.page-item.active .page-link {
    background: var(--ThemePrimary) !important;
    border: 1px solid  var(--ThemePrimary) !important;
    color: #ffffff !important;
}
.paginate_button.page-item .page-link:hover{
    z-index: 2;
    color: #ffffff !important;
    text-decoration: none;
    background-color: var(--ThemePrimary) !important;
    border-color: var(--ThemePrimary) !important;
}

.edit_icon{
    padding: 3px;
    font-size: 16px;
    color: var(--ThemePrimary);
    cursor: pointer;
}
.delete_icon{
    padding: 3px;
    font-size: 16px;
    color: red;
    cursor: pointer;
}

.table th, .table td {
    padding: .75rem;
    vertical-align: middle;
}

.custom_btn{
    background-color: #12ad9d;
    color: white;
    border: none;

}

.custom_btn:hover{
    background-color: #049387;
    color: white;
}

@media (max-width: 1350px) {
    .header-logo {
        width: 205px;
    }
}

@media (max-width: 1024px) {
    .header-logo {
        margin-top: -15px;
        width: 160px;
    }

    .table-responsive {
        display: block;
    }

    .image_preview {
        margin: unset;
        margin-bottom: 20px !important;
    }
}

@media (max-width: 720px) {
    #items_list .item {
        border-bottom: 2px dotted #ddd;
        margin-bottom: 10px;
    }

    .table-responsive {
        display: block;
    }
}

.shop_item {
    border-bottom: 1px dotted;
    margin-bottom: 20px;
}
.border_bottom {
    border-bottom: 1px solid;
}

.card_title{
    line-height: 30px;
    font-size: 20px;
    font-weight: 600;
}
.card_label {
    line-height: 30px;
    font-size: 16px;
    font-weight: 600;
}
.prescription{
    padding: 15px;
}
.prescription li {
    margin: 5px 0 5px 0;
}
.message_images {
    width: 150px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;

    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.unread_badge{
    position: relative;
    top: 54px;
    left: 52px;
    border-radius: 30px;
    padding: 1px 6px !important;
}
.badge.badge-info p{
    color: white;
}

.text-end{
    text-align: end;
}
.unread_badge_customer{
    position: relative;
    top: -31px;
    left: -30px;
    border-radius: 30px;
    padding: 1px 6px !important;
    background: red;
}

.guide_badge{
    position: absolute;
    right: 5px;
    top: 5px;
    border-radius: 0;
    color: white;
    background: var(--ThemePrimary);
    font-size: 12px;
}
.guide_badge:hover{
    color: var(--ThemePrimary);
    background: transparent;
    border: 1px solid var(--ThemePrimary);
}
.msg-card-admin {
    border-radius: 15px !important;
    background-color: #0493871a !important;
}
.msg-card-user {
    border-radius: 15px !important;
    background-color: #93040405 !important;
}

#exactRate {
    transition: all 0.3s ease;
}

#exactRate h3,
#exactRate h4 {
    margin-bottom: 0;
}

.badge {
    font-size: 14px;
    border-radius: 20px;
}

.pricing_table td, th {
    text-align: center;
    vertical-align: middle;
}