@import url('https://fonts.googleapis.com/css2?family=PT+Serif&display=swap');

body {
    font-family: 'Roboto', sans-serif;
}
:root{
    --default-color: #0E7490;
}

.body-color{
    background: #F3F4F6;
    min-height: 90vh;
}
.form-control,.select2-selection{
    border: 1px solid #E5E7EB !important;
    height: calc(2.5rem + 2px);
}
.form-control-sm {
    height: calc(1.5em + 0.5rem + 2px);
}

a {
    text-decoration: none !important;
}

th,
td {

    vertical-align: middle !important;
}
p {
    margin: 0 !important;
}
.btn-primary,
.bg-primary {
    background-color: #406aff !important;
    color: #fff;
}

.btn-primary {
    border-color: #406aff;
}

.navbar-brand {
    max-width: 200px;
    padding: 10px 0 !important;
}

.navbar-brand img {
    width: 100%;
}

.top_navbar {
    border-bottom: 1px solid #E5E7EB;
    background: #FFFFFF;
}

img.avater {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-sizing: border-box;
    box-shadow: 0px 0px 6px -1px #1f7698
}

.left-header button.dropdown-toggle {
    border: none;
    background: none;
    padding: 0.375rem 0.50rem;
}

.left-header {
    display: inline-block;
    /* position: absolute; */
    right: 13px;
    top: calc(50% - 25px) !important;
}

.left-header button.dropdown-toggle::after {
    padding: 3px;
    border-top: 0px solid;
    border-right: 2px solid;
    border-bottom: 2px solid;
    border-left: 0px solid;
    transform: rotate(45deg);
}

.header-dropdown-menu {
    margin-top: 12px;
}

.notify i {
    font-size: 30px;
    padding: 10px;
}

.notify.on:after {
    content: '';
    height: 8px;
    width: 8px;
    background: rgb(255, 94, 0);
    position: absolute;
    border-radius: 50%;
    top: 25%;
    left: 60%;
}

.password-eye {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 11px;
    cursor: pointer;
}

.forgot-password {
    position: absolute;
    right: 0;
}

.sidebar-wrap {
    position: fixed;
    width: 16.6%;
    top: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    z-index: 1040;
    background: #fff;
    transition: all ease .3s;
    box-shadow: 0 0 2px #ddd;
}

.sidebar-wrap ul {
    padding-left: 10px;
}

.sidebar-wrap ul a.side-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #475569;
    padding: 9px 8px;
    gap: 12px;
    border-radius: 4px;
    margin-right: 16px;
    margin-bottom: 4px;
}
.sidebar-wrap ul a.side-menu img{
    width: 20px;
    height: 20px;
}
.sidebar-wrap ul a:hover{
    background: #F3F4F6;
}

.sidebar-wrap ul a.side-menu.active {
    background: var(--default-color);
    color: #fff !important;
}
.sidebar-wrap ul a.side-menu.active img{
    /* filter: invert(100%) sepia(100%) saturate(0) hue-rotate(288deg) brightness(100%) contrast(102%); */
    filter: brightness(0) invert(1);
}

.sidebar-wrap ul a.logo:hover {
    background: unset;
    border: 0;
}

.main-logo {
    width: 82%;
}

.add {
    text-align: center;
    margin-top: 6px;
}

.add i {
    display: block;
    font-size: 3em;
}

.toggle-sidebar {
    background: var(--default-color);
    position: absolute;
    font-size: 20px;
    left: 10px;
    top: 0.65em;
    display: none;
    transition: all ease .3s;
    z-index: 10;
    color: #fff !important;
}

.profile-img img {
    width: 80px;
    border-radius: 50%;
    height: 80px;
}

.profile-avater {
    display: inline-block;
    position: relative;
}

.profile-avater a {
    position: absolute;
    bottom: 0;
    background: #6f57eb;
    padding: 2px 6px;
    border-radius: 50%;
    color: #fff;
    font-size: 15px;
    right: 5%;
}

.logo-badge {
    position: absolute;
    border-radius: 3px;
    padding: 0 5px;
    font-size: 12px;
    right: 0;
    top: calc(50% - 7px);

}

.loading {
    width: 120px;
    position: absolute;
    top: -45px;
}

.file-border {
    display: block;
    border: 1px dashed #406aff;
    padding: 1em;
}

@media (max-width:992px) {
    .toggle-sidebar {
        display: block;
    }

    .sidebar-wrap {
        width: 220px;
    }

    .hide {
        width: 0px !important;
    }

    .moveBtn {
        left: calc(220px + 10px) !important;
    }
}

#snackbar {
    visibility: hidden;
    max-width: 300px;
    min-width: 250px;
    margin-left: -125px;
    background-color: rgb(53, 184, 1);
    color: #fff;
    text-align: left;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 10;
    right: 0;
    bottom: 30px;
    font-size: 17px;
}

.files input {
    outline: 1px dashed #406aff;
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear;
    padding: 1em 1em 2.8em 1em;
    text-align: center !important;
    margin: 0;
    width: 100% !important;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #D1D5DB;;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    top: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--default-color);;
}

input:focus+.slider {
    box-shadow: 0 0 1pxvar(--default-color);;
}

input:checked+.slider:before {
    -webkit-transform: translateX(23px);
    -ms-transform: translateX(23px);
    transform: translateX(23px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.multilanguage-section .language {
    background: #F3F4F6;
    width: 48px;
    height: 28px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0.02em;
    color: #111827;
}

.multilanguage-section .language.active {
    background: var(--default-color);
    color: #FFFFFF;
}

.multilanguage-section {
    display: inline-flex;
    margin-right: 16px;
}

.top_navbar .search-bar {
    margin-left: 20px;
}

.top_navbar .search-bar .input-box {
    position: relative;
}

.top_navbar .search-bar .input-box input {
    padding-left: 38px;
}

.top_navbar .search-bar .input-box .search_btn {
    position: absolute;
    top: 0px;
    left: 0px;
    border: none;
    background: none;
    font-size: 20px;
    padding: 6px 10px;
    color: #475569;
}

@media screen and (max-width: 992px) {
    .top_navbar .search-bar {
        margin-left: 50px;
    }
}

@media screen and (max-width: 668px) {
    .top_navbar .search-bar {
        display: none;
    }
}

.font-14 {
    font-size: 14px;
}

input[type=checkbox] {
    height: auto !important;
}

.form-control:focus {
    border-color: var(--default-color) !important;
    box-shadow: none !important;
}


/* css for login pages */
.login_page_wrapper,
.auth_page_wrapper {
    display: flex;
}

.left_hand_section {
    width: 480px;
    background: #F3F4F6;
    border-right: 1px solid #E5E7EB;
    padding: 30px;
    height: 100vh;
    flex-shrink: 0;
    overflow: hidden;
}

.left_hand_section .text-content {
    width: 95%;
    margin: 50px 0;
}

.left_hand_section .text-content h3 {
    font-weight: 700;
    font-size: 35px;
    line-height: 46px;
    color: #1E293B;
}

.right_hand_section {
    width: 100%;
    position: relative;
}

.login_section {
    width: 430px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login_section h3 {
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
}

.login_section .rememberForgot {
    font-weight: 400;
    font-size: 14px;
    margin: 12px 0;
}

.login_section .rememberForgot a {
    color: var(--default-color);
}

.login_section .rememberForgot label {
    margin: 0 !important;
}

.login_section .loginBtn {
    width: 100%;
    height: 44px;
    background: #D1D5DB;
    border-radius: 4px;
    border: none;
    color: #FFFFFF;
}

.login_section .loginBtn:hover {
    background: var(--default-color);
}

.login_section .divider_section {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.divider_section span {
    width: 65px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #9CA3AF;
    text-align: center;
}

.divider_section .divide_line {
    width: 100%;
    border-bottom: 2px solid #9CA3AF;
    height: 0px;
}

.signUp_section {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.signUp_section a {
    width: 190px;
    padding: 8px 0;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 22px;
    display: inline-block;
    text-align: center;
    color: #334155;
}

.password_field {
    position: relative;
}

.password_field span {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.password_field input {
    padding-right: 36px;
}

/* signup page css */

.auth_page_wrapper .right_hand_section {
    height: 100vh;
    overflow-y: scroll;
}

.auth_page_wrapper .right_hand_section .footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F3F4F6;
    height: 70px;
    gap: 6px;
}

.auth_page_wrapper .right_hand_section .signup_section {
    width: 650px;
    margin: 30px auto;
}

.border-dot {
    width: 96%;
    height: 1px;
    border-bottom: 1px dashed #D1D5DB;
    margin: 10px auto;
}

.default-color,
.default-color:hover {
    color: var(--default-color);
}

.default-bg {
    background: var(--default-color);
}
.btn-outline-default {
    border: 1px solid var(--default-color);
}

.signupBtn {
    width: 100%;
    height: 45px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collapseBtn {
    background: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: var(--default-color);
    position: relative;
    border: none;
    padding-left: 23px;
}

.collapseBtn.collapsed {
    color: #000;
}

.collapseBtn.collapsed .rounded {
    color: #E5E7EB;
}

.collapseBtn .rounded {
    position: absolute;
    width: 32px;
    height: 32px;
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: 50% !important;
    top: -6px;
    left: -15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
}

.collapse {
    border-left: 2px solid #E5E7EB !important;
}

.accordion .divider_section {
    border-left: 2px solid #E5E7EB;
    padding: 20px 0 30px 20px !important;
}

.accordion .divider_section:last-child {
    border-left: 2px solid #E5E7EB;
    padding: 20px 0 0 20px !important;
}

.accordion .divider_section .divide_line {
    border-bottom: 1px solid #E5E7EB;
}

@media (max-width: 1190px) {
    .auth_page_wrapper .right_hand_section .signup_section {
        width: 500px;
    }
}


@media (max-width: 1023px) {
    .left_hand_section .text-content {
        width: 100%;
        margin: 38px 0;
    }

    .left_hand_section .text-content h3 {
        font-size: 30px;
    }

    .auth_page_wrapper .right_hand_section .signup_section {
        width: 88%;
    }
}

@media (max-width: 968px) {
    .left_hand_section {
        width: 320px;
    }

    .left_hand_section .text-content h3 {
        font-size: 24px;
        line-height: 34px;
    }

    .login_section {
        width: 400px;
    }
}

@media (max-width: 767px) {

    .login_page_wrapper,
    .auth_page_wrapper {
        flex-direction: column;
    }

    .left_hand_section {
        width: 100%;
        height: auto;
    }

    .left_hand_section .text-content h3 {
        font-size: 24px;
        line-height: 34px;
    }

    .right_hand_section {
        position: initial;
    }

    .login_section {
        width: 86%;
        position: initial;
        transform: translate(0);
        margin: 20px auto;

    }

    .auth_page_wrapper .right_hand_section {
        height: auto !important;
        overflow: visible;
    }
}

@media (max-width: 359px) {
    .login_section .rememberForgot {
        font-size: 12px;
    }

    .login_section .rememberForgot input {
        width: 12px;
        height: 12px;
    }
}

.header_card .card {
    background: #FFFFFF;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.text-gray {
    color: #6B7280;
}

.bottom_user{
    position: absolute;
    bottom: 10px;
    right: 20px;
    left: 20px;
    background: #F9FAFB;
    border-radius: 8px;
    padding:16px;
    color: #000;
}
.bottom_user .name{
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    display: block;
}
.bottom_user .email{
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #9CA3AF;
    display: block;
}
.bottom_user .auth{
    background: #E5E7EB;
    border-radius: 4px;
    padding: 4px 6px;
    margin: 0 !important;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #111827;
}


/* shop page css */

.problem_card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 8px;
    background: #FFFFFF;
    border-radius: 4px;
    color: #334155 !important;
    margin-bottom: 9px;
}

.problem_card .contents {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center !important;
    gap: 8px;
}

.problem_card .contents .service_name {
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
}

.problem_card .contents .dateTime {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.problem_card .contents .status_btn{
    font-weight: 400;
    font-size: 12px;
    padding: 4px 12px;
    background: #F59E0B;
    color: #fff;
    border-radius: 2px;
    line-height: 20px;
    display: inline-block;
}
.problem_card .contents .status_btn.assignToMe{
    padding: 4px 8px;
    background: #0891B2;
}
.status_btn.shop{
    font-size: 16px;
    padding: 4px 12px;
    background: #F59E0B;
    color: #fff;
    border-radius: 2px;
}

.problem_card .contents .status_btn.shop.To{
    background: #F59E0B;
}
.problem_card .contents .status_btn.To{
    background: #F59E0B;
}
.problem_card .contents .status_btn.In,.status_btn.shop.In{
    background: #8B5CF6;
}
.problem_card .contents .status_btn.Solved,.status_btn.shop.Solved{
    background: #84CC16;
}
.problem_card .contents .status_btn.Failed,.status_btn.shop.Failed,.status_btn.shop.Fail, .status_btn.Fail{
    background: #EF4444 !important;
}

.problem_card .contents .status_btn.In.progress, .status_btn.In.progress{
    display: inline-block !important;
    height: auto !important;
    line-height: 20px;
    overflow: visible;
}

.problem_card .contents .auth{
    display: flex;
    gap: 6px;
}
.problem_card .contents .shop{
    min-width: 120px;
}
.problem_card .contents .auth img,.problem_card .contents .shop img{
    width: 18px;
    height: 18px;
}

.problem_card .contents .auth .auth_name,.problem_card .contents .shop .shop_name{
    font-weight: 400;
    font-size: 14px;
}
.problem_card .contents .fiscal_code{
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    min-width: 140px;
}
.problem_card .contents .ellipase{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F3F4F6;
    margin: 0 14px;
}
.problem_card .contents .id{
    color: #3B82F6;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.order-summery{
    border-top: 1px solid #E5E7EB;
    margin: 8px 0;
    padding: 16px 0;
}
.order-summery h3{
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
}
 .order-summery .details{
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 12px;
    background: #F9FAFB;
    border-radius: 8px;
 }
 .order-summery .details .item{
    display: flex;
    justify-content: space-between;
 }
 .order-summery .details .item span:first-child{
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #6B7280;
 }
 .order-summery .details .item span:last-child{
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #111827;
 }
.create_service{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 24px;
    gap: 8px;
    background: #FFFFFF;
    border: 1px dashed var(--default-color);
    border-radius: 8px;
    margin-top: 24px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: var(--default-color) !important;
}
.create_service:hover{
    background: rgba(14, 116, 144, 0.15);
}

.shopRightSidebar{
    height: 100%;
    width: -webkit-fill-available;
    position: fixed;
    overflow-y: scroll;
}
.shopRightSidebar::-webkit-scrollbar{
    width: 2px;
}

/* problems details */

.problem_details .title{
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    padding-top: 10px;
}
.item label{
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #6B7280;
    margin-top: 8px;
    margin-bottom: 0;
}
.problem_details .item p{
    margin: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #111827;
}

.Attached_fileBtn{
    background: #F3F4F6;
    border-radius: 2px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border: none;
    margin-top: 16px;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: var(--default-color);
}
.Attached_fileBtn img{
    color: #475569;
    width: 22px;
    height: 22px;
}

.attached{
    border-left: none !important;
    background: #F3F4F6 !important;
    padding: 8px 12px !important;
}

.attached h4{
    margin-top: 12px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}
.attached .atached_file{
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    gap: 4px;
}
.attached .atached_file .item{
    width: 80px;
    height: 78px;
    padding: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.attached .atached_file .item img{
    width: 46px;
    height: 56px;
}
.attached .atached_file .item p{
    font-weight: 400;
    font-size: 10px;
    line-height: 16px;
    margin: 0;
}

.status_btn.admin,.status_btn.operator{
    border-radius: 2px;
    padding: 4px 12px;
    display: inline-block;
}
.status_btn.admin.to,.status_btn.operator.to{
    background: #FEF3C7;
    color: #F59E0B;
}
.status_btn.admin.In,.status_btn.operator.In{
    background: #EDE9FE;
    color: #8B5CF6;
}
.status_btn.admin.Solved,.status_btn.operator.Solved{
    background: #84CC1620;
    color: #84CC16;
}
.status_btn.admin.Failed,.status_btn.operator.Failed{
    background: #EF444420;
    color: #EF4444;
}
.status_btn.admin.Fail,.status_btn.operator.Fail{
    background: #EF444420 !important;
    color: #EF4444 !important;
}

@media (max-width: 1024px){
    .problem_card .contents .contentsDiv{
        display: flex;
        justify-content: space-between;
        flex-grow: 1;
        align-items: center;
    }
    .problem_card .contents .ellipase {
        margin: 0 4px !important;
    }
}

@media (max-width: 768px){
    .shopRightSidebar{
        height: auto;
        position: static;
    }
    .gap-2{
        gap: 4px;
    }
    .problem_card .contents:last-child .d-flex{
        justify-content: space-between;
        flex-grow: 1;
    }
}

@media (max-width: 500px){
    .problem_card .contents:last-child .d-flex{
        justify-content: space-between;
        flex-grow: 1;
    }
}


@media (max-width: 460px){
    .problem_card .contents .service_name{
        font-size: 12px;
    }
    .problem_card .contents .ellipase{
        width: 6px;
        height: 6px;
    }

    .problem_card .contents .fiscal_code{
        display: none;
    }
    .problem_card .contents .ellipase{
        display: none;
    }
}


/* problems page css */

.nav.problems{
    background: #fff;
    position:sticky;
    top: 59px;
    width: 100%;
    z-index: 99;
    padding: 8px;
    border-bottom: 1px solid #E5E7EB;
}

.nav.problems .nav-item{
    padding: 10px 12px;
    background: #FFFFFF;
}
.nav.problems .nav-item .nav-link{
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #9CA3AF !important;
}
.nav.problems .nav-item .nav-link.active{
    border-bottom: 2px solid var(--default-color);
    color: var(--default-color) !important;
}

.page_content_header
{
    background: #fff;
    padding: 12px;
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 59px;
    z-index: 99;
}

.table-row{
    background: #fff !important;
    cursor: pointer;
}

table.table.ofice thead{
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
}
table.table.ofice{
    border-collapse: separate;
    border-spacing: 0 3px !important;
}
table.table.ofice tr{
    background: #fff !important;
}

.table.ofice td, .table.ofice th {
    border: none !important;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #334155;
}
.viewBtn{
    display: flex;
    align-items: center;
    gap: 7px;
    justify-content: end;
}
.viewBtn span{
    color: #3B82F6;
}
.viewBtn img{
    height: 10px;
}
.editBtn{
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    background: #F9FAFB;
    border-radius: 16px;
    padding: 6px 12px;
    color: #334155 !important;
}
.editBtn:hover{
    background: #D1D5DB;
}


.previewBox{
    background: #fff !important;
    border-radius: 8px 8px 0px 0px;
    height: 100%;
}
.previewBox .header{
    padding: 12px 24px;
    background: #475569;
    border-radius: 8px 8px 0px 0px;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
}


table.dataTable thead .sorting:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before {
bottom: .5em;
}

/* operator css */

.card-shadow{
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}
.text-blue{
    color: #3B82F6;
}
.rounded-8{
    border-radius: 8px !important;
}

.card_id_times
{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
}
.card_profile_box
{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 12px;
    margin-top: 12px;
}
.card_profile_box .profile{
    width: 56px;
    height: 56px;
}
.card_profile_box .profile>img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.card_profile_box .profile_name .name{
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #111827;
    display: block;
}
.card_profile_box .profile_name .fc{
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    display: block;
}

.card_footer_box{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    transition: 0.3s ease-in-out;
}
.card_footer_box .balance,.card_footer_box .details{
    flex-grow: 1;
    border-top: 1px solid #E5E7EB;
    padding: 12px 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #111827 !important;
}
.card_footer_box .balance:hover,.card_footer_box .details:hover{
    background: #F3F4F6;
    box-shadow: 0 0 2px #ddd;
}
.card_footer_box .balance{
    border-right: 1px solid #E5E7EB;
}

.card_details_profile{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}
.card_details_profile .profiile_details{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.card_details_profile .profile{
    width: 96px;
    height: 96px;
    position: relative;
    flex-shrink: 0;
}
.card_details_profile .profile>img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.card_details_profile .profile .profile_photo_change_icon{
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: pointer;
}
.card_details_profile .profiile_details .name_edit_box .name{
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: #111827;
}
.card_details_profile .profiile_details .email{
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}
.card_details_profile .profiile_details .action_box{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4px;
}
.card_details_profile .profiile_details .action_box .shop_office{
    width: 50%;
    display: flex;
    justify-content: space-between;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}
.shop_office .shop,.shop_office .office{
    cursor: pointer;
}
.shop_office .office, .restPassword{
    text-decoration: underline;
}
.border-dash{
    border-top: 1px dashed #E5E7EB;
}
.pointer{
    cursor: pointer;
}

.table.operatorShopTable tbody{
    background: #F3F4F6;
    /* padding: 0px 12px !important; */
}
.table.operatorShopTable th{
    font-weight: 400 !important;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
    color: #334155;
    background: none;
    border: none !important;
}
.table.operatorShopTable td{
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #111827;
    border-top: none !important;
    border-bottom: 1px solid #E5E7EB;
}


@media (max-width:548px){
    .card_details_profile{
        flex-direction: column;
    }
    .card_details_profile .profiile_details .name_edit_box .name{
        font-size: 16px;
    }
    .card_details_profile .profiile_details .email{
        font-size: 14px;
    }
    .card_details_profile .profiile_details .action_box{
        flex-direction: column;
    }
    .card_details_profile .profiile_details .action_box .shop_office{
        width: 100%;
        display: flex;
        font-size: 14px;
    }
}

/* account css */
.card.accountCard{
    border: none;
    border-bottom: 1px solid #E5E7EB;
    border-radius: 8px 8px 0px 0px;
}
.accountCard_details_profile{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}
.accountCard_details_profile .profile{
    width: 64px;
    height: 64px;
}
.accountCard_details_profile .profile>img{
    width: 100%;
    height: 100%;
}
.accountCard_details_profile .profiile_details .name{
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}
.table.accountBalanceTable{
    border-collapse: separate;
    border-spacing: 0  3px !important;
    margin-top: -3px !important;
}
.table.accountBalanceTable th,.table.accountBalanceTable td{
    background: #fff;
    font-weight: 400;
    font-size: 14px !important;
    line-height: 20px;
    color: #334155;
}
.table.accountBalanceTable th{
    border-bottom: 1px solid #E5E7EB !important;
}
.table.accountBalanceTable td{
    border: none;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}
.table.accountBalanceTable .updateAmountBtn{
    background: #0891B2;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
}

/* Customer page css */
.customer_details_section{
    display: flex;
    padding: 0;
}

.customer_details_lefttHand{
    padding: 20px !important;
}
.customer_details_rightHand{
    padding: 0 !important;
    border-left: 1px solid #E5E7EB;
}
.customer_details_rightHand .customer_profile_box{
    height: 100%;
    position: relative;
}
.customer_profile{
    padding: 20px;
    border-bottom: 1px solid #E5E7EB;
    text-align: center;
}
.customer_profile .profile{
    width: 88px;
    height: 88px;
    margin: auto;
}
.customer_profile .profile img{
    width: 100%;
    height: 100%;
}
.customer_profile .profiile_NameEmail{
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
}
.customer_profile .profiile_NameEmail .name{
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #334155;
}
.customer_profile .profiile_NameEmail .eamil{
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.customer_profile_box .profile_details{
    padding: 20px;
    display: flex;
    gap: 14px;
    flex-direction: column;
}
.customer_profile_box .profile_details .item{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 4px;
}
.customer_profile_box .profile_details .item span:first-child{
    color: #6B7280;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}
.customer_profile_box .profile_details .item .pbBtn{
    background: #3B82F6;
    border-radius: 4px;
    padding: 0px 8px;
    cursor: pointer;
    color: #fff;
}
.customer_editBtn{
    position: absolute;
    bottom: 24px;
    width: 100%;
    display: flex;
    justify-content: center;
}
.customer_problem_card{
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
}
.customer_problem_card .contents{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.customer_problem_card .contents .service_id{
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #3B82F6;
}
.customer_problem_card .contents .service_name{
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}
.customer_problem_card .contents .id{
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-decoration: underline !important;
    color: var(--default-color);
}
.customer_problem_card .contents .status_btn, .status_btn{
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    padding: 4px 12px;
}
.Canceled{
    background: #c0c0c0 !important;
}
.Authorisation{
    color: #fff !important;
    background: #9f9501 !important;
}

.in-active-bg{
    background: #f9f9f9 ;
    box-shadow: 0px 0px 38px -17px inset;
}

.date_and_time{
    position: absolute;
    left: -86px;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    color: #111827;
}
.custom_problem_ul li{
    padding-left: 20px;
    padding-bottom: 12px;
    list-style: none;
    border-left: 1px solid #E5E7EB;
}
.custom_problem_ul li:last-child{
    padding-bottom: 0px;
}
.custom_problem_ul li::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--default-color);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: -0.36rem;
    flex-shrink: 0;
    flex-grow: 0;

}
.Paid{
    font-size: 12px;
    color: #FFFFFF;
    background: #84CC16;
    border-radius: 2px;
    padding: 4px 12px;
}
@media (max-width: 767px){
    .customer_details_section{
        flex-direction: column-reverse;
    }
    .customer_details_rightHand{
        border-left: none !important;
    }
    .customer_editBtn{
        top: 12px;
        right: 8px;
        width: auto;
        display: block;
    }
}
@media (max-width:510px){
    .customer_problem_card .contents .service_name{
        font-size: 12px;
        line-height: inherit !important;
    }
    .custom_problem_ul li {
        padding-left: 10px;
        padding-bottom: 6px;
    }
    .date_and_time {
        left: -68px;
        font-size: 10px;
        line-height: 15px;
    }
}

.header-dropdown-menu{
     margin-top: 15px;
     border: 1px solid #F3F4F6;
     filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.1));
     position: relative;
}
.header-dropdown-menu::after{
    content: '';
    position: absolute;
    top: -9px;
    right: 15px;
    width: 18px;
    height: 18px;
    background: #fff;
    transform: rotate(-45deg);
    border-top: 1px solid #F3F4F6;
    border-right: 1px solid #F3F4F6;
    border-radius: 0 0 0 24px;
}
.header-dropdown-menu .dropdown-item{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 9px 16px;
    gap: 12px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #475569;
}
.header-dropdown-menu .dropdown-item:active{
    background-color: #e9ecef !important;
}
.header-dropdown-menu .dropdown-item img{
    width: 16px;
    height: 16px;
}

.successValidtionData
{
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}
.successValidtionData img{
    width: 18px;
    height: 18px;
}

.Create_service_file_uploader{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0px;
    box-sizing: border-box;
    border-bottom: 1px solid #E5E7EB;
    gap: 8px;
}
.Create_service_file_uploader .name{
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #111827;
}
.Create_service_file_uploader .uploaded_file{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.Create_service_file_uploader .uploaded_file .file{
    display: flex;
    align-items: center;
    padding: 6px;
    gap: 4px;
    background: #E5E7EB;
    border-radius: 18px;
    font-size: 14px;
    line-height: 20px;
}
.saveBtn,.SubmitBtn{
    min-width: 120px;
    height: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    border-radius: 4px;
    border: none;
    flex-grow: 1;
}
.saveBtn{
    border: 1px solid var(--default-color);
    background: #FFFFFF;
    color: var(--default-color);
}
.gap-12{
    gap: 12px;
}
@media (max-width: 767px){
    .Create_service_file_uploader{
        flex-wrap: wrap;
    }
}
@media (max-width: 425px){
    .Create_service_file_uploader{
        flex-direction: column;
        align-items: flex-start;
    }
}
.btn{
    padding: 8px 12px;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
}
.page-item.active .page-link {
    background-color: var(--default-color) !important;
    border-color: var(--default-color) !important;
    color: #FFF !important;
}
.pagination{
    flex-wrap: wrap;
}

.page-item .page-link {
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #6B7280 !important;
    border: 1px solid #D1D5DB !important;
}
.problemsCreateServiceBtn
{
    position: fixed;
    top: 76px;
    right: 20px;
    z-index: 100;
}

.OperatorInProgress{
    display: flex;
    gap: 1px;
}
.OperatorInProgress .status_btn{
    margin: 0 !important;
    border-radius: 2px 0 0 2px !important;
}
.OperatorInProgress .arrowBox{
    background: #8B5CF6;
    width: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 2px 2px 0;
}
.OperatorInProgress .arrowBox img{
    width: 21px;
    filter: brightness(0) invert(1);
}
.AssignOrSolve{
    display: flex;
    align-items: center;
    padding: 8px 12px;
    gap: 4px;
    background: #0891B2;
    border-radius: 19px;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
}
.AssignOrSolve:hover{
    background: #0E7490;
    color: #FFFFFF;
}

.select-item{
    display: block;
    padding: 0px 10px;
    color: #000;
    transition: 0.3s
}

.select-item:hover, .select-item.active{
    background: #406aff !important;
    color: #fff;
}

@media (max-width: 525px){
    .nav.problems .nav-item {
        padding: 4px 0;
    }
}

@media (max-width: 668px){
    .page_content_header,.nav.problems{
        top: 57px;
    }
}

.info-btn{
    border-radius: 50%;
    font-weight: 700;
    color: #000;
    position: relative;
}
.info-btn p{
    position: absolute;
    width: 20em;
    z-index: -10;
    padding: 10px;
    border-radius: 5px;
    bottom: calc(100% + 10px);
    /* font-style: italic; */
    border: 1px solid #ddd;
    background: #fff;
    transition: 0.3s all ease;
    left: -2em;
    opacity: 0;
}
.info-btn p::before{
    content: '';
    background: #fff;
    height: 10px;
    width: 10px;
    display: block;
    position: absolute;
    top: calc(100% - 5px);
    transform: rotate(45deg);
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    left: calc(2em + 1px);
}
.info-btn:hover p{
    opacity: 100%;
    z-index: 10;
}

.tooltip-copy {
    position: relative;
  }

  .tooltip-copy .tooltiptext {
    visibility: hidden;
    background-color: #ddd;
    color: #555;
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
    position: absolute;
    margin-left: 10px;
    width: 8em;
  }

  .tooltip-copy .tooltiptext::after {
    content: "";
    position: absolute;
    top: 10px;
    width: 10px;
    height: 10px;
    background: #ddd;
    transform: rotate(45deg);
    right: calc(100% - 6px);
  }

  .tooltip-copy:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }

  .nav a.active{
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
    border-top-left-radius: 0.25rem!important;
    border-top-right-radius: 0.25rem!important;
    border-left: 1px solid #dee2e6!important;
    border-right: 1px solid #dee2e6!important;
    border-top: 1px solid #dee2e6!important;
}
.nav a{
    border-bottom: 1px solid #dee2e6;
    margin-bottom: -1px;
    border-left: 1px solid #fff!important;
    border-right: 1px solid #fff!important;
    border-top: 1px solid #fff!important;
}
.persons{
    border: 1px solid #d5d5d5;
    border-radius: 5px;
    margin: 15px 0;
    padding-top: 10px;
    box-shadow: 0px 0px 8px 3px #ddd;
    position: relative;
}
.switch{
    background: #e8e8e885;
    height: auto;
    padding: 2px 0;
    text-align: center
}
.m3{
    margin-left: -3px;
}
.m4{
    margin-left: -4px;
}

.no:checked + label{
    background: var(--default-color);
    color: #fff
}
.yes:checked + label {
    background: var(--default-color);
    color: #fff;
}

.message-box-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 9999;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    pointer-events: auto;
    outline: 0;
    display: none;
}

#message-box {
    position: fixed;
    display: none;
    bottom: 5px;
    right: 10px;
    width: 40%;
    height: 80%;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px -6px 18px #00000014;
    z-index: 99999;
    border-radius: 6px;
    border: 1px solid #ebebeb;
}

#message-box-close-icon {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0E0E0E50;
    top: -28px;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
}

.chatBox-header {
    padding: 12px 12px 0 12px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    align-items: center;
}

.header-top .new {
    background: #245FFF;
    padding: 1px 3px;
    color: #fff;
    border-radius: 2px;
    margin-right: 2px;
}

.black-22 {
    color: #222222;
}

.semibold {
    font-weight: 500;
}

.header-content .profile_img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.header-content .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #222222;
}

.header-content .profile_img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.chatBox-body {
    height: calc(100% - 160px);
    overflow-y: scroll !important;
    overflow-x: hidden;
    padding: 0 12px;
    display: flex;
    justify-content: left;
    align-items: flex-end;
    flex-wrap: wrap;
}

.chatBox-body::-webkit-scrollbar {
    width: 6px;
}

.chatBox-body::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.chatBox-body .outgoing-msg {
    display: flex;
    justify-content: end;
    text-align: left;
    margin: 6px 0;
}

.chatBox-body .outgoing-msg>div,
.chatBox-body .receiving-msg>div {
    max-width: 78%;
}

.chatBox-body .outgoing-msg .message {
    background: #EFFBFF;
    border-radius: 10px 10px 0px 10px;
    padding: 6px;
    color: #222222;
    font-size: 14px;
}

.chatBox-body .receiving-msg {
    display: flex;
    justify-content: left;
    text-align: left;
    margin: 6px 0;
    align-self: flex-end;
}

.chatBox-body .receiving-msg .message {
    background: #1A7894 padding-box;
    border-radius: 0px 10px 10px 10px;
    padding: 6px;
    color: #FFFFFF;
    font-size: 14px;
}

.chatBox-body .message-date {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
}

.chatBox-body .message-date>p {
    background-color: #F5F5F5;
    color: #222222;
    border-radius: 13px;
    padding: 4px 8px;
    font-size: 12px;
    margin: 0;

}

.chatBox-body .outgoing-msg {
    display: flex;
    justify-content: end;
    text-align: left;
    margin: 6px 0;
}

.chatBox-body .outgoing-msg>div,
.chatBox-body .receiving-msg>div {
    max-width: 78%;
}

.chatBox-footer {
    padding: 0 12px 12px 12px;
}

.message-text-box {
    width: 88%;
}

.message-text-box>input {
    width: 100%;
    height: 48px;
    background-color: #F5F5F5;
    border-radius: 8px;
    font-size: 14px;
    padding: 4px 12px;
    outline: none;
    border: none;
}

.message-submit-btn {
    width: 12%;
}

.message-submit-btn>button>.icon {
    transform: rotate(46deg);
}

.message-submit-btn>button {
    width: 50px;
    height: 48px;
    background-color: #1A7894;
    border-radius: 8px;
    color: #fff;
    outline: none;
    border: none;
    margin-left: 6px;
    font-size: 22px;
    cursor: pointer;
}

.chatBox-body {
    overflow: auto;
    transform: rotate(180deg);
    direction: rtl;
}

.message-wrap {
    transform: rotate(180deg);
    direction: ltr;
}


#chat-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 1px solid #7f86882e;
    font-size: 18px;
    z-index: 9999;
}

.remove-btn{
    position: absolute;
    right: -16px;
    top: -16px;
    border: none;
    background: none;
    font-size: 22px;
    color: #da0101;
}

.item-section{
    border: 1px solid #eee;
    border-radius: 8px 8px 0 0;
    padding-bottom: 10px;
}

.item-section h5 {
    background: #475569;
    padding: 12px 8px;
    border-radius: 8px 8px 0 0;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    gap: 6px;
    font-size: 17px;
    justify-content: space-between;
    align-items: center;
}
