a, a:hover, a:active, a:focus {
  text-decoration: none !important;
  outline: none;
}

.has-search .form-control {
  padding-left: 2rem;
  width: 250px;
  border-radius: 6px;
  height: 41px;
}
.has-search .form-control-narrow {
  width: 310px;
  font-size: 13px;
}

.has-search .form-control-search {
  z-index: 2;
  display: block;
  width: 2.375rem;
  line-height: 2.5rem;
  text-align: center;
  pointer-events: none;
  color: #aaa;
}

.pagination-container p {
  margin-right: 15px;
}

.btn.btn-gradient-primary {
  border-radius: 6px !important;
}

.top-nav-search .form-control {
  border-radius: 6px !important;
}

.top-nav-search {
  background-color: white;
  border-radius: 6px !important;
}

.top-nav-search .btn {
  position: relative;
}

.toggle-button:not([aria-expanded=false]) .feather-chevron-down {
  display: none;
}
.toggle-button:not([aria-expanded=true]) .feather-chevron-up {
  display: none;
}

#modal-visible-columns input[type=checkbox] {
  height: 15px;
  width: 15px;
}

.select2-container {
  display: block;
}

.select2-selection__rendered {
  border: 1px solid #e3e3e3;
  display: block;
  width: 100%;
  border-radius: 5px;
  min-height: 40px;
  margin-bottom: 0px;
}

ul.select2-results__options {
  border: 1px solid #e3e3e3;
  border-radius: 5px;
}
ul.select2-results__options li {
  border-bottom: 1px solid #e3e3e3;
}
ul.select2-results__options li[aria-selected=true] {
  background: #f0f1f5;
}

li.select2-selection__choice {
  float: left;
  display: inline-block;
  border: 1px solid #e3e3e3;
  margin: 3px;
  padding: 3px 9px 3px 5px;
  list-style: none;
  border-radius: 5px;
}

.select2-dropdown {
  border: 0px solid #e3e3e3;
}

li.select2-search {
  list-style: none;
}

.select2-selection__choice__remove {
  display: inline-block;
  padding-right: 3px;
  padding-left: 3px;
  font-size: 20px;
}

.select2-selection__clear {
  float: right;
  display: inline-block;
  padding-right: 5px;
  font-size: 26px;
  margin: 5px;
}

/*Theme color change start*/
.btn-gradient-primary, .bg-gradient-primary, .btn-gradient-primary:hover, .bg-gradient-primary:hover {
  background: #3066b0;
}

.page-title .page-title-icon {
  -webkit-box-shadow: 0px 3px 8.3px 0.7px #3066b0;
  box-shadow: 0px 3px 8.3px 0.7px #3066b0;
}

.page-item.active .page-link {
  background: #0d6efd !important;
  border-color: #0d6efd !important;
}

.pagination > li > a, .pagination > li > span {
  color: #0d6efd !important;
}

.pagination > li.active > a, .pagination > li.active > span {
  color: white !important;
}

.right .btn-close {
  top: 28px;
}

.nav-tabs.nav-tabs-solid > li > a.active, .nav-tabs.nav-tabs-solid > li > a.active:hover, .nav-tabs.nav-tabs-solid > li > a.active:focus {
  background-color: #3066b0;
  border-color: #3066b0;
}

.nav-tabs.menu-tabs .nav-link {
  background-color: #e3e9f1;
}

.nav-tabs.menu-tabs .nav-item.active .nav-link {
  background-color: #3066b0;
}

/*Theme color change end*/
.btn-quick-add {
  padding-top: 2px !important;
  padding-bottom: 1px !important;
}

/*History timeline*/
.history-log-icon {
  position: absolute;
  top: 0;
  background: #0d6efd;
  border-radius: 50%;
  text-align: center;
  line-height: 16px;
  vertical-align: middle;
  padding: 8px;
  color: white;
}

.history-vertical-line {
  border-left: 2px solid #0d6efd;
  height: 100%;
}

.history-log-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.no-spinner {
  /* Hide the arrows in Chrome, Safari, Edge, and Opera */
  -webkit-appearance: none;
  margin: 0;
}

.no-spinner::-webkit-outer-spin-button,
.no-spinner::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide the arrows in Firefox */
.no-spinner {
  -moz-appearance: textfield;
}

.non-editable {
  background-color: #f0f0f0;
  border: 1px dashed #ccc;
  padding: 2px;
  cursor: default;
  border-radius: 6px;
}

.import-status {
  font-weight: bold;
  cursor: pointer;
}

.panel-heading.note-toolbar {
  border-bottom: 1px solid #e3e3e3;
}

.sidebar-menu ul {
  position: inherit;
}

.sidebar-menu > ul > li {
  border-bottom: 1px solid #f0f1f5 !important;
}

a.btn-quick-add:focus, a.btn-quick-add:active {
  border: 1px solid #3066b0 !important;
  box-shadow: 0px 0px 5px 3px #b8d1f3;
}

span.currency-input-content i {
  top: 38px;
  right: 10px;
  font-style: normal;
}
span.currency-input-content input {
  padding-right: 25px;
}

.modal-header i.fa, .modal-header i[class^=feather-], td i[class^=feather-] {
  color: #6C62DF;
  cursor: pointer;
}

.kanban-action {
  background: #f95e51 !important;
  line-height: 0;
  color: #f0f1f5;
}

.deals-view-type {
  padding: 3px;
  background: #e3e3e3;
}

.deals-view-type .btn-view-change.btn-outline-secondary {
  background: transparent;
  color: #000000;
  border: none;
  border-radius: 3px;
}

.deals-view-type .btn-view-change.btn-outline-secondary:hover, .deals-view-type .btn-view-change.btn-outline-secondary:focus {
  color: #3066b0;
  box-shadow: 0 0 0 #000000;
}

.deals-view-type .btn-view-change.btn-outline-secondary.active {
  background: #f7f7f7;
  color: #3066b0;
  border-radius: 3px;
}

.page-header .list-count {
  background: #e3e3e3;
  padding: 3px 7px;
  border-radius: 5px;
}

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

.kanban-views .panel-body {
  max-height: none !important;
}

#sortableKanbanBoards .panel-heading h4,
#sortableKanbanBoards .panel-heading h4:after {
  background: #f0f1f5;
  content: "";
}

#sortableKanbanBoards .panel.panel-primary .panel-heading h4:first-child {
  padding: 10px 40px 0 40px;
  border-radius: 2px 0 0 2px;
  font-size: 1rem;
}

#sortableKanbanBoards .panel.panel-primary .panel-heading h4:first-child p.text-sm {
  font-size: 12px !important;
}

#sortableKanbanBoards .panel.panel-primary:first-child .panel-heading h4:first-child {
  padding: 10px 45px 0 10px;
  border-radius: 2px 0 0 2px;
}

#sortableKanbanBoards {
  background: #ffffff;
}

.kanban-centered {
  padding: 0 8px;
}

.kanban-centered .kanban-entry {
  margin: 10px 0;
}

.btn-outline-secondary.load-more {
  border-color: #3066b0;
  color: #3066b0;
}

.btn-outline-secondary.load-more:hover {
  color: #ffffff;
  background: #3066b0;
}

.kanban-centered .kanban-entry .kanban-entry-inner .kanban-label h2 {
  font-size: 14px;
  margin-bottom: 10px;
}

#sortableKanbanBoards .panel-heading h4 {
  width: -webkit-fill-available;
  text-decoration: none;
  outline: none;
  display: block;
  float: left;
  font-size: 14px;
  font-weight: bold;
  color: #1f1f1f;
  width: 100%;
  min-width: 100%;
  position: relative;
}

#sortableKanbanBoards .panel-heading h4:after {
  content: "";
  position: absolute;
  top: 3px;
  right: -24px;
  width: 50px;
  height: 50px;
  -webkit-transform: scale(0.707) rotate(45deg);
  -ms-transform: scale(0.707) rotate(45deg);
  -moz-transform: scale(0.707) rotate(45deg);
  transform: scale(0.707) rotate(45deg);
  z-index: 1;
  /* background: #666; */
  /* background: linear-gradient(135deg, #666, #333); */
  -webkit-box-shadow: 3px -3px 0 3px rgb(255, 255, 255), 5px -5px 0 4px rgba(255, 255, 255, 0.1);
  box-shadow: 3px -3px 0 3px rgb(255, 255, 255), 5px -5px 0 4px rgba(255, 255, 255, 0.1);
  border-radius: 0 5px 0 50px;
}

#sortableKanbanBoards .panel {
  background: #f0f1f5;
  border: 2px solid #ffffff;
}

#sortableKanbanBoards .btn-show-item.deal-name {
  color: #000000;
}

#sortableKanbanBoards .panel:last-child .panel-heading h4:after {
  width: 0;
  height: 0;
}

#sortableKanbanBoards .kanban-centered {
  height: 100%;
}

#sortableKanbanBoards .panel-body {
  height: 100%;
}

.sortable i {
  font-size: 1rem;
}

.select2-container {
  height: 45px;
}

#exportModal .select2-container {
  height: auto;
  z-index: 99999;
}

.select2-container .select2-search__field {
  background-color: white;
  color: black;
  min-height: 36px;
  padding-bottom: 8px;
}

.select2-container .select2-search__field:focus {
  background-color: white;
  color: black;
}

.select2-container .select2-selection__rendered::after {
  display: block;
  position: absolute;
  right: 16px;
  top: 8px;
  width: 8px;
  height: 8px;
  pointer-events: none;
  font-family: "FontAwesome";
  content: "\f078";
  font-size: 14px;
  color: #6c757d;
  z-index: 1;
}

.modal .select2-container .select2-selection__rendered::after {
  content: "";
}

.select2-container .select2-selection__clear {
  position: relative;
  z-index: 2;
  background: #fff;
}

.select2-container .select2-selection__rendered {
  background-color: white;
  min-height: 44px;
}

.select2-container .select2-selection__choice {
  padding: 1px;
}

#editDueDateModal .modal-body {
  overflow-y: visible;
}

#filter-stage-column .select2-search__field {
  padding-left: 0.75rem;
}

.product-container .container-header {
  background: #e9ecef;
  padding: 5px 0;
  margin: 0;
}

.product-container .container-bottom {
  margin: 0;
  padding: 0;
}

.product-container .container-header .product-name {
  border-width: 0;
}

.invoices-page-header .invoices-breadcrumb-item i,
.invoices-create-btn .save-invoice-btn, #order-form .btn-primary {
  background: #3066b0;
  border: 1px solid #3066b0;
}

.invoices-create-btn .invoices-preview-link,
.invoice-inner-head span a,
.invoice-item .customer-text a,
.invoice-add-table h4,
.invoice-total-box .add-links1,
.add-links-one,
.invoice-total-footer,
.invoice-total-footer h4,
.invoices-page-header .invoices-breadcrumb-item a,
.invoice-inner-footer .form-control,
.invoice-total-card a {
  color: #3066b0;
}

#order-form .select2-container .select2-selection__rendered:after {
  content: "";
}

.truncate-text {
  max-width: 250px; /* Adjust as needed */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
}

#list-table a, #list-table .task-done-check {
  cursor: pointer;
}

.signee-left-section {
  border-right: 1px solid #3066b0;
  padding-right: 20px;
  text-align: center;
}

.signee-type-selection {
  background: none;
  border: 1px solid #b8d1f3;
  color: #000000;
}
.signee-type-selection:focus, .signee-type-selection:hover, .signee-type-selection.active {
  background: none;
  border: 1px solid #3066b0;
  color: #000000;
  box-shadow: 0px 0px 4px #3066b0;
}

.your-info .user-details-container {
  background-color: white;
  padding: 12px 20px;
  border-bottom: 1px solid #f0f1f5;
  border-left: 3px solid #3066b0;
  position: relative;
  border-radius: 3px;
}
.your-info .user-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.your-info .initial-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #3066b0;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}
.your-info .user-info h5 {
  font-size: 16px;
  margin-bottom: 0;
}
.your-info .user-info p {
  font-size: 14px;
  margin-bottom: 0;
}
.your-info .badge {
  font-size: 10px;
  padding: 3px 6px;
  margin-left: 8px;
}

.max-w-full {
  max-width: 100%;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

#pdf-editor-app .btn {
  color: #000 !important;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

@media (max-height: 610px) {
  .sidebar-menu > ul > li.system-menu {
    position: relative !important;
  }
}
.account-box .account-recovery-btn {
  background: #3066b0;
  border: 0;
  border-radius: 4px;
  display: block;
  font-size: 18px;
  padding: 10px 26px;
}

.contract-signee-page .stepper, .document-edit .stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 700px;
  margin: 40px auto;
}

.contract-signee-page .step, .document-edit .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}

.contract-signee-page .step:not(:last-child)::after, .document-edit .step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  right: -55%;
  width: 100%;
  height: 4px;
  background-color: rgba(48, 102, 176, 0.3);
  z-index: 0;
}

.contract-signee-page .step:last-child::after, .document-edit .step:last-child::after {
  background-color: rgba(48, 102, 176, 0.3);
}

.contract-signee-page .step.completed:not(:last-child)::after, .document-edit .step.completed:not(:last-child)::after {
  background-color: #3066b0;
}

.contract-signee-page .step.active:not(:last-child)::after, .document-edit .step.active:not(:last-child)::after {
  background-color: rgba(48, 102, 176, 0.3);
}

.contract-signee-page .circle, .document-edit .circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #3066b0;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.contract-signee-page .step.active .circle, .document-edit .step.active .circle {
  background-color: white;
  border: 2px solid #3066b0;
  color: #3066b0;
  font-weight: bold;
}

.contract-signee-page .step.upcoming .circle, .document-edit .step.upcoming .circle {
  background-color: white;
  border: 2px solid #ccc;
  color: #ccc;
}

.contract-signee-page .label, .document-edit .label {
  margin-top: 8px;
  font-size: 14px;
  color: #000000;
}

.contract-signee-page .step.active .label, .document-edit .step.active .label {
  color: #3066b0;
  font-weight: 600;
}

.contract-signee-page .step.upcoming .label, .document-edit .step.upcoming .label {
  color: #999;
}

.badge {
  border-radius: 6px;
  display: inline-block;
  font-size: 14px;
  min-width: 105px;
  padding: 8px 20px;
  font-weight: 500;
  text-align: center;
}

#loadingOverlay {
  pointer-events: all;
  cursor: wait;
}

.helpdesk-form .invoice-details-box {
  margin-top: 22px;
}
.helpdesk-form .invoice-details-box .invoice-inner-date {
  padding: 11px 15px;
}
.helpdesk-form .btn-contact-group * {
  background: none !important;
  height: 100%;
  max-height: 40px;
}

.pop-content, .pop-mail-content {
  display: none;
  position: absolute;
  max-width: 600px;
  width: 100%;
  min-width: 400px;
  max-height: 500px;
  min-height: 250px;
  overflow: auto;
  background: #ffffff; /* Darker, neutral background */
  border: 1px solid #ccc;
  color: #000000;
  padding: 12px 16px;
  border-radius: 6px;
  text-align: left;
  z-index: 2000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  line-height: 1.5;
  font-size: 14px;
  transition: opacity 0.2s ease, transform 0.2s ease; /* Smooth transition */
  opacity: 0;
  transform: translateY(10px); /* Slight offset for animation */
  pointer-events: none; /* Prevent tooltip from blocking interactions */
}

.pop-content.visible, .pop-mail-content.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto; /* Allow interactions with the tooltip */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pop-content, .pop-mail-content {
    max-width: 400px;
    font-size: 12px;
  }
}