body.custom-color {
    background: linear-gradient(141.55deg, rgba(240, 244, 243, 0) 3.46%, #f0f4f3 99.86%);
}
body.custom-color .bg-primary {
    background: linear-gradient(141.55deg, var(--color-customColor) 3.46%, var(--color-customColor) 99.86%), var(--color-customColor) !important;
}

body.custom-color .dash-header .drp-language .drp-text,
  body.custom-color .dash-header .dash-head-link > i:not(.nocolor) {
    color: var(--color-customColor);
}

body.custom-color .dash-header .drp-company .theme-avtar {
    background: #e9d5e7;
    color: var(--color-customColor);
}

body.custom-color .dash-sidebar.light-sidebar .dash-navbar > .dash-item.active > .dash-link, body.custom-color .dash-sidebar.light-sidebar .dash-navbar > .dash-item:active > .dash-link, body.custom-color .dash-sidebar.light-sidebar .dash-navbar > .dash-item:focus > .dash-link, body.custom-color .dash-sidebar.light-sidebar .dash-navbar > .dash-item:hover > .dash-link,
  body.custom-color .dash-sidebar .dash-navbar > .dash-item.active > .dash-link,
  body.custom-color .dash-sidebar .dash-navbar > .dash-item:active > .dash-link,
  body.custom-color .dash-sidebar .dash-navbar > .dash-item:focus > .dash-link,
  body.custom-color .dash-sidebar .dash-navbar > .dash-item:hover > .dash-link {
    background: linear-gradient(141.55deg, var(--color-customColor) 3.46%, var(--color-customColor) 99.86%), var(--color-customColor);;
    color: #fff;
    box-shadow: 0 5px 7px -1px rgba(146, 44, 136, 0.3);
}

body.custom-color .dash-sidebar.light-sidebar .dash-navbar > .dash-item.active > .dash-link i, body.custom-color .dash-sidebar.light-sidebar .dash-navbar > .dash-item:active > .dash-link i, body.custom-color .dash-sidebar.light-sidebar .dash-navbar > .dash-item:focus > .dash-link i, body.custom-color .dash-sidebar.light-sidebar .dash-navbar > .dash-item:hover > .dash-link i,
    body.custom-color .dash-sidebar .dash-navbar > .dash-item.active > .dash-link i,
    body.custom-color .dash-sidebar .dash-navbar > .dash-item:active > .dash-link i,
    body.custom-color .dash-sidebar .dash-navbar > .dash-item:focus > .dash-link i,
    body.custom-color .dash-sidebar .dash-navbar > .dash-item:hover > .dash-link i {
    color: var(--color-customColor);;
}

body.custom-color .dash-sidebar.light-sidebar .dash-item .dash-submenu .dash-item::before,
  body.custom-color .dash-sidebar .dash-item .dash-submenu .dash-item::before {
    border-right-color: var(--color-customColor);
}

body.custom-color .dash-sidebar.light-sidebar .dash-item .dash-submenu .dash-item.active > .dash-link, body.custom-color .dash-sidebar.light-sidebar .dash-item .dash-submenu .dash-item:active > .dash-link, body.custom-color .dash-sidebar.light-sidebar .dash-item .dash-submenu .dash-item:focus > .dash-link, body.custom-color .dash-sidebar.light-sidebar .dash-item .dash-submenu .dash-item:hover > .dash-link,
  body.custom-color .dash-sidebar .dash-item .dash-submenu .dash-item.active > .dash-link,
  body.custom-color .dash-sidebar .dash-item .dash-submenu .dash-item:active > .dash-link,
  body.custom-color .dash-sidebar .dash-item .dash-submenu .dash-item:focus > .dash-link,
  body.custom-color .dash-sidebar .dash-item .dash-submenu .dash-item:hover > .dash-link {
    color: var(--color-customColor);
}

body.custom-color a:not([class]) {
    color: var(--color-customColor);
}

body.custom-color a:not([class]):hover {
    color: var(--color-customColor);
}

body.custom-color .text-primary {
    color: var(--color-customColor) !important;
}

body.custom-color .list-group-item.active {
    background: linear-gradient(141.55deg, var(--color-customColor) 3.46%, var(--color-customColor) 99.86%), var(--color-customColor) !important;
}

body.custom-color .progress-bar:not([class*="bg-"]),
  body.custom-color .btn-primary {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: var(--color-customColor);
    --bs-btn-border-color: var(--color-customColor);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--color-customColor);
    --bs-btn-hover-border-color: var(--color-customColor);
    --bs-btn-focus-shadow-rgb: 162, 76, 154;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: var(--color-customColor);
    --bs-btn-active-border-color: var(--color-customColor);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #ffffff;
    --bs-btn-disabled-bg: var(--color-customColor);;
    --bs-btn-disabled-border-color: var(--color-customColor);
}

body.custom-color .btn-outline-primary {
    --bs-btn-color: var(--color-customColor);
    --bs-btn-border-color: var(--color-customColor);
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--color-customColor);
    --bs-btn-hover-border-color: var(--color-customColor);
    --bs-btn-focus-shadow-rgb: 146, 44, 136;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: var(--color-customColor);
    --bs-btn-active-border-color: var(--color-customColor);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--color-customColor);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--color-customColor);
    --bs-gradient: none;
}

body.custom-color .btn-light-primary {
    background: #e9d5e7;
    color: var(--color-customColor);
    border-color: #e9d5e7;
}

body.custom-color .btn-light-primary:hover {
    background: var(--color-customColor);
    color: #fff;
    border-color: var(--color-customColor);
}

body.custom-color .btn-light-primary.focus, body.custom-color .btn-light-primary:focus {
    background: var(--color-customColor);
    color: #fff;
    border-color: var(--color-customColor);
}

body.custom-color .btn-light-primary:not(:disabled):not(.disabled).active, body.custom-color .btn-light-primary:not(:disabled):not(.disabled):active,
    .show > body.custom-color .btn-light-primary.dropdown-toggle {
    background: var(--color-customColor);
    color: #fff;
    border-color: var(--color-customColor);
}

body.custom-color .btn-check:active + .btn-light-primary,
  body.custom-color .btn-check:checked + .btn-light-primary {
    background: var(--color-customColor);
    color: #fff;
    border-color: var(--color-customColor);
}

body.custom-color .alert-primary {
    --bs-alert-color: var(--color-customColor);
    --bs-alert-bg: #e9d5e7;
    --bs-alert-border-color: #dec0db;
}

body.custom-color .alert-primary .alert-link {
    color: #461542;
}

body.custom-color .badge.bg-light-primary {
    background: #e9d5e7;
    color: var(--color-customColor);
    border-color: #e9d5e7;
}

body.custom-color .page-item.active .page-link {
    background: var(--color-customColor);
    border-color: var(--color-customColor);
}

body.custom-color .nav-link {
    color: var(--color-customColor);
}

body.custom-color .nav-link:hover, body.custom-color .nav-link:focus {
    color: var(--color-customColor);
}

body.custom-color .nav-tabs .nav-link {
    background: none;
}

body.custom-color .nav-pills .nav-link {
    background: none;
}

body.custom-color .nav-pills .nav-link:focus,
  body.custom-color .nav-pills .nav-link.active,
  body.custom-color .nav-pills .show > .nav-link {
    color: #ffffff;
    background: linear-gradient(141.55deg, var(--color-customColor) 3.46%, var(--color-customColor) 99.86%), var(--color-customColor);
}

body.custom-color .form-check-input:focus,
  body.custom-color .form-select:focus,
  body.custom-color .form-control:focus,
  body.custom-color .custom-select:focus,
  body.custom-color .dataTable-selector:focus,
  body.custom-color .dataTable-input:focus {
    border-color: var(--color-customColor);
    box-shadow: 0 0 0 0.2rem var(--color-customColor);
}

body.custom-color .form-check-input:checked {
    background-color: var(--color-customColor);
    border-color: var(--color-customColor);
}

body.custom-color .form-range::-webkit-slider-thumb {
    background: var(--color-customColor);
}

body.custom-color .form-range::-webkit-slider-thumb:active {
    background: var(--color-customColor);
}

body.custom-color .form-range::-moz-range-thumb {
    background: var(--color-customColor);
}

body.custom-color .form-range::-moz-range-thumb:active {
    background: var(--color-customColor);
}

body.custom-color .form-check-input:checked {
    background-color: var(--color-customColor);
    border-color: var(--color-customColor);
}

body.custom-color .form-check-input[type="checkbox"]:indeterminate {
    background-color: var(--color-customColor);
    border-color: var(--color-customColor);
}

body.custom-color .form-check .form-check-input.input-primary:checked {
    background-color: var(--color-customColor);
    border-color: var(--color-customColor);
}

body.custom-color pre[class*="language-"] > code {
    border-left-color: var(--color-customColor);
    background-image: linear-gradient(transparent 50%, rgba(146, 44, 136, 0.04) 50%);
}

body.custom-color .card .card-header h5:after, body.custom-color .card .card-header .h5:after,
  body.custom-color .card .card-header .h5:after {
    background: var(--color-customColor);
}

/* Additional comprehensive color application for all aspects */
body.custom-color .border-primary,
body.custom-color .border-top-primary,
body.custom-color .border-bottom-primary,
body.custom-color .border-start-primary,
body.custom-color .border-end-primary {
    border-color: var(--color-customColor) !important;
}

body.custom-color .bg-primary,
body.custom-color .bg-light-primary {
    background-color: var(--color-customColor) !important;
}

body.custom-color .text-primary,
body.custom-color .text-primary-hover:hover {
    color: var(--color-customColor) !important;
}

/* Service pages - cards, badges, and corners */
body.custom-color .card-header,
body.custom-color .card-footer {
    border-color: rgba(var(--color-customColor-rgb), 0.1) !important;
}

body.custom-color .badge-primary,
body.custom-color .badge.bg-primary {
    background-color: var(--color-customColor) !important;
    color: #fff !important;
}

body.custom-color .table-primary,
body.custom-color .table-primary > th,
body.custom-color .table-primary > td {
    background-color: rgba(var(--color-customColor-rgb), 0.1) !important;
    border-color: rgba(var(--color-customColor-rgb), 0.2) !important;
}

body.custom-color .table-primary th,
body.custom-color .table-primary td {
    border-color: rgba(var(--color-customColor-rgb), 0.2) !important;
}

/* Icons and avatars */
body.custom-color .avtar.bg-light-primary,
body.custom-color .avatar.bg-light-primary {
    background-color: rgba(var(--color-customColor-rgb), 0.1) !important;
    color: var(--color-customColor) !important;
}

body.custom-color .avtar.bg-primary,
body.custom-color .avatar.bg-primary {
    background-color: var(--color-customColor) !important;
    color: #fff !important;
}

body.custom-color i.text-primary,
body.custom-color .ti.text-primary,
body.custom-color .feather.text-primary {
    color: var(--color-customColor) !important;
}

/* Links and hover states */
body.custom-color a.text-primary,
body.custom-color a.text-primary:hover,
body.custom-color a.text-primary:focus {
    color: var(--color-customColor) !important;
}

body.custom-color a:hover {
    color: var(--color-customColor);
}

/* Progress bars */
body.custom-color .progress-bar.bg-primary {
    background-color: var(--color-customColor) !important;
}

body.custom-color .progress {
    background-color: rgba(var(--color-customColor-rgb), 0.1) !important;
}

/* Dropdowns and menus */
body.custom-color .dropdown-item.active,
body.custom-color .dropdown-item:active {
    background-color: var(--color-customColor) !important;
    color: #fff !important;
}

body.custom-color .dropdown-item:hover,
body.custom-color .dropdown-item:focus {
    background-color: rgba(var(--color-customColor-rgb), 0.1) !important;
    color: var(--color-customColor) !important;
}

/* Breadcrumbs */
body.custom-color .breadcrumb-item.active {
    color: var(--color-customColor);
}

body.custom-color .breadcrumb-item a {
    color: var(--color-customColor);
}

/* Tabs */
body.custom-color .nav-tabs .nav-link.active,
body.custom-color .nav-tabs .nav-item.show .nav-link {
    color: var(--color-customColor) !important;
    border-color: var(--color-customColor) var(--color-customColor) #fff !important;
}

body.custom-color .nav-tabs .nav-link:hover,
body.custom-color .nav-tabs .nav-link:focus {
    border-color: rgba(var(--color-customColor-rgb), 0.2) rgba(var(--color-customColor-rgb), 0.2) transparent !important;
    color: var(--color-customColor) !important;
}

/* Pagination */
body.custom-color .pagination .page-item.active .page-link {
    background-color: var(--color-customColor) !important;
    border-color: var(--color-customColor) !important;
    color: #fff !important;
}

body.custom-color .pagination .page-link {
    color: var(--color-customColor);
}

body.custom-color .pagination .page-link:hover {
    color: var(--color-customColor);
    background-color: rgba(var(--color-customColor-rgb), 0.1);
    border-color: rgba(var(--color-customColor-rgb), 0.2);
}

/* Service pages specific - corners and borders */
body.custom-color .card {
    border-color: rgba(var(--color-customColor-rgb), 0.1) !important;
}

body.custom-color .card-header {
    border-bottom-color: rgba(var(--color-customColor-rgb), 0.1) !important;
}

body.custom-color .card-footer {
    border-top-color: rgba(var(--color-customColor-rgb), 0.1) !important;
}

/* Rounded corners with theme color */
body.custom-color .rounded,
body.custom-color .rounded-top,
body.custom-color .rounded-bottom,
body.custom-color .rounded-start,
body.custom-color .rounded-end {
    border-color: rgba(var(--color-customColor-rgb), 0.1) !important;
}

/* Action buttons in service pages */
body.custom-color .action-btn,
body.custom-color .btn-action {
    background-color: var(--color-customColor) !important;
    border-color: var(--color-customColor) !important;
    color: #fff !important;
}

body.custom-color .action-btn:hover,
body.custom-color .btn-action:hover {
    background-color: var(--color-customColor) !important;
    border-color: var(--color-customColor) !important;
    opacity: 0.9;
}

/* Status badges and labels */
body.custom-color .badge.bg-primary,
body.custom-color .badge.badge-primary {
    background-color: var(--color-customColor) !important;
}

body.custom-color .label-primary {
    background-color: var(--color-customColor) !important;
    color: #fff !important;
}

/* DataTables in service pages */
body.custom-color .dataTable-pagination .dataTable-pagination-list li.active a,
body.custom-color .dataTable-pagination .dataTable-pagination-list li a:hover {
    background-color: var(--color-customColor) !important;
    border-color: var(--color-customColor) !important;
    color: #fff !important;
}

/* Form elements focus states */
body.custom-color .form-control:focus,
body.custom-color .form-select:focus,
body.custom-color select:focus,
body.custom-color textarea:focus {
    border-color: var(--color-customColor) !important;
    box-shadow: 0 0 0 0.2rem rgba(var(--color-customColor-rgb), 0.25) !important;
}

/* Service module specific elements */
body.custom-color [class*="schools-"],
body.custom-color [class*="tourism-"],
body.custom-color [class*="goldmines-"],
body.custom-color [class*="gemstones-"],
body.custom-color [class*="agricultural-"],
body.custom-color [class*="realestate-"],
body.custom-color [class*="investments-"] {
    --service-theme-color: var(--color-customColor);
}

body.custom-color [class*="schools-"] .btn-primary,
body.custom-color [class*="tourism-"] .btn-primary,
body.custom-color [class*="goldmines-"] .btn-primary,
body.custom-color [class*="gemstones-"] .btn-primary,
body.custom-color [class*="agricultural-"] .btn-primary,
body.custom-color [class*="realestate-"] .btn-primary,
body.custom-color [class*="investments-"] .btn-primary {
    background-color: var(--color-customColor) !important;
    border-color: var(--color-customColor) !important;
}

/* All corners and edges */
body.custom-color * {
    --primary-color: var(--color-customColor);
}

/* Ensure theme color variable is set */
body.custom-color {
    --theme-color: var(--color-customColor) !important;
}

/* Logout button hover effect for custom color theme */
body.custom-color .logout-section .logout-btn:hover {
    background: linear-gradient(141.55deg, var(--color-customColor) 3.46%, var(--color-customColor) 99.86%), var(--color-customColor) !important;
    color: #fff !important;
    box-shadow: 0 5px 7px -1px rgba(var(--color-customColor-rgb), 0.3) !important;
}

body.custom-color .logout-section .logout-btn:hover .dash-micon i,
body.custom-color .logout-section .logout-btn:hover .dash-micon svg {
    color: #fff !important;
}

body.custom-color .dash-sidebar.light-sidebar .logout-section .logout-btn:hover {
    box-shadow: -6px 11px 19px rgba(0, 0, 0, 0.04) !important;
    background: linear-gradient(141.55deg, var(--color-customColor) 3.46%, var(--color-customColor) 99.86%), var(--color-customColor) !important;
    color: #fff !important;
}

body.custom-color .dash-sidebar.light-sidebar .logout-section .logout-btn:hover .dash-micon i,
body.custom-color .dash-sidebar.light-sidebar .logout-section .logout-btn:hover .dash-micon svg {
    color: #fff !important;
}