/* Toast messages */
.bb-toasts-container {
	position: fixed;
	bottom: 5%;
	left: 10%;
	right: 10%;
	z-index: 100010;

	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.bb-toasts-container .bb-toast {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;

	padding: 8px 12px;

	font-size: 14px;

	border-radius: 5px;
	background: #fefef9;
	box-shadow: 0 1px 1px #0002;

	opacity: 1;
	transition: opacity 0.3s;
}

.bb-toasts-container .bb-toast.fade-out {
	opacity: 0;
	pointer-events: none;
}

.bb-toasts-container .bb-toast.type-info {
	background: #110d0a;
	color: #fff;
}

.bb-toasts-container .bb-toast.type-success {
	background: #d7eed4;
	color: #158e29;
}

.bb-toasts-container .bb-toast.type-error {
	background: #eed4d4;
	color: #8e1515;
}

.bb-toasts-container .toast-icon {
	display: flex;
	align-items: center;
}

.bb-toasts-container .toast-icon svg {
	width: 1.25em;
	margin-right: 0.5em;
	fill: currentColor;
}

/* End: Toast messages */


/* Start: BBEARG CRM Icon SVGs */
.bbearg-crm-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
}

/* End: BBEARG CRM Icon SVGs */

/* Start: Auto Complete */
.autoComplete_wrapper {
	width: 100% !important;
	color: black !important;
}

.autoComplete_wrapper input {
	background-image: unset !important;
}

.autoComplete_wrapper .load-more-posts {
	margin-left: auto;
	margin-right: auto;
	display: block;
	font-size: 14px;
	text-align: center;
}

.autoComplete_wrapper .remove-selection {
	position: absolute;
	right: 10px;
	top: -5px;
	bottom: 0;
	margin-top: auto;
	margin-bottom: auto;
	display: inline-block;
	align-self: center;
	cursor: pointer;
}

.autoComplete_wrapper > input,
.autoComplete_wrapper > input::placeholder {
	color: black !important;
}

.autoComplete_wrapper > input:focus {
	color: black !important;
	border-color: black !important;
}

.autoComplete_wrapper > ul > li:hover {
	background: #ecece3 !important;
	color: black !important;
}

/* End: Auto Complete */

/* Start: Select2 */
.select2-container.select2-container--open {
	z-index: 999999;
}

.select2-container.select2-container--open .select2-dropdown {
	margin-top: 32px !important;
}

.select2-container .select2-selection--multiple {
	min-height: 42px !important;
}

.select2-container .select2-search--inline .select2-search__field {
	height: 21px;
}

/* End: Select2 */


.flatpickr-calendar.open {
	display: inline-block;
	z-index: 9999999 !important;
}

/* Word Checker Context Menu */

.crm-word-checker-menu {
	position: absolute;
	display: none;
	background-color: #fff;
	border: 1px solid #ddd;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	padding: 8px;
	z-index: 1000;
	min-width: 100px;
	font-family: Arial, sans-serif;
}

.crm-word-checker-menu li {
	padding: 5px;
	cursor: pointer;
	list-style: none;
}

.crm-word-checker-menu li:hover {
	background-color: #eee;
}


.crm-table {
	border-collapse: collapse;
	width: 100%;
	font-size: 1rem;
}

.crm-table thead tr {
	background: black;
	color: white;
	text-align: left;
}

/** CRM Table Global Styling
 */
.crm-table thead tr th, .crm-table tbody tr td {
	padding: 7px 10px;
}

.crm-table tbody tr td {
	border-bottom: 1px solid #dadacf;
	text-align: left;
}

.crm-table tbody tr td:first-child {
	border-left: 1px solid #dadacf;
}

.crm-table tbody tr td:last-child {
	border-right: 1px solid #dadacf;

}

.crm-table tbody tr td a {
	color: black;
	text-decoration: none;
	font-weight: 500;

}

/** Tooltips */
.crm-field-label a[data-tooltip] svg {
	width: 20px;
	position: absolute;
	margin-left: -10px;
}

/** Bulk buttons */
.crm-export-button {
	margin-left: auto !important;
}

.crm-export-button a {
	width: 18px;
	height: 18px;
}

.crm-export-button svg {
	width: 18px;
}

.crm-add-post-button {
	margin-left: auto !important;
}

.position-relative {
	position: relative;
}