.bn-contact-chip-autocomplete {
	width: 450px;
	margin: 0px 4px;
}
@media (max-width: 320px) {
	.bn-contact-chip-autocomplete,
	md-autocomplete-wrap {
		width: 250px;
	}
}
@media (min-width: 321px) and (max-width: 399px) {
	.bn-contact-chip-autocomplete,
	md-autocomplete-wrap {
		width: 276px;
	}
}
@media (min-width: 400px) and (max-width: 420px) {
	.bn-contact-chip-autocomplete,
	md-autocomplete-wrap {
		width: 300px;
	}
}
.bn-contact-chip-autocomplete.subject-chip input::placeholder {
	font-size: 19px;
	padding-top: 2px;
	padding-bottom: 1px;
	padding-left: 2px;
	padding-right: 2px;
	letter-spacing: 0px;
	font-weight: 500;
	opacity: 1;
}
md-chips.bn-responsable > md-chips-wrap {
	height: 100%;
	padding: 0;
}
.md-chips md-chip .md-chip-remove md-icon {
	height: 22px;
	width: 22px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate3d(-50%, -50%, 0);
	transform: translate3d(-50%, -50%, 0);
	color: white;
}
.md-chips md-chip .md-chip-remove {
	text-align: center;
	width: 22px;
	height: 22px;
	min-width: 0;
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	margin: 0;
	position: relative;
}
.md-chips md-chip .md-chip-remove-container {
	position: absolute;
	right: 5px;
	line-height: 16px;
	width: 22px;
	height: 22px;
}
md-chip-template {
	display: flex !important;
	flex-direction: row !important;
	justify-content: space-between !important;
	align-items: center !important;
}
md-chips.md-default-theme md-chip.md-focused md-icon,
md-chips md-chip.md-focused md-icon {
	color: #333333 !important;
}
md-chips.md-default-theme md-chips.md-focused,
md-chips md-chips.md-focused {
	border-width: 1px;
	border-color: #e9e8eb;
	border-style: solid;
	box-sizing: border-box;
	border-radius: 6px;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left: 8px;
	padding-right: 8px;
}
md-chips.md-default-theme md-chips,
md-chips md-chips {
	border-width: 1px;
	border-color: var(--primary-color);
	border-style: solid;
	box-sizing: border-box;
	border-radius: 6px;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left: 8px;
	padding-right: 8px;
}
md-chip.bn-leader-chip {
	cursor: default;
	border-radius: 83.55px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	margin: 4px 4px 4px 4px !important;
	padding: 3px 6px 3px 1.5px !important;
	float: left;
	box-sizing: border-box;
	max-width: 100%;
	position: relative;
	background-color: #f9af33;
	min-height: 30px;
	height: auto;
}
md-chip:has(md-chip-template.bn-custom-chip) {
	cursor: default !important;
	border-radius: 83.55px !important;
	display: flex !important;
	flex-direction: row !important;
	justify-content: space-between !important;
	align-items: center !important;
	margin: 4px 4px 4px 4px !important;
	padding: 3px 30px 3px 1.5px !important;
	float: left !important;
	box-sizing: border-box !important;
	max-width: 100% !important;
	position: relative !important;
	background-color: #f9af33 !important;
	min-height: 30px !important;
	height: auto;
}
md-chip:has(md-chip-template.bn-leader-chip) {
	cursor: default !important;
	border-radius: 83.55px !important;
	display: flex !important;
	flex-direction: row !important;
	justify-content: space-between !important;
	align-items: center !important;
	margin: 4px 4px 4px 4px !important;
	padding: 3px 6px 3px 1.5px !important;
	float: left !important;
	box-sizing: border-box !important;
	max-width: 100% !important;
	position: relative !important;
	background-color: #f9af33 !important;
	min-height: 30px !important;
	height: auto;
}
.bn-no-bs md-chips-wrap {
	box-shadow: none;
}
/* .md-chips:after {
    display: none;
}*/

.md-chips {
	padding: 0;
}
md-chips.bn-chip-no-shadow .md-chips {
	box-shadow: none;
}

/* For read-only chips */
md-chip.read-only-chip:has(md-chip-template.bn-custom-chip) {
	cursor: not-allowed !important; /* Shows a not-allowed cursor to indicate non-editability */
	border-radius: 83.55px !important;
	display: flex !important;
	flex-direction: row !important;
	justify-content: space-between !important;
	align-items: center !important;
	margin: 4px 4px 4px 4px !important;
	padding: 3px 30px 3px 1.5px !important;
	float: left !important;
	box-sizing: border-box !important;
	max-width: 100% !important;
	position: relative !important;
	background-color: #f9af33 !important; /* Same background as normal chip */
	min-height: 30px !important;
	height: auto;
	color: white; /* Ensure the text color remains consistent */
}

/* Optionally, you can add a hover effect for the read-only chip */
md-chip.read-only-chip:hover {
	background-color: #f9af33 !important; /* Keep the same color on hover */
	border-color: #ccc !important;
	cursor: not-allowed !important;
}
.md-chips .md-chip-input-container {
	display: block;
	line-height: 32px;
	margin: 8px 8px 0 0;
	padding: 0;
	float: left;
	max-width: 100%;
}
md-chips.md-default-theme .md-chips,
md-chips .md-chips {
	box-shadow: none;
}
md-chips.md-default-theme .md-chips.md-focused,
md-chips .md-chips.md-focused {
	box-shadow: none;
}
