:root {
  --bs-primary: #3b82f6 !important;
  --bs-primary-rgb: 59, 130, 246 !important;
  --primary-color: #3b82f6;
  --primary-hover: #2563eb;
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
}

/* Force override for all primary colored elements */
.text-primary,
.bg-label-primary,
.btn-primary,
.btn-outline-primary,
.nav-pills .nav-link.active,
.list-group-item.active,
.page-item.active .page-link {
  --bs-primary: #3b82f6 !important;
  border-color: #3b82f6 !important;
}

.bg-primary,
.btn-primary {
  background-color: #3b82f6 !important;
}

.bg-label-primary {
  background-color: #eff6ff !important;
  color: #3b82f6 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #2563eb !important;
  border-color: #2563eb !important;
}

/* Template Customizer Settings Gear */
.template-customizer-open-btn {
  background: #3b82f6 !important;
}

.template-customizer-t-panel_header,
.template-customizer-t-theming_header,
.template-customizer-t-layout_header {
  color: #3b82f6 !important;
}

/* Form focus states */
.form-control:focus,
.form-select:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25) !important;
}

/* Menu Active States */
.menu-vertical .menu-item.active>.menu-link:not(.menu-toggle) {
  background: linear-gradient(72.47deg, #3b82f6 22.16%, rgba(59, 130, 246, 0.7) 76.47%) !important;
  box-shadow: 0px 2px 6px 0px rgba(59, 130, 246, 0.48) !important;
}

.app-brand-link svg path.cls-1 {
  fill: #3b82f6 !important;
}

.auth-cover-bg-color {
  background-color: #f1f5f9 !important;
}

.authentication-bg {
  background-color: var(--bg-color) !important;
}

h4,
.h4 {
  color: var(--text-main) !important;
  font-weight: 700 !important;
}

p {
  color: var(--text-muted) !important;
}

/* Scrollbars */
.ps__thumb-y {
  background-color: #3b82f6 !important;
}

/* Parsley Form Validation Styling */
.parsley-errors-list {
  list-style-type: none;
  margin: 5px 0 0 0;
  padding: 0;
}

.parsley-errors-list li {
  color: #ea5455 !important;
  font-size: 0.8125rem;
  font-weight: 500;
  display: block;
}

.form-control.parsley-error,
.form-select.parsley-error {
  border-color: #ea5455 !important;
}

/* Tagify Custom Blue Styling */
.tagify {
  --tags-hover-border-color: #3b82f6 !important;
  --tags-focus-border-color: #3b82f6 !important;
  border-radius: 0.375rem !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.tagify--focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25) !important;
}

.tagify__tag {
  --tag-bg: #eff6ff !important;
  --tag-hover: #dbeafe !important;
  --tag-text-color: #3b82f6 !important;
  --tag-remove-bg: #dbeafe !important;
  --tag-remove-btn-color: #3b82f6 !important;
  --tag-remove-btn-bg--hover: #3b82f6 !important;
}

.tagify__tag > div::before {
  box-shadow: 0 0 0 1.1em #eff6ff inset !important;
}

.tagify__tag:hover > div::before {
  box-shadow: 0 0 0 1.1em #dbeafe inset !important;
}

.tagify__tag__removeBtn {
  color: #3b82f6 !important;
}

.tagify__tag__removeBtn:hover {
  background: #3b82f6 !important;
  color: #ffffff !important;
}

/* Combo Product Custom Styles */
.combo-option-item:hover {
  background-color: #f8f9fa;
}
.combo-option-item {
  transition: background-color 0.15s ease-in-out;
}
.cursor-pointer {
  cursor: pointer;
}
#combo_dropdown_menu {
  left: 0;
  right: 0;
}
.fs-8 {
  font-size: 0.75rem;
}