#global-loader {
  position: fixed;
  z-index: 50000;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(45deg, #3498db, #e74c3c, #2ecc71);
  background-size: 200% 200%;
  animation: gradient-shift 5s ease infinite;
}
.count-down .countdown {
  border-radius: 5px;
}
.countdown span:first-child {
  font-size: 30px;
}

button.ibtn {
	inset-block-start: 2px !important;
	inset-inline-end: 10px !important;
}

.wpx-100 {
	width: 100px;
}
.hw-10 {
	height: 10px;
	width: 10px;
}

[data-menu-styles="light"][data-nav-layout="vertical"] 
.app-sidebar .main-sidebar-header .header-logo img {
  max-height: 44px;
	width: auto;
}
[data-menu-styles="dark"][data-nav-layout="vertical"] 
.app-sidebar .main-sidebar-header .header-logo img {
  max-height: 44px;
	width: auto;
}

.main-header-container .header-element.notifications_header_btn {
	display: none;
}

.card.custom-card .card-header .card-title,
.mrdcrm-work-section .card.custom-card .card-header .card-title {
	text-transform: none !important;
}


/* CUSTOM STYLE */
	html {
		--primary-rgb: 126, 24, 15 !important;
		--secondary-rgb: 94, 123, 91 !important;
		--success-rgb: 82, 118, 82 !important;
		--info-rgb: 143, 63, 45 !important;
		--warning-rgb: 181, 135, 73 !important;
		--body-bg-rgb: 246, 244, 239 !important;
		--default-background: #f7f4ee !important;
		--default-border: #eadfd3 !important;
		--header-border-color: #eadfd3 !important;
		--menu-border-color: #eadfd3 !important;
		--text-muted: #7d746d !important;
		/*
		--body-bg-rgb: 8, 78, 115 !important;
		--body-bg-rgb2: 22 ,92 ,129 !important;
		--light-rgb: 13, 86, 120 !important;
		--form-control-bg: rgb(13, 86, 120) !important;
		--input-border: rgba(255,255,255,0.1) !important;
		*/
	}

	.header-logo {
		align-items: center;
		display: inline-flex;
		min-width: 0;
	}

.header-logo .desktop-logo,
.header-logo .desktop-dark,
.header-logo .desktop-white,
.header-logo .desktop-white-bg {
	height: 26px;
	max-height: 26px;
	object-fit: contain;
	width: auto;
}

.autentication-logo {
	width: 220px;
}

.mrdcrm-management-reference .mrdcrm-management-check-btn {
	min-height: 2rem;
	height: 2rem;
}

.mrdcrm-admin-users-directory .toggle {
	min-height: 34px;
}

.toggle span::before,
.toggle span::after {
	inset-block-start: 0.488rem;
}

	.header-logo .toggle-logo,
	.header-logo .toggle-dark,
	.header-logo .toggle-white {
		height: 38px;
		max-height: 38px;
		object-fit: contain;
		width: 38px;
	}

	.app-sidebar .main-sidebar-header {
		background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 246, 239, 0.96));
		border-inline-end: 1px solid var(--menu-border-color);
	}

	.app-header {
		background: rgba(255, 255, 255, 0.92);
		backdrop-filter: blur(8px);
	}

	.app-sidebar {
		background: linear-gradient(180deg, #ffffff 0%, #faf6ef 100%);
	}

	.side-menu__item.active,
	.side-menu__item:hover,
	.side-menu__item:focus {
		color: rgb(var(--primary-rgb)) !important;
	}

	.side-menu__item.active .side-menu__icon,
	.side-menu__item:hover .side-menu__icon {
		color: rgb(var(--primary-rgb)) !important;
	}

	.card.custom-card,
	.card {
		border-color: var(--default-border);
	}

	.btn-primary {
		--bs-btn-bg: rgb(var(--primary-rgb));
		--bs-btn-border-color: rgb(var(--primary-rgb));
		--bs-btn-hover-bg: #65140d;
		--bs-btn-hover-border-color: #65140d;
		--bs-btn-active-bg: #58110b;
		--bs-btn-active-border-color: #58110b;
	}
	
	/* для статусов */
		.bg-outline-primary,
		.bg-outline-new {
			background-color: var(--custom-white);
			border: 1px solid var(--primary-color);
			color: var(--primary-color);
		}

		.bg-outline-secondary {
			background-color: var(--custom-white);
			border: 1px solid rgb(var(--secondary-rgb));
			color: rgb(var(--secondary-rgb));
		}

		.bg-outline-warning,
		.bg-outline-work {
			background-color: var(--custom-white);
			border: 1px solid rgb(var(--warning-rgb));
			color: rgb(var(--warning-rgb));
		}

		.bg-outline-info,
		.bg-outline-close {
			background-color: var(--custom-white);
			border: 1px solid rgb(var(--info-rgb));
			color: rgb(var(--info-rgb));
		}

		.bg-outline-success,
		.bg-outline-active {
			background-color: var(--custom-white);
			border: 1px solid rgb(var(--success-rgb));
			color: rgb(var(--success-rgb));
		}

		.bg-outline-danger,
		.bg-outline-to_del,
		.bg-outline-delete {
			background-color: var(--custom-white);
			border: 1px solid rgb(var(--danger-rgb));
			color: rgb(var(--danger-rgb));
		}
		
		
.main-header-center .form-control.global_filter {
	width: 100%;
	background-color: var(--custom-white);
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
	border: 1px solid var(--default-border, #ced4da) !important;
	box-shadow: none !important;
	background-color: var(--form-control-bg, #fff) !important;
}

.input-group .select2-container--default {
	flex: 1 1 auto;
	width: 1% !important;
	min-width: 0;
}

.input-group .select2-container--default .select2-selection--single,
.input-group .select2-container--default .select2-selection--multiple {
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
}

.select2-container--default .select2-selection--single {
	height: 2.25rem !important;
	min-height: 2.25rem !important;
}

.select2-container--default .select2-selection--multiple {
	min-height: 2.25rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	border: 0 !important;
	box-shadow: none !important;
	height: auto !important;
	line-height: 2.25rem !important;
	padding-left: .75rem;
	padding-right: 2rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
	border: 0 !important;
	box-shadow: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 2.25rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
	height: 2.25rem !important;
	line-height: 2.25rem !important;
	margin-right: 1.65rem !important;
	margin-top: -0.1rem !important;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--multiple {
	border: 1px solid var(--default-border, #ced4da) !important;
	box-shadow: none !important;
	outline: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
	margin-top: .25rem;
	margin-bottom: .25rem;
}

.select2-container--default .select2-selection--single.is-invalid,
.select2-container--default .select2-selection--multiple.is-invalid,
.form-select.is-invalid + .select2-container--default .select2-selection--single,
.form-select.is-invalid + .select2-container--default .select2-selection--multiple {
	border-color: #dc3545 !important;
}

.select2-container--default .select2-selection--single.is-valid,
.select2-container--default .select2-selection--multiple.is-valid,
.form-select.is-valid + .select2-container--default .select2-selection--single,
.form-select.is-valid + .select2-container--default .select2-selection--multiple {
	border-color: #198754 !important;
}

textarea.form-control,
.input-group textarea.form-control {
	resize: none;
}

body.swal2-shown,
body.swal2-height-auto {
	overflow-y: auto !important;
	padding-right: 0 !important;
}

.mrdcrm-desktop .mrdcrm-desktop-call-card {
	border-color: var(--default-border, #e9edf4) !important;
	border-top-color: var(--default-border, #e9edf4) !important;
	border-right-color: var(--default-border, #e9edf4) !important;
	border-bottom-color: var(--default-border, #e9edf4) !important;
}

.mrdcrm-desktop .mrdcrm-desktop-call-card.border-primary {
	border-left-color: rgb(var(--primary-rgb)) !important;
	border-inline-start-color: rgb(var(--primary-rgb)) !important;
}

.mrdcrm-desktop .mrdcrm-desktop-call-card.border-secondary {
	border-left-color: rgb(var(--secondary-rgb)) !important;
	border-inline-start-color: rgb(var(--secondary-rgb)) !important;
}

.mrdcrm-desktop .mrdcrm-desktop-call-card.border-success {
	border-left-color: rgb(var(--success-rgb)) !important;
	border-inline-start-color: rgb(var(--success-rgb)) !important;
}

.mrdcrm-desktop .mrdcrm-desktop-call-card.border-danger {
	border-left-color: rgb(var(--danger-rgb)) !important;
	border-inline-start-color: rgb(var(--danger-rgb)) !important;
}

.mrdcrm-desktop .mrdcrm-desktop-call-card.border-warning {
	border-left-color: rgb(var(--warning-rgb)) !important;
	border-inline-start-color: rgb(var(--warning-rgb)) !important;
}

.mrdcrm-desktop .mrdcrm-desktop-call-card.border-info {
	border-left-color: rgb(var(--info-rgb)) !important;
	border-inline-start-color: rgb(var(--info-rgb)) !important;
}

.mrdcrm-desktop .mrdcrm-desktop-call-card > .card-body {
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}

.mrdcrm-desktop .mrdcrm-desktop-card-metric {
	display: flex;
	align-items: center;
	margin-bottom: 0.35rem;
}

.mrdcrm-desktop .mrdcrm-desktop-card-metric__value {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 1.9rem;
	min-width: 2.35rem;
	padding: 0.15rem 0.65rem;
	border: 1px solid var(--default-border, #e9edf4);
	border-radius: 999px;
	background: var(--default-background, #f7f8f9);
	color: var(--default-text-color, #282f53);
	font-size: 0.875rem !important;
	font-weight: 700;
	line-height: 1;
}

.mrdcrm-desktop .avatar.border.me-3 {
	min-width: 40px;
}

.mrdcrm-desktop .ms-2 > .mrdcrm-desktop-card-metric {
	margin-bottom: 0;
}

.mrdcrm-desktop .mrdcrm-desktop-call-card .progress {
	margin-top: 0.5rem !important;
	margin-bottom: 0.5rem !important;
}

.mrdcrm-system-registry .table-overflow,
.mrdcrm-client-portal .table-overflow {
	width: 100%;
	overflow-x: auto;
}

.mrdcrm-system-registry .mrdcrm-system-registry-table {
	table-layout: auto;
	width: 100% !important;
}

.mrdcrm-system-registry .mrdcrm-system-registry-table th,
.mrdcrm-system-registry .mrdcrm-system-registry-table td,
.mrdcrm-client-portal table th,
.mrdcrm-client-portal table td {
	white-space: normal !important;
	overflow-wrap: anywhere;
	word-break: normal;
	vertical-align: middle;
}

.mrdcrm-system-registry .mrdcrm-system-registry-table th,
.mrdcrm-system-registry .mrdcrm-system-registry-table td[data-code="ID"],
.mrdcrm-system-registry .mrdcrm-system-registry-table td[data-code$="_ID"],
.mrdcrm-system-registry .mrdcrm-system-registry-table td[data-code="STATUS"],
.mrdcrm-system-registry .mrdcrm-system-registry-table td[data-code$="_DATE"],
.mrdcrm-system-registry .mrdcrm-system-registry-table td[data-code="QUANTITY"],
.mrdcrm-system-registry .mrdcrm-system-registry-table td[data-code="PRICE"],
.mrdcrm-system-registry .mrdcrm-system-registry-table td[data-code="TOTAL_SUM"],
.mrdcrm-system-registry .mrdcrm-table-actions,
.mrdcrm-system-registry .mrdcrm-table-print {
	white-space: nowrap !important;
}

.mrdcrm-client-order-edit-table th,
.mrdcrm-client-order-edit-table td {
	vertical-align: middle;
}

.mrdcrm-client-order-edit-table .mrdcrm-client-order-item-name {
	min-width: 18rem;
}
