/**
 * SME Kitchen Equipments brand theme
 * Primary color sampled from logo: #E3252A
 */
:root,
[data-bs-theme=light] {
    --bs-blue: #e3252a;
    --bs-primary: #e3252a;
    --bs-primary-rgb: 227, 37, 42;
    --bs-breadcrumb-divider: "/";
    --bs-primary-text-emphasis: #5a1315;
    --bs-primary-bg-subtle: #f9d4d5;
    --bs-primary-border-subtle: #f3a9ab;
    --bs-link-color: #e3252a;
    --bs-link-hover-color: #b81e22;
    --bs-link-color-rgb: 227, 37, 42;
    --bs-link-hover-color-rgb: 184, 30, 34;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: var(--bs-breadcrumb-divider, "/") !important;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    float: none !important;
}

.breadcrumb-style1 .breadcrumb-item + .breadcrumb-item::before {
    font-family: boxicons !important;
    font-size: 1.3rem !important;
    line-height: 1.2 !important;
    content: "\ea50" !important;
}

.btn-primary,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    --bs-btn-color: #fff;
    --bs-btn-bg: #e3252a;
    --bs-btn-border-color: #e3252a;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #c42024;
    --bs-btn-hover-border-color: #b81e22;
    --bs-btn-focus-shadow-rgb: 227, 37, 42;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #b81e22;
    --bs-btn-active-border-color: #9d1a1d;
    --bs-btn-disabled-bg: #e3252a;
    --bs-btn-disabled-border-color: #e3252a;
    color: #fff !important;
    background-color: #e3252a !important;
    border-color: #e3252a !important;
}

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

.btn-outline-primary {
    --bs-btn-color: #e3252a;
    --bs-btn-border-color: #e3252a;
    --bs-btn-hover-bg: #e3252a;
    --bs-btn-hover-border-color: #e3252a;
    --bs-btn-active-bg: #e3252a;
    --bs-btn-active-border-color: #e3252a;
    --bs-btn-disabled-color: #e3252a;
    color: #e3252a !important;
    border-color: #e3252a !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
    color: #fff !important;
    background-color: #e3252a !important;
    border-color: #e3252a !important;
}

/* Soft / label primary (DataTables Export, etc.) — brand red tint */
.btn-label-primary {
    color: #e3252a !important;
    background-color: rgba(227, 37, 42, 0.16) !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.btn-label-primary:hover,
.btn-label-primary:focus,
.btn-label-primary:active,
.btn-label-primary.active,
.show > .btn-label-primary.dropdown-toggle {
    color: #fff !important;
    background-color: #e3252a !important;
    border-color: #e3252a !important;
}

/* DataTables Buttons often wrap as .dt-button */
div.dt-buttons .btn-primary,
div.dt-buttons .dt-button.btn-primary {
    color: #fff !important;
    background-color: #e3252a !important;
    border-color: #e3252a !important;
}

div.dt-buttons .btn-label-primary,
div.dt-buttons .dt-button.btn-label-primary {
    color: #e3252a !important;
    background-color: rgba(227, 37, 42, 0.16) !important;
    border-color: transparent !important;
}

div.dt-buttons .btn-label-primary:hover,
div.dt-buttons .btn-label-primary:focus,
div.dt-buttons .dt-button.btn-label-primary:hover {
    color: #fff !important;
    background-color: #e3252a !important;
}

.text-primary {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;
}

.bg-label-primary {
    background-color: #e3252a29 !important;
    color: #e3252a !important;
}

.border-primary {
    --bs-border-opacity: 1;
    border-color: rgba(var(--bs-primary-rgb), var(--bs-border-opacity)) !important;
}

a {
    --bs-link-color-rgb: var(--bs-primary-rgb);
}

a:hover {
    --bs-link-hover-color-rgb: 184, 30, 34;
}

.form-check-input:checked,
.form-check-input[type=checkbox]:indeterminate {
    background-color: #e3252a;
    border-color: #e3252a;
}

.form-control:focus,
.form-select:focus {
    border-color: #f08a8d;
    box-shadow: 0 0 0 0.25rem rgba(227, 37, 42, 0.25);
}

.page-item.active .page-link,
.pagination li.active > a {
    background-color: #e3252a !important;
    border-color: #e3252a !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #e3252a;
}

.progress-bar {
    background-color: #e3252a;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #e3252a;
}

.bg-menu-theme .menu-item.active > .menu-link,
.bg-menu-theme .menu-item.active > .menu-link:hover {
    color: #fff !important;
    background-color: #e3252a !important;
}

.bg-menu-theme .menu-item:not(.active) > .menu-link:hover,
.bg-menu-theme .menu-inner .menu-item.open > .menu-link.menu-toggle {
    color: #e3252a;
}

.menu-vertical .menu-item .menu-link:hover {
    color: #e3252a;
}

.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal) .layout-page:before {
    background: linear-gradient(90deg, #e3252a 0%, #c42024 100%) !important;
}

.authentication-wrapper .card .btn-primary {
    box-shadow: 0 0.125rem 0.375rem rgba(227, 37, 42, 0.35);
}

.badge.bg-primary {
    background-color: #e3252a !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #e3252a;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #e3252a;
    border-color: #e3252a;
}
