/********** Template CSS **********/
@font-face {
  font-family: heboo;
  src: URL(heboo.ttf);
}
@font-face {
  font-family: heboob;
  src: URL(heboob.ttf);
}
body{
 font-family:heboo;
 /* background-color: rgb(0,0,0); */
 background-image:url("../images/bg.jpg");
 background-attachment: fixed;
 background-size:100% 100%;
}

:root {
    --primary: #9d0220;
    --light: #F3F6F9;
    --dark: #191C24;
}
.pres{
	color:green;
	font-weight:900;
}
.abs{
	color:red;
}
.gye{
	color:blue;
	font-weight:900;
}
td,th{
	font-size:12px;
	font-weight:500;
	color:#000;
}
.hfix { overflow: auto; height: 70vh; }
.hfix table thead th { position: sticky; top: 0; z-index: 1; background-color:#037b4a; color:white; }
.mhix table thead th { background-color:#037b4a; color:white; }
.hfix table tbody td { background-color:#fff; color:#000; }
.hfix table thead .bgred{background-color:#c40202; }
.hfix table thead .lblue{background-color:#048edd; }
.hfix table thead .dblue{background-color:#0054d1; }
.lead-assignment-grid { height: 60vh; }
.lead-assignment-grid table thead th {
    background-color: #0054d1;
    color: #fff;
    vertical-align: middle;
}
.lead-assignment-grid table tbody td {
    vertical-align: middle;
}
.badge.bg-purple {
    background-color: #8a57ff;
    color: #fff;
}
.badge.bg-pink {
    background-color: #e83e8c;
    color: #fff;
}
@media (max-width: 768px) {
    .lead-assignment-grid { height: 50vh; }
}
.mhix table thead .bgred{background-color:#c40202; color:white;}
.mhix table thead .lblue{background-color:#048edd; color:white;}
.mhix table thead .dblue{background-color:#0054d1; color:white;}
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

@media (max-width: 576px) { /* Extra Small */
    #nameavv {
        width: 150px !important;
    }
}
@media (min-width: 576px) and (max-width: 768px) { /* Small */
    #nameavv {
        width: 50% !important;
    }
}
@media (min-width: 768px) and (max-width: 992px) { /* Medium */
    #nameavv {
        width: 25% !important;
    }
}
@media (min-width: 992px) and (max-width: 1200px) { /* Large */
    #nameavv {
        width: 25% !important;
    }
}
@media (min-width: 1200px) { /* Extra Large */
    #nameavv {
        width: 20% !important;
    }
}

.lead-command-palette {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: none;
}

.lead-command-palette.is-open {
    display: block;
}

.lead-command-palette__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 22, 0.52);
    backdrop-filter: blur(3px);
}

.lead-command-palette__dialog {
    position: relative;
    width: min(760px, calc(100vw - 24px));
    margin: 32px auto 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    padding: 16px;
}

.lead-command-palette__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.lead-command-palette__title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.lead-command-palette__hint,
.lead-command-palette__meta {
    font-size: 12px;
    color: #6b7280;
}

.lead-command-palette__close {
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 26px;
    line-height: 1;
    padding: 0 4px;
}

.lead-command-palette__close:hover {
    color: #111827;
}

.lead-command-palette__input {
    height: 48px;
    font-size: 16px;
    margin-bottom: 10px;
}

.lead-command-palette__results {
    max-height: min(62vh, 520px);
    overflow-y: auto;
    margin-top: 10px;
}

.lead-command-palette__empty {
    padding: 18px 12px;
    text-align: center;
    color: #6b7280;
    font-size: 13px;
}

.lead-command-palette__item {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 8px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.lead-command-palette__item--initial {
    background: #feff96;
}

.lead-command-palette__item--discussion {
    background: #96deff;
}

.lead-command-palette__item--demo {
    background: #c796ff;
}

.lead-command-palette__item--response {
    background: #ff96f6;
}

.lead-command-palette__item--delivery {
    background: #96ffd9;
}

.lead-command-palette__item--delivered {
    background: #ffffff;
}

.lead-command-palette__item--cancel {
    background: #f06868;
}

.lead-command-palette__item:hover,
.lead-command-palette__item.is-active {
    background: #eef6ff;
    box-shadow: inset 0 0 0 2px rgba(0, 84, 209, 0.22);
}

.lead-command-palette__line1 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    color: #111827;
    font-size: 14px;
}

.lead-command-palette__line2 {
    color: #6b7280;
    font-size: 12px;
}

.lead-command-palette__badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.lead-command-palette__badge--lead {
    background: #fff1c2;
    color: #7c5200;
}

.lead-command-palette__badge--client {
    background: #d9fbe8;
    color: #065f46;
}

body.dark-mode .lead-command-palette__dialog {
    background: rgba(31, 41, 55, 0.98);
    border-color: #4b5563;
}

body.dark-mode .lead-command-palette__title,
body.dark-mode .lead-command-palette__close:hover,
body.dark-mode .lead-command-palette__line1 {
    color: #f9fafb;
}

body.dark-mode .lead-command-palette__hint,
body.dark-mode .lead-command-palette__meta,
body.dark-mode .lead-command-palette__line2,
body.dark-mode .lead-command-palette__close,
body.dark-mode .lead-command-palette__empty {
    color: #d1d5db;
}

body.dark-mode .lead-command-palette__item {
    background: #111827;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body.dark-mode .lead-command-palette__item--initial {
    background: rgba(255, 193, 7, 0.28);
}

body.dark-mode .lead-command-palette__item--discussion {
    background: rgba(13, 202, 240, 0.24);
}

body.dark-mode .lead-command-palette__item--demo {
    background: rgba(138, 87, 255, 0.28);
}

body.dark-mode .lead-command-palette__item--response {
    background: rgba(232, 62, 140, 0.24);
}

body.dark-mode .lead-command-palette__item--delivery {
    background: rgba(25, 135, 84, 0.22);
}

body.dark-mode .lead-command-palette__item--delivered {
    background: rgba(108, 117, 125, 0.24);
}

body.dark-mode .lead-command-palette__item--cancel {
    background: rgba(220, 53, 69, 0.22);
}

body.dark-mode .lead-command-palette__item:hover,
body.dark-mode .lead-command-palette__item.is-active {
    background: #1f2937;
    box-shadow: inset 0 0 0 2px rgba(96, 165, 250, 0.4);
}
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(217, 249, 3, 0.8);
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 999999999; /* Ensure it stays above other content */
}

.mobile-bottom-nav .btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 40px;
    height: 40px;
    border-radius: 50%;
}

/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 25px;
    height: 25px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}
.hea {
	font-size:12px;
}
.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}
.nav-tabs .nav-link {
    border-color: #dee2e6 #dee2e6;
}
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
	
    background-color: #F3F6F9;
    border-color: #04a8b2 #04a8b2 #F3F6F9;
}
/*** Layout ***/
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 190px;
    height: 100vh;
    overflow-y: auto;
    background: var(--light);
    transition: 0.5s;
    z-index: 999;
}

.content {
    margin-left: 190px;
    min-height: 100vh;
    transition: 0.5s;
}
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999999; /* Sit on top */
    padding-top: 1.5%; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.2); /* Black w/ opacity */
}
label{
	font-size:13px;
}
.accordion-body, .accordion-button {
	font-size:13px;
}
/* Modal Content */
.modal-content {
    position: relative;
 background-image:url("../images/bg.jpg");
background-size:100% 100%;
    margin: 0 auto;
    padding: 0px;
	display: inline-block;
	min-width:100px;
	max-width:calc(95%);
	min-height:100px;
	/* max-height:calc(95%); */
    /* border: 2px solid #035798; */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
	/* overflow:scroll; */
	border-radius:10px;
}
.modal-content2 {
    position: relative;
 background-image:url("../images/bg.jpg");
background-size:100% 100%;
    margin: 0 auto;
    padding: 0px;
	display: inline-block;
	min-width:100px;
	max-width:calc(95%);
	min-height:100px;
	/* max-height:calc(95%); */
    /* border: 2px solid #035798; */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
	/* overflow:scroll; */
	border-radius:10px;
}
.cls{
	cursor:pointer;
}
/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
/* .close { */
	/* border: 2px solid white; */
    /* color: white; */
    /* float: right; */
    /* font-size: 20px; */
    /* font-weight: bold; */
/* } */


.modal-header {
    padding: 10px 16px;
   background:none;
    color: black;
	max-height:calc(95vh - 35px);
	overflow:scroll;
}
#country-list{
		overflow-y:scroll;
	max-height:30%;

	float:left;
	list-style:none;
	/* margin-top:-4px; */
	padding:0;
	width:auto;
	position: absolute;
	border:1px #bbb9b9 solid;
	border-radius:5px;
	}
#country-list li{
	padding: 10px; 
	background: #bafbb3; 
	color:black;
	font-weight:100;
	border: #bbb9b9 1px solid;
	font-size: 13px;
	}
#country-list li:hover{
	/* background:#9d0220; */
	cursor: pointer;
	/* color:white; */
	border:1px solid var(--primary);
	}

/* .modal-body {padding: 2px 16px;} */

.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}
.dropdown-item {
	font-size:14px;
}
@media (min-width: 992px) {
    .mobileview {
        display: none;
    }
    .sidebar {
        margin-left: 0;
    }

    .sidebar.open {
        margin-left: -190px;
    }

    .content {
        width: calc(100% - 190px);
    }

    .content.open {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        margin-left: -190px;
    }
    .deskview {
        display: none;
    }

    .sidebar.open {
        margin-left: 0;
    }

    .content {
        width: 100%;
        margin-left: 0;
    }
}


/*** Navbar ***/
.sidebar .navbar .navbar-nav .nav-link {
    padding: 5px 10px;
    color: var(--dark);
    font-weight: 500;
    border-left: 3px solid var(--light);
    border-radius: 0 30px 30px 0;
    outline: none;
	font-size:11px;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link i {
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 10px;
	font-size:12px;
	color:#8c03b3;
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
    background: var(--light);
}

.sidebar .navbar .dropdown-toggle::after {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
    padding-left: 35px;
	padding-top:5px;
	padding-bottom:5px;
	border-bottom:thin solid #fdd3d3;
    border-radius: 0 30px 30px 0;
	font-size:11px;
    color: var(--dark);
}

.sidebar .navbar .dropdown-item:hover,
.sidebar .navbar .dropdown-item.active {
    color: #FFFFFF;
    background: var(--primary);
}

.content .navbar .navbar-nav .nav-link {
    margin-left: 25px;
    /* padding: 12px 0; */
    color: var(--dark);
    outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.content .navbar .sidebar-toggler,
.content .navbar .navbar-nav .nav-link i {
    width: 45px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 40px;
}

.content .navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.content .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 575.98px) {
    .content .navbar .navbar-nav .nav-link {
        margin-left: 15px;
    }
}


/*** Date Picker ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.progress .progress-bar {
    width: 0px;
    transition: 2s;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}
h5,h6{
	color:var(--primary);
}
.table-dark th{
	color:white;
}.table-dark td{
	color:white;
	background-color:var(--primary);
}

/* =========================================================
   Restored global UI helpers (legacy function.php)
   - Global New-Mail Indicator
   - Internal Chat (floating)
   ========================================================= */

/* -------- Global New-Mail Indicator -------- */
#global-mail-indicator{
  position:fixed;
  right:18px;
  bottom:2px;
  z-index:1200;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial;
  pointer-events:none;
}
@media (max-width:768px){
  #global-mail-indicator{ bottom:70px; }
}

#gm-badge{
  pointer-events:auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#0d6efd;
  color:#fff;
  padding:8px 10px;
  border-radius:999px;
  box-shadow:0 8px 20px rgba(13,110,253,.12);
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  text-decoration:none;
  font-weight:600;
  font-size:13px;
  opacity:.95;
}
#gm-count{
  display:inline-block;
  min-width:20px;
  height:20px;
  line-height:20px;
  text-align:center;
  border-radius:12px;
  background:#ffc107;
  color:#111;
  font-weight:700;
  font-size:12px;
  padding:0 6px;
}
#gm-badge.new{
  animation:gmPulse 1.1s ease;
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(13,110,253,.18);
}
@keyframes gmPulse{
  0%{ transform:scale(1); }
  30%{ transform:scale(1.06); }
  100%{ transform:scale(1); }
}
@media (max-width:420px){
  #gm-badge{ padding:6px 8px; font-size:12px; }
  #gm-count{ min-width:18px; height:18px; line-height:18px; font-size:11px; }
}

/* -------- Internal Chat (floating) -------- */
.chat-bubble{ display:flex; margin:5px 10px; }
.chat-bubble .bubble{
  display:inline-block;
  padding:8px 12px;
  border-radius:12px;
  max-width:75%;
  background:#f1f1f1;
  color:#333;
  word-wrap:break-word;
  font-size:13px;
}
.chat-bubble .bubble strong{ font-size:13px; font-weight:600; color:#1f5d8b; font-style:italic; }
.chat-bubble .time{ font-size:10px; color:#888; margin-top:4px; display:block; }
.chat-bubble.right{ justify-content:flex-end; }
.chat-bubble.left{ justify-content:flex-start; }
.chat-bubble.right .bubble{ background:#d4f8c6; text-align:right; }
.chat-bubble.left .bubble{ background:#ebebf0; text-align:left; }

#chatToggleBtn{
  position:fixed;
  bottom:40px;
  right:20px;
  background-color:#9d0220;
  color:white;
  width:50px;
  height:50px;
  border-radius:50%;
  text-align:center;
  line-height:55px;
  font-size:24px;
  box-shadow:0 4px 8px rgba(0,0,0,.3);
  cursor:pointer;
  z-index:10000;
}
#chatToggleBtn #floatingUnread{
  position:absolute;
  top:-5px;
  right:-5px;
  background:#1f5d8b;
  color:white;
  font-size:16px;
  font-weight:bold;
  border-radius:50%;
  width:20px;
  height:20px;
  text-align:center;
  line-height:20px;
  display:none;
}
@media (max-width:768px){
  #chatToggleBtn{ bottom:110px; }
}
@keyframes chatBounceGlow{
  0%{ transform:translateY(0) scale(1); box-shadow:0 0 0px rgba(0,204,255,0); }
  25%{ transform:translateY(-4px) scale(1.08); box-shadow:0 0 10px rgba(0,204,255,.6); }
  50%{ transform:translateY(-8px) scale(1.12); box-shadow:0 0 15px rgba(0,204,255,.8); }
  75%{ transform:translateY(-4px) scale(1.08); box-shadow:0 0 10px rgba(0,204,255,.6); }
  100%{ transform:translateY(0) scale(1); box-shadow:0 0 0px rgba(0,204,255,0); }
}
.chat-alert{ animation:chatBounceGlow 1.0s ease-in-out infinite; }

#chatPopup{
  position:fixed;
  bottom:110px;
  right:20px;
  width:350px;
  max-height:500px;
  background:white;
  border:1px solid #ddd;
  border-radius:12px;
  box-shadow:0 8px 20px rgba(0,0,0,.2);
  z-index:8888;
  overflow:hidden;
}
#chatPopup .chat-head{
  background:#0d6efd;
  color:#fff;
  padding:8px 12px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:14px;
}
#chatPopup #chatTabs{
  overflow-x:auto;
  white-space:nowrap;
}
#chatMessages{
  height:300px;
  overflow-y:auto;
  padding:10px;
}
.chat-input-wrap{
  padding:10px;
  border-top:1px solid #eee;
  background:#fff;
}

/* Shared KPI card themes */
.dashboard-kpi-card,
.insights-kpi-card,
.quote-report-card{
  border:1px solid #d9e1e7;
}

.dashboard-kpi-card,
.insights-kpi-card,
.quote-report-kpi{
  border-top-width:4px;
}

.dashboard-kpi-card,
.insights-kpi-card{
  transition:transform .18s ease, box-shadow .18s ease;
}

.dashboard-kpi-card:hover,
.insights-kpi-card:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(15,23,42,.08);
}

.dashboard-kpi-card .kpi-icon,
.insights-kpi-card .kpi-icon{
  width:3rem;
  text-align:center;
}

.dashboard-kpi-card .kpi-label,
.insights-kpi-card .kpi-label,
.quote-report-kpi .quote-report-kpi-label{
  margin-bottom:.35rem;
  font-size:.92rem;
  font-weight:600;
  color:#475569;
  letter-spacing:.01em;
}

.dashboard-kpi-card .kpi-value,
.dashboard-kpi-card .number,
.insights-kpi-card .kpi-value,
.insights-kpi-card .number{
  color:#0f172a;
  font-size:1.4rem;
  font-weight:700;
}

.quote-report-kpi .value{
  font-size:1.5rem;
  font-weight:700;
  line-height:1.1;
  margin-bottom:.35rem;
}

.dashboard-kpi-card .kpi-meta,
.insights-kpi-card .kpi-meta,
.quote-report-kpi .meta{
  font-size:.82rem;
  color:#64748b;
}

.dashboard-kpi-total,
.insights-kpi-total,
.quote-report-kpi.kpi-total{
  background:linear-gradient(180deg,#eff6ff 0%,#f8fbff 100%) !important;
  border-color:#bfdbfe;
  border-top-color:#1d4ed8;
}
.dashboard-kpi-total .kpi-icon,
.dashboard-kpi-total .kpi-value,
.dashboard-kpi-total .number,
.insights-kpi-total .kpi-icon,
.insights-kpi-total .kpi-value,
.insights-kpi-total .number,
.quote-report-kpi.kpi-total .value{
  color:#1d4ed8 !important;
}

.dashboard-kpi-new,
.insights-kpi-new,
.quote-report-kpi.kpi-quote,
.quote-report-kpi.kpi-rate{
  background:linear-gradient(180deg,#f5f3ff 0%,#fbfaff 100%) !important;
  border-color:#ddd6fe;
  border-top-color:#7c3aed;
}
.dashboard-kpi-new .kpi-icon,
.dashboard-kpi-new .kpi-value,
.dashboard-kpi-new .number,
.insights-kpi-new .kpi-icon,
.insights-kpi-new .kpi-value,
.insights-kpi-new .number,
.quote-report-kpi.kpi-quote .value,
.quote-report-kpi.kpi-rate .value{
  color:#7c3aed !important;
}

.dashboard-kpi-sales,
.insights-kpi-sales,
.insights-kpi-conversion,
.quote-report-kpi.kpi-converted,
.quote-report-kpi.kpi-received{
  background:linear-gradient(180deg,#ecfdf5 0%,#f7fffa 100%) !important;
  border-color:#bbf7d0;
  border-top-color:#15803d;
}
.dashboard-kpi-sales .kpi-icon,
.dashboard-kpi-sales .kpi-value,
.dashboard-kpi-sales .number,
.insights-kpi-sales .kpi-icon,
.insights-kpi-sales .kpi-value,
.insights-kpi-sales .number,
.insights-kpi-conversion .kpi-icon,
.insights-kpi-conversion .kpi-value,
.insights-kpi-conversion .number,
.quote-report-kpi.kpi-converted .value,
.quote-report-kpi.kpi-received .value{
  color:#15803d !important;
}

.dashboard-kpi-dues,
.insights-kpi-dues,
.insights-kpi-danger,
.quote-report-kpi.kpi-due{
  background:linear-gradient(180deg,#fff1f2 0%,#fff8f8 100%) !important;
  border-color:#fda4af;
  border-top-color:#be123c;
}
.dashboard-kpi-dues .kpi-icon,
.dashboard-kpi-dues .kpi-value,
.dashboard-kpi-dues .number,
.insights-kpi-dues .kpi-icon,
.insights-kpi-dues .kpi-value,
.insights-kpi-dues .number,
.insights-kpi-danger .kpi-icon,
.insights-kpi-danger .kpi-value,
.insights-kpi-danger .number,
.quote-report-kpi.kpi-due .value{
  color:#be123c !important;
}

.dashboard-kpi-renewal-due,
.insights-kpi-warning,
.insights-kpi-collection{
  background:linear-gradient(180deg,#fffbeb 0%,#fffef7 100%) !important;
  border-color:#fde68a;
  border-top-color:#ca8a04;
}
.dashboard-kpi-renewal-due .kpi-icon,
.dashboard-kpi-renewal-due .kpi-value,
.insights-kpi-warning .kpi-icon,
.insights-kpi-warning .kpi-value,
.insights-kpi-warning .number,
.insights-kpi-collection .kpi-icon,
.insights-kpi-collection .kpi-value,
.insights-kpi-collection .number{
  color:#ca8a04 !important;
}

.dashboard-kpi-renewal-overdue,
.quote-report-kpi.kpi-gap{
  background:linear-gradient(180deg,#fff7ed 0%,#fffaf6 100%) !important;
  border-color:#fdba74;
  border-top-color:#c2410c;
}
.dashboard-kpi-renewal-overdue .kpi-icon,
.dashboard-kpi-renewal-overdue .kpi-value,
.quote-report-kpi.kpi-gap .value{
  color:#c2410c !important;
}

.dashboard-kpi-renewal-quoted,
.insights-kpi-primary,
.quote-report-kpi.kpi-invoice{
  background:linear-gradient(180deg,#eff6ff 0%,#f8fbff 100%) !important;
  border-color:#bfdbfe;
  border-top-color:#2563eb;
}
.dashboard-kpi-renewal-quoted .kpi-icon,
.dashboard-kpi-renewal-quoted .kpi-value,
.insights-kpi-primary .kpi-icon,
.insights-kpi-primary .kpi-value,
.insights-kpi-primary .number,
.quote-report-kpi.kpi-invoice .value{
  color:#2563eb !important;
}

.dashboard-kpi-forecast,
.insights-kpi-info,
.insights-kpi-collected{
  background:linear-gradient(180deg,#ecfeff 0%,#f7ffff 100%) !important;
  border-color:#a5f3fc;
  border-top-color:#0f766e;
}
.dashboard-kpi-forecast .kpi-icon,
.dashboard-kpi-forecast .kpi-value,
.insights-kpi-info .kpi-icon,
.insights-kpi-info .kpi-value,
.insights-kpi-info .number,
.insights-kpi-collected .kpi-icon,
.insights-kpi-collected .kpi-value,
.insights-kpi-collected .number{
  color:#0f766e !important;
}

.insights-kpi-muted{
  background:linear-gradient(180deg,#f8fafc 0%,#fcfdff 100%) !important;
  border-color:#cbd5e1;
  border-top-color:#64748b;
}
.insights-kpi-muted .kpi-icon,
.insights-kpi-muted .kpi-value,
.insights-kpi-muted .number{
  color:#64748b !important;
}

.insights-kpi-dark,
.insights-kpi-renewals,
.insights-kpi-default{
  background:linear-gradient(180deg,#f8fafc 0%,#fbfdff 100%) !important;
  border-color:#cbd5e1;
  border-top-color:#334155;
}
.insights-kpi-dark .kpi-icon,
.insights-kpi-dark .kpi-value,
.insights-kpi-dark .number,
.insights-kpi-renewals .kpi-icon,
.insights-kpi-renewals .kpi-value,
.insights-kpi-renewals .number,
.insights-kpi-default .kpi-icon,
.insights-kpi-default .kpi-value,
.insights-kpi-default .number{
  color:#334155 !important;
}

body.dark-mode .dashboard-kpi-card,
body.dark-mode .insights-kpi-card,
body.dark-mode .quote-report-card{
  background:#1f2430 !important;
  border-color:#3f4552 !important;
}
body.dark-mode .dashboard-kpi-card .kpi-label,
body.dark-mode .insights-kpi-card .kpi-label,
body.dark-mode .quote-report-kpi .quote-report-kpi-label{
  color:#cbd5e1;
}
body.dark-mode .dashboard-kpi-card .kpi-meta,
body.dark-mode .insights-kpi-card .kpi-meta,
body.dark-mode .quote-report-kpi .meta{
  color:#94a3b8;
}
body.dark-mode .dashboard-kpi-total,
body.dark-mode .quote-report-kpi.kpi-total{
  border-top-color:#60a5fa;
}
body.dark-mode .dashboard-kpi-new,
body.dark-mode .quote-report-kpi.kpi-quote,
body.dark-mode .quote-report-kpi.kpi-rate,
body.dark-mode .insights-kpi-new{
  border-top-color:#a78bfa;
}
body.dark-mode .dashboard-kpi-sales,
body.dark-mode .insights-kpi-sales,
body.dark-mode .insights-kpi-conversion,
body.dark-mode .quote-report-kpi.kpi-converted,
body.dark-mode .quote-report-kpi.kpi-received{
  border-top-color:#4ade80;
}
body.dark-mode .dashboard-kpi-dues,
body.dark-mode .insights-kpi-dues,
body.dark-mode .insights-kpi-danger,
body.dark-mode .quote-report-kpi.kpi-due{
  border-top-color:#fb7185;
}
body.dark-mode .dashboard-kpi-renewal-due,
body.dark-mode .insights-kpi-warning,
body.dark-mode .insights-kpi-collection{
  border-top-color:#f59e0b;
}
body.dark-mode .dashboard-kpi-renewal-overdue,
body.dark-mode .quote-report-kpi.kpi-gap{
  border-top-color:#fb923c;
}
body.dark-mode .dashboard-kpi-renewal-quoted,
body.dark-mode .insights-kpi-primary,
body.dark-mode .quote-report-kpi.kpi-invoice{
  border-top-color:#60a5fa;
}
body.dark-mode .dashboard-kpi-forecast,
body.dark-mode .insights-kpi-info,
body.dark-mode .insights-kpi-collected{
  border-top-color:#2dd4bf;
}
body.dark-mode .insights-kpi-muted{
  border-top-color:#94a3b8;
}
body.dark-mode .insights-kpi-dark,
body.dark-mode .insights-kpi-renewals,
body.dark-mode .insights-kpi-default{
  border-top-color:#cbd5e1;
}
