/*
Author : Aiswarya Muraleedharan
Created on : 02-01-2025
*/

/* base  */

html {
    height: 100%;
    display: block;
    zoom: 0.9;
}

body {
    font-family: "Poppins", sans-serif;
    min-height: 100%;
    overflow-x: hidden;
    font-size: 14px;
    overflow-y: auto;
    color: #222;
    margin: 0;
    padding: 0;
}

body.modal-open {
    padding-right: 0 !important;
    overflow: auto;
}

h6 {
    text-wrap: auto;
}

/* scrollbar */

body::-webkit-scrollbar,
.menu-wrapper::-webkit-scrollbar,
.card-body::-webkit-scrollbar,
.customer-info-widget-wrap .tab-content::-webkit-scrollbar,
#notification_list::-webkit-scrollbar,
.offcanvas::-webkit-scrollbar {
    width: 0.2rem;
}

body::-webkit-scrollbar-track,
.menu-wrapper::-webkit-scrollbar-track,
.customer-info-widget-wrap .tab-content::-webkit-scrollbar-track,
#notification_list::-webkit-scrollbar-track,
.offcanvas::-webkit-scrollbar-track {
    background: #fff;
}

body::-webkit-scrollbar-thumb,
.menu-wrapper::-webkit-scrollbar-thumb,
.customer-info-widget-wrap .tab-content::-webkit-scrollbar-thumb,
#notification_list::-webkit-scrollbar-thumb,
.offcanvas::-webkit-scrollbar-thumb {
    background-color: #dcdcdc;
}

.table-widget::-webkit-scrollbar,
.card-body::-webkit-scrollbar {
    height: 0.2rem;
}

.table-widget::-webkit-scrollbar-track,
.card-body::-webkit-scrollbar-track {
    background: #fff;
}

.table-widget::-webkit-scrollbar-thumb,
.card-body::-webkit-scrollbar-thumb {
    background-color: #dcdcdc;
}

.overflow-x-auto {
    overflow-x: auto;
}

.overflow-y-auto,
.card-body {
    overflow-y: auto !important;
}

/* colors */

.bg-primary {
    background-color: #1e5bf2 !important;
}

.bg-purple {
    background-color: #500073;
}

.text-primary {
    color: #1e5bf2 !important;
}

.text-purple-light {
    color: #500073;
}

.text-secondary-medium {
    color: #123524;
}

.text-purple-medium {
    color: #8b5dff;
}

.bg-grey {
    background-color: #f6f6f6;
}

.bg-primary-light {
    background-color: #1e5af21a;
}

.bg-success-light {
    background-color: #28a74619;
}

.bg-info-light {
    background-color: #17a3b824;
}

.bg-warning-light {
    background-color: #ffc1072e;
}

.bg-danger-light {
    background-color: #dc35461b;
}

.bg-secondary-light {
    background-color: #6c757d2a;
}

.bg-secondary-medium {
    background-color: #12352430;
}

.bg-purple-light {
    background-color: #5100731f;
}

.bg-purple-medium {
    background-color: #8b5dff2a;
}

.bg-pink-light {
    background-color: #FEF4F8;
}

tr.inactive_faq {
    background: #6c757d2a !important;
}

/* link */

.link-underline,
.link-underline:hover {
    text-decoration: underline;
}

/* form */

.dropdown-mul-1.form-group {
    padding: 0;
}

.form-group {
    margin: 0;
    padding: 0.5rem;
}

.form-control {
    height: 38px;
    padding: 5px 12px;
    font-size: 12px;
    -webkit-box-shadow: none;
}

.form-control:focus {
    box-shadow: none;
    border: 1px solid #ced4da;
}

/* spacing  */

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}
.gap-3 {
    gap: 1.5rem;
}

/* common  */

#resetlink,
.cursor-pointer,
.filter-reset-wrap,
.anchor-wrap,
.hamburger-menu {
    cursor: pointer;
}

.w-24 {
    width: 24px;
    height: 24px;
}

.text-wrap-auto {
    text-wrap: auto;
}

.min-200 {
    min-width: 200px;
}

.border-sec-dotted {
    border: 1px dotted #c3c6d2;
    background-color: #f2f3f7;
}

.border-dotted {
    border: 2px dotted #ee2a7b4d;
    background-color: #fef4f8;
}

.border-dotted .link-color {
    color: #ee2a7b;
}
.border-dotted > img {
    width: 3rem;
    padding-bottom: 1rem;
}

/* alert */

.alert {
    position: relative;
    padding: 0;
    margin-bottom: 1rem;
    border: 0;
    border-radius: 0.25rem;
}

.alertms {
    color: #dc3545;
    font-size: 12px;
    padding: 0;
    margin-top: 0px;
    margin-bottom: 0;
}

.red_border {
    border: 1px solid #dc3545;
}

.card {
    overflow: hidden;
    box-shadow: 0px 0px 4px 0px #0000001f;
    border: 0;
}

.iti {
    width: 100%;
}

.er {
    margin-top: 8px;
    color: #dc3545;
    margin-bottom: 0;
}

/* dropdown */

.dropdown-item.active,
.dropdown-item:hover {
    color: #fff;
    text-decoration: none;
    background-color: #1e5bf2;
}

.dropdown-select-wrap {
    gap: 0.2rem;
    cursor: pointer;
}

.dropdown-select-wrap .dropdown-menu.show {
    display: block;
    padding: 0.5rem;
}

.dropdown-select-wrap .dropdown-item {
    padding: 0.25rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #222;
    font-size: 14px;
}

.dropdown-select-wrap .dropdown-item:hover {
    color: #222;
    text-decoration: none;
    background-color: transparent;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 5px !important;
    right: 1px;
    width: 20px;
}

/* icon */

.multiple-icon-wrap a {
    box-shadow: 0px 0px 4px 0px #00000026;
    background-color: #eaf6ed;
    border-radius: 0.25rem;
    border: 0;
    padding: 0.2rem;
}

/* checkbox */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0rem;
    height: 18px;
    width: 18px;
}

.control.control--checkbox {
    margin-bottom: 0;
}

.table-checkbox-select {
    display: flex;
    align-items: center;
}

.custom-checkbox-label {
    margin: 0;
}

/* breadcrumb */

.breadcrumb {
    padding: 0;
    display: flex;
    list-style: none;
    background-color: transparent !important;
    justify-content: end;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.breadcrumb-item.active {
    color: #222 !important;
}

.breadcrumb-item a {
    color: #9ea7b4 !important;
    text-decoration: none !important;
}

/* button */

.btn {
    padding: 0.6rem 0.75rem;
    font-size: 0.813rem;
}

.btn:focus,
button:focus {
    outline: 0;
    box-shadow: none;
}

.btn-primary:focus {
    outline: 0;
    box-shadow: none;
}

.btn-primary {
    background-color: #1e5bf2 !important;
    background-image: url(../img/btn-bg-01.svg);
    background-position: center;
    background-size: cover;
    border: none !important;
    border-radius: 0.25rem;
}

.btn-primary:hover {
    background-color: #1e5bf2 !important;
    border-color: #1e5bf2 !important;
    color: #fff;
}

.btn-outline-primary {
    background-color: transparent;
    color: #1e5bf2 !important;
    border: 1px solid #1e5bf2 !important;
    border-radius: 0.25rem;
    cursor: pointer;
}

.btn-outline-primary:hover {
    color: #fff !important;
    background-color: #1e5bf2 !important;
    border-color: #1e5bf2 !important;
}

.btn-outline-primary:hover i {
    color: #fff !important;
}

.btn-secondary:disabled {
    color: #2222224a;
    background-color: #f6f6f6;
    border: 0;
}

.btn-outline-danger {
    background-color: transparent;
    color: #dc3545 !important;
    border: 1px solid #dc3545 !important;
    border-radius: 0.25rem;
    cursor: pointer;
}

.btn-outline-danger:hover {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

/* modal */

.modal {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}

.modal-header .close {
    font-weight: normal;
}

.modal-body .email-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.modal-body .email-list li {
    padding: 1rem;
    cursor: pointer;
    background-color: #1e5af21a;
}

.modal-body .email-list li:hover {
    background-color: #1e5af25d;
}

.modal-body .email-list li h6 {
    font-size: 16px;
    font-weight: 600;
}

.sticky-head {
    position: sticky;
    top: 0;
}

/* Login Page */

.login-container-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-row {
    width: 100%;
    max-height: 80vh;
}

.login-body {
    background-color: #f2f2f2;
}

.blue-frame {
    background: url(../img/blue-frame.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px,
        rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px,
        rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
}

.login-card-left-wrap {
    position: relative;
    padding: 1.5rem;
}

.login-card-left-wrap .upper-image img {
    position: absolute;
    top: 8rem;
    right: 13rem;
    animation: zoomIn 1.5s ease-in-out;
    width: 250px;
}

.login-card-left-wrap .below-image img {
    position: absolute;
    top: 15rem;
    right: 5rem;
    animation: zoomIn 2s ease-in-out;
    width: 200px;
}

@keyframes zoomIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.login-card-right-wrap {
    height: 100%;
    width: 100%;
    padding: 5rem 1.5rem;
}

.logo-head-wrap a img {
    height: 4rem;
}

.form-group .input-wrap img {
    position: absolute;
    top: 13px;
    right: 8px;
    cursor: pointer;
    height: 20px;
}

/* notification */

.notify-wrap {
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
    border: none;
    max-height: 350px;
    overflow: auto;
    min-width: 350px;
    max-width: 460px;
}
.notify-wrap li span {
    font-size: 14px;
    font-weight: 600;
}

.notify-wrap li a {
    border-bottom: 1px solid #e3e6f0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.notify-wrap .dropdown-header {
    background-color: #1e5bf2;
    border: 1px solid #1e5bf2;
    color: #fff;
    font-size: 0.75rem;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    border-radius: 6px 6px 0px 0px;
}

.notify-wrap #notification_list .dropdown-item.active,
.dropdown-item:hover {
    background: #1e5af210 !important;
    color: #222;
}

.view-more {
    text-align: end;
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}
.view-more a {
    color: #1e5bf2 !important;
}

.view-more:hover {
    background-color: #1e5bf2 !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

.view-more:hover a {
    color: #fff !important;
}

#notification_list {
    max-height: 300px;
    overflow-y: auto;
}

#notification_list .dropdown-item {
    padding: 1rem;
    cursor: pointer;
}

.notif-time {
    font-size: 12px;
    font-weight: 600;
    color: #222;
}

/* Sidebar */

body.loaded .menu-wrapper,
body.loaded #content-wrapper,
body.loaded .navbar-expand-lg {
    transition: width 0.3s ease-in-out, margin-left 0.3s ease-in-out,
        left 0.3s ease-in-out;
}

/* Sidebar width — see app-sidebar.css */
/* Content offset — app-sidebar.css when .app-sidebar is present */
#content-wrapper {
    margin-left: 280px;
    width: calc(100% - 280px);
}

.logo-normal {
    display: inline-block;
}

.logo-minimized {
    display: none;
    max-width: 50px;
}

.menu-wrapper.minimized .logo-normal {
    display: none !important;
}

.menu-wrapper.minimized .logo-minimized {
    display: inline-block !important;
}

#content-wrapper.sidebar-minimized {
    margin-left: 72px;
    width: calc(100% - 72px);
}

.sidebar-minimized .navbar-expand-lg {
    left: 72px;
    width: calc(100% - 72px);
}

.hamburger-menu {
    padding: 0.3rem;
    margin-right: 0.5rem;
}

/* Sidebar */

.menu-wrapper {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
}

.menu-wrapper.app-sidebar {
    top: var(--app-sidebar-inset);
    left: var(--app-sidebar-inset);
}

.menu-wrapper:not(.app-sidebar) {
    height: 100vh;
    overflow: hidden;
}

/* Detached sidebar shell — see app-sidebar.css */
.menu-wrapper.app-sidebar {
    overflow: hidden;
}

.menu-wrapper:not(.app-sidebar) {
    background: #fff;
    border-right: 1px solid #dcdcdc;
    overflow-y: auto;
    padding: 1rem;
    width: 16%;
    transition: width 0.3s ease-in-out;
}

.menu-wrapper.minimized:not(.app-sidebar) {
    width: 60px;
    padding: 0.5rem;
}

.menu-wrapper.minimized:not(.app-sidebar) .menu-text {
    display: none;
}

#content-area {
    padding: 2.5rem 1.5rem;
    margin-top: 56px;
    background-color: transparent;
    background-image: none;
}

.sidebar-minimized #content-area {
    width: 100%;
    padding: 1.5rem;
}

/* Navbar */

.navbar-expand-lg {
    position: fixed;
    top: 0;
    left: 280px;
    width: calc(100% - 280px);
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #ddd;
    transition: left 0.3s ease-in-out, width 0.3s ease-in-out;
}

body:has(.menu-wrapper.app-sidebar) .navbar-expand-lg {
    width: auto;
    border-bottom: 0;
}

.menu-wrapper .navbar-brand {
    display: inline-block;
    margin-right: 0;
    padding: 0;
}

.menu-wrapper .navbar-brand .logo-normal {
    width: 80%;
}

.menu-wrapper:not(.app-sidebar) .nav-item {
    width: 100%;
    display: block;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all ease 0.3s;
    position: relative;
}

.menu-wrapper:not(.app-sidebar) .nav-item.active,
.menu-wrapper:not(.app-sidebar) .nav-item:hover,
.nav-wrapper .nav-item.active,
.nav-wrapper .nav-item:hover {
    background: #1e5bf2;
    color: #fff;
    background-image: url(../img/btn-bg-01.svg);
    background-position: center;
    background-size: cover;
    border-radius: 0.25rem;
}

.menu-wrapper:not(.app-sidebar) .nav-item .nav-link {
    color: inherit;
    text-decoration: none;
    align-items: center;
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
}

.menu-wrapper .navbar-nav .nav-link i {
    z-index: 9999;
    position: relative;
    vertical-align: top;
}

.menu-wrapper:not(.app-sidebar) .nav-item:hover .nav-link,
.menu-wrapper:not(.app-sidebar) .nav-item.active .nav-link {
    color: white;
}

.menu-wrapper:not(.app-sidebar) .navbar-nav .nav-item:hover .nav-link i,
.menu-wrapper:not(.app-sidebar) .navbar-nav .nav-item.active .nav-link i {
    color: white;
}

.menu-wrapper:not(.app-sidebar) .nav-item.active img,
.menu-wrapper:not(.app-sidebar) .nav-item:hover img {
    filter: brightness(0) invert(1);
}

/* sidebar dropdown */

.menu-wrapper a.dropdown-item i {
    vertical-align: middle;
}

.menu-wrapper .dropdown-menu.dropdown-menu-right.show {
    z-index: 99999;
    position: absolute;
    will-change: transform;
    top: 0px;
    left: 0px;
    transform: translate3d(-5px, 30px, 0px);
    background: #fff;
    border: none;
    padding: 0.5rem;
    box-shadow: 0px 0px 4px 0px #00000026;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 52px;
}

.menu-wrapper .dropdown-menu.dropdown-menu-right.show a {
    display: flex;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
}

.menu-wrapper .dropdown-menu.dropdown-menu-right.show a:hover,
.menu-wrapper .dropdown-menu.dropdown-menu-right.show a.active {
    color: #fff;
    background-color: #1e5bf2 !important;
    border-radius: 0.25rem;
    border: none;
}

/* navbar - topbar */
.navbar-expand-lg {
    min-height: 56px;
    flex-wrap: nowrap;
    align-items: center;
}

.page-title-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.125rem;
    min-width: 0;
    flex: 0 1 auto;
    max-width: min(32vw, 280px);
}

.page-subtext {
    font-size: 0.8125rem;
    color: #6c757d;
    font-weight: 400;
    line-height: 1.2;
}

.navbar h1 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar-expand-lg > .navbar-collapse {
    flex-grow: 0;
    flex-shrink: 0;
    margin-left: auto;
}

.topbar-menu {
    flex-wrap: nowrap;
    align-items: center;
}

#timer {
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .navbar-expand-lg {
        flex-wrap: wrap;
    }

    .page-title-wrap {
        max-width: calc(100% - 3rem);
    }

    .page-subtext {
        display: none;
    }

    .navbar h1 {
        font-size: 1rem;
    }
}

.topbar-menu .nav-item:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
}

.topbar-menu .nav-link {
    display: flex;
    align-items: center;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
}

.profile-nav-top {
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    text-align: center;
    max-width: 140px;
}

.notification-block > a > span {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: #f00;
    color: #fff;
    font-size: 10px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    min-width: 16px;
    text-align: center;
    height: 16px;
    padding: 0;
    line-height: 18px;
    border-radius: 50%;
    display: none;
}

.notification-block .dropdown-toggle::after {
    display: none;
}

.nav-item a {
    color: #222;
}

/* inner pages */

.page-wrapper .fa,
.page-wrapper .far,
.page-wrapper .fas,
.page-wrapper .fab {
    font-family: "Font Awesome 5 Free";
}

/* dashboard */

.welcome-card {
    color: #fff;
    background-color: #1f5bf2;
    background-image: url(../img/line-bg-white-trans.svg);
    background-size: contain;
    background-position: top center;
}

.widget-wrap {
    width: 100%;
    padding: 1.5rem;
    border-radius: 0.25rem;
    background: #fff;
    box-shadow: 0px 0px 10px 0px #00000018;
    height: 100%;
}

.widget-wrap .highcharts-container {
    width: 100% !important;
    height: 100%;
}
.widget-wrap .highcharts-figure,
.widget-wrap .highcharts-data-table table {
    margin: auto;
    min-width: 50px;
    width: 100%;
}
.widget-wrap .growth-label {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 30px;
    /* font-weight: 500; */
    margin-left: 5px;
}
.widget-wrap .growth-label .material-symbols-rounded {
    font-size: 14px;
    vertical-align: middle;
}
.widget-wrap .upward {
    background-color: #28a7451f;
    color: #28a745;
}
.widget-wrap .upward * {
    color: #28a745;
}
.widget-wrap .downward {
    background-color: #dc35461f;
    color: #dc3545;
}
.widget-wrap .downward * {
    color: #dc3545;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0 !important;
    line-height: 28px !important;
    font-size: 0.813rem;
    color: #495057 !important;
}

.select2-container {
    display: inline !important;
}

.select2-container--default .select2-selection--single {
    height: calc(2.25rem + 2px) !important;
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff !important;
    background-clip: padding-box;
    border: 1px solid #ccc !important;
    border-radius: 0.25rem !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    position: absolute;
    top: 5px !important;
}

.select2-dropdown {
    border: 1px solid #dcdcdc !important;
}

.span-divider {
    border: 1px solid #e1e1e1;
    height: 24px;
}

/* table */

.table-widget h6 img {
    width: 24px;
    height: 24px;
}

.table-widget {
    overflow: auto;
}

.table-widget table {
    border-collapse: separate;
    border-spacing: 0;
    overflow: auto;
    border: 0;
    margin: 0;
}

.table {
    margin-bottom: 0;
}

.table th {
    color: #8f8f8f;
    font-weight: 500;
    border-bottom-width: 1px;
}

.table thead th {
    border-bottom: 0;
}

.table td {
    color: #222;
    font-weight: 400;
    font-size: 12px;
}

.table thead th,
.table tbody td {
    vertical-align: middle;
    white-space: nowrap;
}

.table td,
.table th {
    vertical-align: middle;
}

.table-widget table tbody td {
    /* border-bottom: 1px solid #e1e1e1; */
    /* border-top: 0; */
    /* word-break: break-all; */
    /* word-wrap: break-word; */
    white-space: normal;
    overflow-wrap: break-word;
}

.report-data-table td {
    padding: 0.5rem;
}

.selected-count-wrap {
    padding: 0.5rem 0.75rem;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
}

.selected-count-wrap input {
    border: 0;
    max-width: 120px;
    background-color: transparent;
}

.action-button {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 6px;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.07);
    cursor: pointer;
}

.action-button img {
    width: 18px;
    height: 18px;
}

.action-button,
.table tbody td i {
    font-size: 18px !important;
}

.action-button.primary {
    color: #007bff;
}
.action-button.primary:hover {
    background-color: #007bff;
    color: #fff;
}

.action-button.danger {
    color: #dc3546;
}
.action-button.danger:hover {
    background-color: #dc3546;
    color: #fff;
}

.action-button.success {
    color: #4caf50;
}
.action-button.success:hover {
    background-color: #4caf50;
    color: #fff;
}

.action-button.primary:hover i,
.action-button.danger:hover i,
.action-button.success:hover i {
    color: #fff;
}

.action-button.primary:hover img,
.action-button.danger:hover img,
.action-button.success:hover img {
    filter: brightness(0) invert(1);
}

.table-widget table tbody tr:hover {
    background-color: #fef4f8;
}

.table-widget .priority-red,
.table-widget .priority-green,
.table-widget .priority-yellow {
    height: 8px;
    width: 8px;
}

.name-letter {
    display: block;
    padding: 6px 5px;
    border-radius: 50px;
    background-color: #dc3546;
    color: #fff;
}

.content-div table thead th,
#history_listing table thead th {
    font-size: 12px;
}

.priority-red,
.priority-green,
.priority-yellow,
span.low,
span.medium,
span.high {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.priority-red,
span.high {
    background-color: #dc3545;
}

.priority-green,
span.low {
    background-color: #28a745;
}

.priority-yellow,
span.medium {
    background-color: #ffc107;
}

.status_icon {
    font-weight: 600;
}

.action-icon-wrap i {
    font-size: 18px;
}

.table-modified thead th,
.table-modified tbody td {
    font-size: 0.7rem;
}

.table-modified tbody .enquiry-cell {
    width: 150px;
}

.table-modified .dropup-cell .dropup {
    position: relative;
    display: inline-block;
}

.table-modified .dropdown-menu {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0 !important;
    transform: translateX(-50%);
    background: #f6f6f6 !important;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    z-index: 1000;
    min-width: 5rem;
}

.table-modified .dropdown-menu:hover {
    border-radius: 8px;
}

.table-modified .dropup-cell .dropup:hover .dropdown-menu {
    display: flex;
    align-items: center;
}

.table-modified .more-icon {
    transition: color 0.3s ease;
    width: 16px;
}

.table-modified .more-icon:hover {
    color: #1e5bf2;
}

.table-modified .dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hover-white:hover img {
    filter: brightness(0) invert(1);
}

.table-modified .count-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #1e5bf2;
    color: #fff;
    padding: 1px 4px;
    font-size: 10px;
    border-radius: 10px;
    margin-left: 8px;
}

.table-modified .action-button .count-badge {
    top: -4px;
    right: -4px;
    min-width: 16px;
    line-height: 1.2;
    text-align: center;
    font-weight: 600;
    z-index: 1;
    margin-left: 0;
}

.table-modified .action-button.primary:hover .count-badge {
    background-color: #fff;
    color: #1e5bf2;
}

.table-modified .dropdown-item:hover .count-badge {
    background-color: #fff;
    color: #1e5bf2;
}

.list-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.35rem 0.65rem 0.35rem 0.5rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1;
    border: 1px solid transparent;
}

.list-status-chip img {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.list-status-completed {
    background-color: #28a74619;
    color: #1e7e34;
    border-color: #28a74540;
}

.list-status-pending {
    background-color: #ffc1072e;
    color: #856404;
    border-color: #ffc10766;
}

.list-status-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.375rem;
    height: 1.375rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.list-status-completed .list-status-count {
    background-color: #28a745;
    color: #fff;
}

.list-status-pending .list-status-count {
    background-color: #ffc107;
    color: #212529;
}

.table-modified .dropdown-menu {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.table-modified .dropup-cell.dropup:hover .dropdown-menu {
    display: flex;
    align-items: center;
    opacity: 1;
    padding: 5px;
}

.table-modified .more-icon:hover {
    color: #007bff;
}

.table-modified .dropdown-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 8px;
    color: #222;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.table-modified .dropdown-item:hover {
    background-color: #1e5bf2 !important;
    border-radius: 8px;
}

.table-modified .dropdown-item:hover i {
    color: #fff;
}

.table-modified .count-bdge {
    position: absolute;
    top: 2px;
    right: 0;
    background-color: #1e5bf2;
    color: #fff;
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 10px;
    margin-left: 0;
}

.table-modified .dropdown-item:hover .count-bdge {
    background-color: #fff;
    color: #1e5bf2;
}

.table-modified tbody tr:hover .profile-navigation-cell a {
    color: #1e5bf2;
}

.detailed-report-card .card-body {
    overflow-x: auto;
    padding: 1rem;
}

.detailed-report-card .table th {
    background-color: #f6f6f6;
}

.detailed-report-card .table th,
.detailed-report-card .table td {
    font-size: 0.659rem;
    padding: 4px;
}

.status-table {
    max-height: 560px;
    overflow-y: auto;
    background-color: #fff;
    box-shadow: 0px 0px 4px 0px #0000001f;
    border-radius: 0.25rem;
    padding: 0.75rem !important;
    margin-bottom: 1rem;
}

.status-table table th {
    background-color: #f6f6f6;
    font-size: 0.7rem;
    padding: 0.5rem;
    vertical-align: middle;
    font-weight: 500;
}

.status-table table .status-count-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-table table .status-count-wrap .status-count {
    background: #1e5bf2;
    padding: 0.1rem 0.4rem;
    color: #fff;
    border-radius: 1rem;
}

.status-table table td {
    font-size: 0.7rem;
    font-weight: bold;
}

.status-table table td a {
    display: block;
    height: 100%;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #1e5bf2;
    border-color: #1e5bf2;
}

.pagination {
    margin-bottom: 0;
}

.pagination > li > a,
.pagination > li > span {
    padding: 10px 4px;
    margin: 0px 3px;
    color: #445066;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    border: none;
    min-width: 38px;
    text-align: center;
}
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
    background-color: #1e5bf2;
}

.pagination > li.disabled > a,
.pagination > li.disabled > span {
    opacity: 0.7;
}

.page-link:hover {
    z-index: 2;
    color: #fff;
    text-decoration: none;
    background-color: #1e5bf2;
    border-color: #1e5bf2;
}

/* profile */

.tabheader .nav-link {
    border-bottom: 2px solid transparent !important;
    background-color: transparent !important;
    color: #222 !important;
    border-radius: 0;
    font-weight: 600;
    font-size: 1rem;
}

.tabheader .nav-link:active,
.tabheader .nav-link:hover {
    color: #1e5bf2 !important;
    border-bottom: 2px solid #1e5bf2 !important;
}

.title-bar {
    max-width: 17.3rem;
}

.form-container-outer {
    /*padding: 0.75rem; */
    background-color: #fff;
    border-radius: 0.25rem;
    margin-bottom: 0.75rem;
    box-shadow: 0px 0px 4px 0px #0000001f;
}

.form-container,
.form-table-wrap {
    border-radius: 0.25rem;
    border: 1px solid #f1f1f1;
    padding: 0.875rem;
}

.form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 0.75rem;
}

.form-table-wrap {
    padding-bottom: 0;
    border-bottom: 0;
}

.form-container-outer table td,
.form-container-outer table th {
    border-top: 0;
    border-bottom: 1px solid #f6f6f6 !important;
}

.form-container-outer table th {
    font-weight: 600;
}

.question-block p,
.null-space p {
    margin-bottom: 0;
    text-wrap: auto;
}

#descrip img {
    width: 100%;
    height: 100%;
}

.customer-info-widget-wrap.card {
    box-shadow: none;
    border-radius: 8px;
}

.customer-info-widget-wrap .card-body {
    height: 100%;
    max-height: 550px;
}

.customer-info-widget-wrap a {
    color: #222222;
}

.customer-info-widget-wrap .nav-link {
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    padding: 12px;
}

.customer-info-widget-wrap .nav-link:hover h6,
.customer-info-widget-wrap .nav-link.active h6 {
    color: #ee2a7b;
}

.customer-info-widget-wrap .nav-link:hover,
.customer-info-widget-wrap .nav-link.active {
    border-bottom: 2px solid #ee2a7b;
}

#profile_header .span-divider {
    height: 80px;
}

#profile_header .profile-image {
    width: 3rem;
    border-radius: 50%;
}

#profile_header .btn i {
    font-size: 20px;
}

.basic_details .table th {
    font-weight: normal;
    color: #292d32;
}

.basic_details .table td a {
    color: #1e5bf2;
}

.btn.bg-primary-light i {
    color: #1e5bf2;
}
.btn.bg-primary-light:hover {
    background-color: #1e5bf2;
}

.btn.bg-secondary-light i {
    color: #6c757d;
}
.btn.bg-secondary-light:hover {
    background-color: #6c757d;
}

.btn.bg-secondary-medium i {
    color: #123524;
}
.btn.bg-secondary-medium:hover {
    background-color: #123524;
}

.btn.bg-success-light i {
    color: #4caf50;
}
.btn.bg-success-light:hover {
    background-color: #4caf50;
}

.btn.bg-info-light i {
    color: #17a2b8;
}
.btn.bg-info-light:hover {
    background-color: #17a2b8;
}

.btn.bg-warning-light i {
    color: #ffc107;
}
.btn.bg-warning-light:hover {
    background-color: #ffc107;
}

.btn.bg-purple-light i {
    color: #500073;
}
.btn.bg-purple-light:hover {
    background-color: #500073;
}

.btn.bg-purple-medium i {
    color: #8b5dff;
}
.btn.bg-purple-medium:hover {
    background-color: #8b5dff;
}

.btn.bg-danger-light i {
    color: #dc3545;
}
.btn.bg-danger-light:hover {
    background-color: #dc3545;
}

.btn.bg-success-light span,
.btn.bg-primary-light span,
.btn.bg-purple-light span,
.btn.bg-danger-light span,
.btn.bg-info-light span,
.btn.bg-warning-light span,
.btn.bg-secondary-light span,
.btn.bg-purple-medium span,
.btn.bg-secondary-medium span {
    color: #000000;
}

.btn.bg-success-light:hover i,
.btn.bg-success-light:hover span,
.btn.bg-success-light:hover h6,
.btn.bg-success-light:hover label,
.btn.bg-primary-light:hover i,
.btn.bg-primary-light:hover span,
.btn.bg-primary-light:hover h6,
.btn.bg-primary-light:hover label,
.btn.bg-purple-light:hover i,
.btn.bg-purple-light:hover span,
.btn.bg-purple-light:hover h6,
.btn.bg-purple-light:hover label,
.btn.bg-danger-light:hover i,
.btn.bg-danger-light:hover span,
.btn.bg-danger-light:hover h6,
.btn.bg-danger-light:hover label,
.btn.bg-info-light:hover i,
.btn.bg-info-light:hover span,
.btn.bg-info-light:hover h6,
.btn.bg-info-light:hover label,
.btn.bg-warning-light:hover i,
.btn.bg-warning-light:hover span,
.btn.bg-warning-light:hover h6,
.btn.bg-warning-light:hover label,
.btn.bg-secondary-light:hover i,
.btn.bg-secondary-light:hover span,
.btn.bg-secondary-light:hover h6,
.btn.bg-secondary-light:hover label,
.btn.bg-secondary-medium:hover i,
.btn.bg-secondary-medium:hover span,
.btn.bg-secondary-medium:hover h6,
.btn.bg-secondary-medium:hover label,
.btn.bg-purple-medium:hover i,
.btn.bg-purple-medium:hover span,
.btn.bg-purple-medium:hover h6,
.btn.bg-purple-medium:hover label {
    color: #fff;
}

.btn.bg-success-light:hover img,
.btn.bg-primary-light:hover img,
.btn.bg-purple-light:hover img,
.btn.bg-danger-light:hover img,
.btn.bg-info-light:hover img,
.btn.bg-warning-light:hover img,
.btn.bg-secondary-light:hover img,
.btn.bg-secondary-medium:hover img,
.btn.bg-purple-medium:hover img {
    filter: brightness(0) invert(1);
}

/* Timeline */

.timeline-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-radius: 0.25rem;
}

.timeline-block:hover {
    background-color: #fef4f8;
}

/* campaign */

.campaign-form-card > .campaign-form-card-header.bg-purple-light {
    background-color: #f4ebf8 !important;
}

.campaign-form-card .card-body {
    padding: 1.25rem;
}

.campaign-form-card .campaign-form-field {
    display: flex;
    flex-direction: column;
}

.campaign-form-card .campaign-field-label {
    margin-bottom: 0.375rem;
    line-height: 1.25;
    min-height: 1.125rem;
}

.campaign-form-card .campaign-field-label label {
    display: inline;
    margin-bottom: 0;
    font-weight: 500;
}

.campaign-form-card .campaign-field-label .red_star {
    display: inline;
    margin-left: 2px;
}

.campaign-form-card .campaign-field-control {
    min-height: 38px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.campaign-form-card .campaign-form-field--checkbox .campaign-field-control {
    min-height: auto;
}

.campaign-form-card .campaign-form-field--checkbox .form-check {
    display: flex;
    align-items: center;
    padding-left: 0;
    margin-bottom: 0;
    gap: 0.5rem;
}

.campaign-form-card .campaign-form-field--checkbox .form-check-input {
    position: static;
    margin: 0;
    flex-shrink: 0;
}

.campaign-form-card .campaign-form-field--checkbox .form-check-label {
    padding-left: 0;
    line-height: 1.25;
}

.campaign-form-card .form-control,
.campaign-form-card select.form-control {
    width: 100%;
    height: 38px;
    min-height: 38px;
    padding: 5px 12px;
    font-size: 12px;
    line-height: 1.5;
}

.campaign-form-card input[type="date"].form-control {
    height: 38px;
    min-height: 38px;
    padding: 5px 12px;
    line-height: 1.5;
}

.campaign-form-card .campaign-type-radios .form-check-inline {
    margin-right: 0.75rem;
    margin-bottom: 0;
}

.campaign-form-card .campaign-type-radios .form-check-input {
    margin-top: 0;
    position: relative;
    top: 0;
}

.campaign-form-card .campaign-type-radios .form-check-label {
    padding-left: 0.25rem;
    line-height: 38px;
}

.campaign-form-card #groupDropdown,
.campaign-form-card #groupDropdown .dropdown-mul-1,
.campaign-form-card #groupDropdown .dropdown-multiple,
.campaign-form-card #groupDropdown .dropdown-display {
    width: 100%;
}

.campaign-form-card #groupDropdown .dropdown-display {
    height: 38px !important;
    min-height: 38px;
    padding: 5px 12px;
    font-size: 12px;
    line-height: 1.5;
    box-sizing: border-box;
}

.campaign-form-card .campaign-form-footer {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.25rem;
    border-top: 1px solid #eee;
}

.detailed-report-card .campaign-dept-table {
    table-layout: fixed;
    width: 100%;
}

.detailed-report-card .campaign-dept-table th,
.detailed-report-card .campaign-dept-table td {
    font-size: 0.7rem;
    padding: 0.5rem 0.5rem;
    vertical-align: middle;
    word-wrap: break-word;
}

.detailed-report-card .campaign-dept-table th:nth-child(1),
.detailed-report-card .campaign-dept-table td:nth-child(1) {
    width: 44%;
    padding-left: 0.75rem;
}

.detailed-report-card .campaign-dept-table th:nth-child(2),
.detailed-report-card .campaign-dept-table td:nth-child(2),
.detailed-report-card .campaign-dept-table th:nth-child(3),
.detailed-report-card .campaign-dept-table td:nth-child(3) {
    width: 28%;
    padding-right: 0.75rem;
}

.form-container-outer .form-container-inner .dropdown-multiple {
    padding: 0;
}

.batch-detail-card {
    width: 15rem;
}

/* settings */

.custom-search-bar {
    max-width: 18rem;
}

.settings-cards-wrap .card {
    width: 18rem;
}

/* channel gateway */

.gateway_title {
    cursor: pointer;
    background: #3362cc;
    border: 1px solid #3362cc;
    padding: 4px 20px;
    text-align: center;
    color: #fff !important;
    max-width: 120px;
    width: 100%;
}

/* Mailbox */

.mailbox-toolbar .mailbox-search-wrap {
    min-height: 100%;
}

.mailbox-toolbar .mailbox-search-input {
    min-width: 0;
}

.mailbox-stats-row .col-lg-3 > a,
.mailbox-stats-row .col-md-4 > a {
    display: block;
    height: 100%;
}

.mail-count-wrap {
    min-height: 80px;
    padding: 16px 18px 16px 20px;
}

.mailbox-layout .mailbox-list-card,
.mailbox-layout .mailbox-detail-card {
    display: flex;
    flex-direction: column;
}

.email-card-body {
    max-height: calc(60vh + 56px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.list-card-body {
    max-height: 60vh;
    overflow-y: auto;
    padding: 1rem;
}

.mail-content {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Mail list */
.mails-list-item {
    padding: 0.875rem 1rem;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.mails-list-item:hover,
.mails-list-item.active {
    border-color: #1e5af2 !important;
    box-shadow: 0 0 0 1px rgba(30, 90, 242, 0.15);
}

.mails-list-link {
    color: inherit;
}

.mails-list-status img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.mails-list-flag {
    color: #ffc107;
    font-size: 0.875rem;
    line-height: 1;
}

.mails-list-subject {
    color: #495057;
    font-size: 0.9rem;
}

/* Mail thread detail */
.mail-thread {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mail-message {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mail-message:last-of-type {
    border-bottom: 0;
}

.mail-message-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.mail-message-sender {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1 1 220px;
}

.mail-message-avatar {
    flex-shrink: 0;
    object-fit: cover;
}

.mail-message-sender-text {
    min-width: 0;
    word-break: break-word;
}

.mail-message-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem 0.75rem;
    flex: 1 1 280px;
}

.mail-message-date {
    white-space: nowrap;
    font-size: 0.8125rem;
    line-height: 1.2;
}

.mail-message-actions {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.mail-message-actions a,
.mail-message-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.mail-message-actions img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
}

.mail-message--outbound .mail-message-header {
    background-color: #fff3cd !important;
}

.mail-recipient-line {
    word-break: break-word;
    overflow-wrap: anywhere;
}

.mail-recipient-line--cc {
    color: #495057;
}

.mail-email-body {
    max-width: 100%;
    overflow-x: auto;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.mail-email-body img,
.mail-email-body table,
.mail-email-body iframe,
.mail-email-body video {
    max-width: 100% !important;
    height: auto !important;
}

.mail-email-body table {
    table-layout: fixed;
    width: 100% !important;
}

.mail-empty-state {
    min-height: 240px;
}

@media (max-width: 991.98px) {
    .mail-message-meta {
        justify-content: flex-start;
        width: 100%;
    }

    .mailbox-toolbar .mailbox-search-wrap {
        width: 100%;
    }
}

/* Group CSV Import */
.ms-list .file-container {
    float: none;
    margin-top: 0.25rem;
}

.ms-list .file-container .input-file-trigger {
    width: auto;
    min-width: 200px;
}

/* Reports */
.reports-card-row h6 {
    color: #222222;
}

.reports-card-row img {
    width: 48px;
    height: 48px;
    overflow: inherit;
}

.reports-card-row .card {
    height: 100%;
}

/* Large Devices */

@media (min-width: 992px) {
    /* Login */

    .white-frame {
        border-top-right-radius: 1rem;
        border-bottom-right-radius: 1rem;
        box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px,
            rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px,
            rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px,
            rgba(0, 0, 0, 0.07) 0px 32px 64px;
    }

    .login-card-right-wrap {
        padding: 3.5rem;
    }

    /* Customer Profile */

    .profile-search-bar {
        min-width: 20rem;
    }

    #profile_header .btn {
        min-width: 90px;
    }
}

/* Small Devices */

@media (max-width: 992px) {
    .w-sm-100 {
        width: 100% !important;
    }

    /* Sidebar */

    .menu-wrapper:not(.app-sidebar) {
        width: 60px;
        padding: 0.5rem;
        transition: none;
    }

    .menu-wrapper:not(.app-sidebar) .menu-text {
        display: none;
    }

    body:not(:has(.menu-wrapper.app-sidebar)) #content-wrapper {
        margin-left: 72px;
        width: calc(100% - 72px);
        transition: none;
    }

    body:not(:has(.menu-wrapper.app-sidebar)) .navbar-expand-lg {
        left: 72px;
        width: calc(100% - 72px);
        transition: none;
    }

    /* Customer Profile */
    #profile_header .btn {
        min-width: 120px;
    }

    /* Group CSV Import */
    .ms-list .file-container .input-file-trigger {
        width: 100%;
    }
}

#email_lists1 li:active {
    background-color: #1e5bf2 !important;
    color: #ffff;
}

/* Offcanvas Styling */

.offcanvas {
    position: fixed;
    top: 56.8px;
    /* right: -100%;  */
    right: 0;
    width: 50%;
    min-width: 650px;
    max-width: 50%;
    height: calc(100% - 56.8px);
    background: #fff;
    /* color: #000000; */
    padding-top: 60px;
    transform: translateX(100%);
    transition: transform 0.65s ease-in-out;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    z-index: 1050;
    box-shadow: 0px 0px 4px 0px #0000001f;
    overflow-y: auto;
    /* overflow: hidden; */
}
.offcanvas.show {
    /* right: 0;  */
    transform: translateX(0);
}
.offcanvas a {
    padding: 10px 20px;
    display: block;
    text-decoration: none;
}

/* Overlay Effect */

.offcanvas-overlay {
    position: fixed;
    top: 56.8px;
    left: 0;
    width: 100%;
    height: calc(100% - 56.8px);
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1040;
    transition: opacity 0.8s ease-in-out;
}
.offcanvas-overlay.show {
    display: block;
    opacity: 1;
}

@media (max-width: 992px) {
    .offcanvas {
        min-width: 80%;
        max-width: 80%;
        right: -100%;
        border-radius: 0;
    }
}

.offcanvas .card {
    box-shadow: none;
}

/* Follow-up list + details: native/Select2 menus must escape card/offcanvas clip.
   Global .card { overflow: hidden } and .offcanvas { overflow-y: auto } otherwise
   cut Category / Status / Priority / Enquiry / query-type lists short. */
.followup-filter-card,
.followup-details-card,
#followup-Offcanvas > .card,
#followup-Offcanvas .tab-content,
#followup-Offcanvas .tab-pane,
#followup-Offcanvas #followup_form_n,
.followup-listing-root,
.followup-listing-root .table-widget,
.modal-body:has(.followup-listing-root) {
    overflow: visible;
}

.followup-filter-card .select2-container,
.followup-listing-root .select2-container,
#followup-Offcanvas .select2-container {
    display: block !important;
    width: 100% !important;
}

body > .select2-container {
    z-index: 2000;
}

/* Drop the slide transform while open so Select2 is not trapped in a
   containing block (same idea as overflow:visible on the enquiry panel). */
#followup-Offcanvas.show {
    transform: none;
}

.close-icon {
    font-size: 1.5rem;
    padding-right: 0.5rem;
    cursor: pointer;
}

.offcanvas .table th {
    font-weight: normal;
    color: #262626;
}

/* Profile Header Nav-pills */
.tabheader.nav-pills .nav-link {
    color: #222;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease-in-out;
}

.tabheader.nav-pills .nav-link.active,
.tabheader.nav-pills .nav-link:hover {
    color: #1e5bf2 !important;
    border-bottom: 2px solid #1e5bf2 !important;
    background-color: transparent;
}

.tabheader .navigate-tab {
    color: #ee2a7b !important;
    border-bottom: 2px solid #ee2a7b !important;
}

/* pipeline */

.pipeline-card {
    height: 80vh;
}

/* Profile - offcanvas slider - Table */

.escalation_details .table th,
.bg-primary-table th {
    background-color: #1e5af21a;
    width: 50%;
}

/* Firefox select  */

.select2-container--default .select2-selection--single {
    box-sizing: border-box;
    padding-right: 30px;
    position: relative;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    right: 5px !important;
    left: auto !important;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    height: 100%;
    pointer-events: none;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: 12px !important;
    position: absolute;
    top: 50%;
    width: 0;
}

/* timer  */
.bg-primary-medium {
    background-color: #5e8cff;
}

.border-primary {
    border: 1px solid #5e8cff;
}

.followup-call-button {
    position: absolute;
    top: -46px;
}

.social-media-header .card.active {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.social-media-table .table .thead th {
    border-top: 0 !important;
}

/* Consolidate Report */
.consolidate-report-filters {
    border: 1px solid #e8ecf4;
    border-radius: 0.5rem;
}

.consolidate-filter-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #5a6478;
    margin-bottom: 0.35rem;
}

.consolidate-date-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin: -0.5rem 0 1rem;
    padding: 0.5rem 0.75rem;
    background: #dc35461a;
    border-radius: 0.35rem;
    border-left: 3px solid #dc3545;
}

.consolidate-report-results {
    margin-top: 0.25rem;
}

.consolidate-query-block {
    border: 1px solid #e8ecf4;
    border-radius: 0.5rem;
    overflow: hidden;
}

.consolidate-query-header {
    padding: 0.85rem 1.25rem;
    background: linear-gradient(90deg, #ffc1072e 0%, #fff8e6 55%, #ffffff 100%);
    border-bottom: 1px solid #f0e6c8;
}

.consolidate-query-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.consolidate-query-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3345;
}

.consolidate-empty-badge {
    font-size: 0.7rem;
    font-weight: 500;
    color: #6c757d;
    background: #f1f3f8;
    padding: 0.25rem 0.65rem;
    border-radius: 1rem;
}

.consolidate-section-total {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e5bf2;
    background: #1e5af21a;
    padding: 0.3rem 0.75rem;
    border-radius: 1rem;
}

.consolidate-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.consolidate-matrix-table {
    font-size: 0.75rem;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 100%;
}

.consolidate-matrix-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f0f4fa;
    color: #445066;
    font-weight: 600;
    text-transform: capitalize;
    text-align: center;
    vertical-align: middle;
    padding: 0.65rem 0.5rem;
    border-bottom: 2px solid #dce3ef;
    white-space: nowrap;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.consolidate-matrix-table .consolidate-type-col {
    position: sticky;
    left: 0;
    z-index: 3;
    min-width: 160px;
    max-width: 200px;
    text-align: left;
    background: #f8fafc;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.04);
}

.consolidate-matrix-table thead .consolidate-type-col {
    z-index: 4;
    background: #e8eef6;
}

.consolidate-matrix-table .consolidate-total-col {
    background: #f6f8fc;
    font-weight: 700;
    min-width: 72px;
}

.consolidate-matrix-table tbody th.consolidate-type-col {
    font-weight: 600;
    color: #2c3345;
    padding: 0.6rem 0.75rem;
    border-right: 1px solid #e8ecf4;
}

.consolidate-matrix-table tbody td {
    text-align: center;
    vertical-align: middle;
    padding: 0.5rem 0.4rem;
    border-color: #eef1f6;
    transition: background-color 0.15s ease;
}

.consolidate-matrix-table tbody tr:hover td {
    background-color: #f8fbff;
}

.consolidate-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 0.2rem 0.45rem;
    border-radius: 0.35rem;
    font-weight: 600;
    line-height: 1.2;
}

.consolidate-count.is-zero {
    color: #9aa3b2;
    font-weight: 500;
}

.consolidate-count.has-value {
    color: #1e5bf2;
    background: #1e5af214;
}

.consolidate-count.consolidate-row-total.has-value {
    color: #fff;
    background: #1e5bf2;
}

.consolidate-status-row.consolidate-row-backend th.consolidate-type-col,
.consolidate-status-row.consolidate-row-backend td {
    background-color: #fef4f8;
}

.consolidate-status-row.consolidate-row-callcenter th.consolidate-type-col {
    border-left: 3px solid #17a3b8;
}

.consolidate-status-row.consolidate-row-backend th.consolidate-type-col {
    border-left: 3px solid #e91e8c;
}

.consolidate-status-row.consolidate-row-closed th.consolidate-type-col {
    border-left: 3px solid #28a745;
}

.consolidate-status-row.consolidate-row-processing th.consolidate-type-col {
    border-left: 3px solid #ffc107;
}

.consolidate-status-row.consolidate-row-reopen th.consolidate-type-col {
    border-left: 3px solid #6f42c1;
}

.consolidate-report-empty {
    border: 1px dashed #dce3ef;
    border-radius: 0.5rem;
    background: #fafbfd;
}

@media (max-width: 767.98px) {
    .consolidate-query-header {
        padding: 0.75rem 1rem;
    }

    .consolidate-matrix-table {
        font-size: 0.7rem;
    }

    .consolidate-matrix-table .consolidate-type-col {
        min-width: 130px;
    }
}
