body, .popover {
    font-size: .9rem;
    /* color: #CAC0B3; */
}

a {
    cursor: pointer;
    text-decoration: none;
    color: #6c757d;
}

    a:hover {
        text-decoration: underline;
        color: #004aad;
    }

.tooltip {
    font-size: .75rem;
}

/*header*/

.logo_text {
    float: right;
    font-size: 0.85rem;
    margin-left: 5px;
    line-height: 1.2;
}

.navbar-brand img {
    margin-top: -6px;
}

.btn-nav {
    background: rgba(0, 0, 0, 0);
    border-radius: .15rem;
    border: none;
    color: #eee;
    padding: .15rem .4rem;
    cursor: pointer;
}

    .btn-nav:hover, .btn-nav:focus, .btn-nav:active {
        outline: none;
    }

        .btn-nav:hover .notification-dot,
        .btn-nav:focus .notification-dot,
        .btn-nav:focus .notification-dot {
            color: #004aad;
        }

    .btn-nav .dropdown:hover {
        cursor: pointer;
    }

nav .form-control-sm {
    height: calc(1.5em + .3rem);
    background: #78b990;
    border: 1px solid #294e35;
    width: 0px;
    color: #fff;
    animation: globalSearch .3s ease forwards;
}

@keyframes globalSearch {
    to {
        width: 320px;
    }
}

.notification-dot {
    position: absolute;
    background: #f5f5f5;
    border-radius: 100%;
    padding: 0.05rem 0.31rem;
    font-size: 0.6rem;
    top: -3px;
    right: -6px;
    font-weight: 700;
    color: #004aad;
}

.user-image {
    float: left;
    width: 30px;
    border-radius: 5px;
    overflow: hidden;
    line-height: 1;
}

.user-name {
    font-size: 0.8rem;
}

.fa-chevron-down {
    font-size: 0.7rem;
}

.dropdown-menu {
    margin-top: 10px;
    min-width: 9rem;
    padding: .3rem 0rem;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: #eefff4;
}

/*breadcrumb*/
.breadcrumb {
    background-color: #fff;
    padding: 0.25rem 1rem;
    font-size: .85em;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    position: absolute;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 1;
}

.breadcrumb-item a:hover, .breadcrumb-item a:focus {
    text-decoration: none !important;
    color: #a2be94;
}

.navbar {
    background-color: #004aad !important;
    z-index: 1040;
    color: #fff;
    padding: 0.25rem 1.25rem;
}

.navbar-brand {
    padding-top: 0rem;
    padding-bottom: 0rem;
    font-size: 1rem !important;
}

.invalid-feedback {
    display: block;
    font-size: 90%;
}

.workspace-wrapper {
    display: flex;
}

.sidemenu {
    flex: 0 0 220px;
    max-width: 220px;
    height: 100vh;
    display: block;
    background: #fff;
    z-index: 2;
    /* box-shadow: 0 16px 38px -12px rgb(0 0 0 / 56%), 0 4px 25px 0 rgb(0 0 0 / 12%), 0 8px 10px -5px rgb(0 0 0 / 20%); */
}

.workspace {
    flex: 1 0 0%;
    background-color: #f9f9f9;
    width: calc(100vw - 220px);
    position: relative;
}

    .workspace .container-fluid {
        padding: 20px;
    }

.page-title {
    font-size: 1.25em;
    font-weight: normal;
}

.sidemenu-scroll {
    height: calc(100vh - 65px);
    overflow: auto;
    background: #f5f5f5;
}

.sidemenu-item {
    margin-bottom: 10px;
}

    .sidemenu-item a {
        display: block;
        padding: 0.5rem 1rem;
        text-decoration: none;
        font-size: .9em;
        white-space: nowrap;
        overflow: hidden;
        position: relative;
        font-weight: 500;
        color: #000 !important;
    }

    .sidemenu-item.divider {
        border-top: 1px solid #004aad !important;
    }

    .sidemenu-item .fa-chevron-right {
        font-size: 0.7rem;
        padding-top: 4px;
    }

    .sidemenu-item a:hover {
        color: #004aad !important;
    }

    .sidemenu-item a.active {
        background-image: linear-gradient(45deg, #004aad, transparent);
        color: #ffffff !important;
    }

ol.sidemenu-nav, ol.sidesubmenu-nav {
    padding: 0;
    list-style: none;
    margin-bottom: 0;
    padding: 20px 0px;
}

.sidesubmenu-nav li a {
    padding-left: 46px;
}

.submenu-wrapper {
    padding-left: 24px;
    position: relative;
}

    .submenu-wrapper:before {
        content: "";
        height: 100%;
        width: 1.5px;
        background: #38ab7f;
        position: absolute;
        left: 16px;
    }

.submenu-item {
    margin-bottom: 3px;
}

.sidemenu-item a[aria-expanded="true"] .fa-caret-right {
    rotate: 90deg;
}

.sidemenu-logo {
    padding: 1rem;
}

.sidemenu-toggle {
    background-color: transparent;
    border: none;
    width: 18px;
    text-align: center;
    padding: 0;
    height: 18px;
    margin-left: auto;
    color: #eee;
}

    .sidemenu-toggle:hover, .sidemenu-toggle:focus {
        color: var(--theme-secondary);
    }

/*Custom scrollbar*/
::-webkit-scrollbar {
    height: 6px !important;
    overflow: visible !important;
    width: 6px !important;
}

::-webkit-scrollbar-thumb {
    border-radius: 10rem;
    background: rgb(139, 139, 139) !important;
    background-clip: padding-box !important;
    /*border: 2px solid transparent !important;*/
    border-image: initial !important;
    min-height: 28px !important;
    padding: 100px 0px 0px !important;
    box-shadow: rgba(0, 0, 0, 0.1280392) 1px 1px 0px inset, rgba(0, 0, 0, 0.09667) 0px -1px 0px inset !important;
}

    /* :window-inactive inspired by cssTricks */

    ::-webkit-scrollbar-thumb:hover {
        background: rgb(107, 107, 107) !important;
        background-clip: padding-box !important;
    }

    /* :window-inactive inspired by cssTricks */

    ::-webkit-scrollbar-thumb:window-inactive {
        background: rgb(107, 107, 107) !important;
        background-clip: padding-box !important;
    }

::-webkit-scrollbar-button {
    height: 0px !important;
    width: 0px !important;
}

::-webkit-scrollbar-track {
    background: #efefef;
    border: 1px solid #dfdfdf;
}

::-webkit-scrollbar-corner {
    background: transparent !important;
}

/*Custom scrollbar ends*/

/*QBO - connection*/
.waiting i {
    position: relative;
    border-radius: 50%;
    width: 1.75rem;
    height: 1.75rem;
    text-align: center;
    padding: 0.45rem 0;
    background-color: #2c9f1c;
    box-shadow: 0 0.05rem 0.25rem rgb(0 0 0 / 20%);
    color: #fff;
}

    .waiting i:before {
        position: absolute;
        content: '';
        width: 40px;
        height: 2px;
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        border-left: 15px solid #FF595A;
        border-right: 15px solid #2c9f1c;
        box-sizing: content-box;
    }

    .waiting i:after {
        content: "\f00c";
    }

    .waiting i.fa-times:after {
        content: "\f00d";
    }

.message-input {
    position: absolute;
    bottom: 0px;
    width: 96.5%;
    padding: 16px;
    background: #fff;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

.user-card {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.user-icon {
    margin-right: 0.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #2c9f1c;
    color: #fff;
}

.gpt-card {
    display: flex;
    background: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
    border-radius: 8px;
    padding: 20px;
}

/*Bootstrap Overrides*/
.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: .85rem;
    border-radius: 8px;
}

.btn-success {
    color: #fff;
    background-color: #2c9f1c;
    border-color: #2c9f1c;
}

    .btn-success:hover {
        color: #fff;
        background-color: #29921a;
        border-color: #29921a;
    }

.btn-outline-danger {
    background: #fff !important;
}

    .btn-outline-danger:hover {
        background: #dc3545 !important;
    }

.btn-outline-success {
    background: #fff !important;
    color: #2c9f1c;
    border-color: #2c9f1c;
}

    .btn-outline-success:hover {
        background: #2c9f1c !important;
        color: #fff;
        border-color: #2c9f1c;
    }

.btn-gradient {
    color: #fff;
    background-image: linear-gradient(to right, #002349, #FF595A);
    border-color: transparent;
}

.btn-white {
    color: #fff;
    border: 1px solid #fff;
}

.text-success {
    color: #2c9f1c !important;
}

.text-primary {
    color: #004aad !important;
}

.text-warning {
    color: #FF595A !important;
}

.form-group {
    margin-bottom: 1rem;
}

.fs-8 {
    font-size: 0.8rem;
}

.fs-7 {
    font-size: 0.7rem;
}
/*Integration*/
.card-logo {
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 80px;
}

    .card-logo:first-child {
        margin-right: 30px;
        position: relative;
    }

        .card-logo:first-child:after {
            content: "";
            width: 30px;
            height: 0.75px;
            background: #c4c4c4;
            position: absolute;
            right: -31px;
        }

.bg-primary {
    background-color: #004aad !important;
}

.btn-primary {
    background-color: #004aad !important;
    border-color: #004aad !important;
}

.nav-tabs {
    border-bottom: 2px solid #004aad;
}

    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        color: #ffffff;
        background-color: #004aad;
        border-color: #004aad;
    }

    .nav-tabs .nav-link {
        padding: 0.25rem 1rem;
    }

.table thead th {
    background: #ececec;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: rgb(0 0 0 / 3%);
}

.table > :not(:last-child) > :last-child > * {
    border-bottom-color: #dfdfdf;
}

.dot-success {
    width: 10px;
    height: 10px;
    display: inline-block;
    background: #2c9f1c;
    border-radius: 50%;
    margin-right: 8px;
}

.dot-error {
    width: 10px;
    height: 10px;
    display: inline-block;
    background: #FF0000;
    border-radius: 50%;
    margin-right: 8px;
}

.row-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid green;
    background: #fff !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fa-phone {
    transform: rotate(90deg);
}

/*double tab*/
.double-tab {
    display: flex;
}

.double-tab-item {
    width: 33.3%;
    text-align: center;
    padding: .25rem;
}

    .double-tab-item:hover {
        color: #004aad;
    }

    .double-tab-item.active {
        color: #004aad;
        font-weight: 600;
        border-bottom: 2px solid #004aad;
    }

.double-tab-content {
    display: flex;
    align-items: center;
}

    .double-tab-content div:first-child,
    .double-tab-content div:last-child {
        width: 40%;
    }

    .double-tab-content div:nth-child(2) {
        width: 5%;
        padding-top: 14px;
    }

.double-tab-card {
    position: relative;
    padding: 0px 20px 20px;
}

    .double-tab-card:after {
        content: "";
        width: 100%;
        height: 97px;
        border: 1px solid #dadada;
        border-top: none;
        position: absolute;
        top: 9px;
        left: 0;
    }

    .double-tab-card h6:before, .double-tab-card h6:after {
        content: "";
        background: #dadada;
        position: absolute;
        top: 9px;
        left: 0;
        width: 14px;
        height: 1px;
    }

    .double-tab-card h6:after {
        left: calc(100% - 14px);
    }

.fw-semibold {
    font-weight: 600;
}

.section-break {
    text-align: center;
    margin: 30px 0px;
    position: relative;
}

    .section-break::before, .section-break::after {
        content: "";
        width: 48%;
        height: 0.7px;
        background: #dedede;
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0px;
    }

    .section-break::after {
        left: 52%;
    }

    label{
        font-weight: 600;
    }


.loader-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1065;
    backdrop-filter: blur(1px);
}

.loading {
    height: 0;
    width: 0;
    padding: 15px;
    border: 6px solid #ccc;
    border-right-color: #002f73;
    border-radius: 22px;
    -webkit-animation: rotate 1s infinite linear;
    position: absolute;
    left: 50%;
    top: 50%;
}

@-webkit-keyframes rotate {
    100% {
        -webkit-transform: rotate(360deg);
    }
}
