/**
* @package      CRE8 Social
* @copyright    Copyright (C) Creative Graphics. All rights reserved.
* @license      GNU/GPL, see LICENSE.php
*
* Styling for the Multi Category type-ahead chip picker (media/scripts/multicategory-autocomplete.js).
*/

#es#es .es-mcat-picker {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding: 6px 8px;
	border: 1px solid #e1e1e1;
	border-radius: 6px;
	background: #fff;
}

#es#es .es-mcat-picker.is-readonly {
	padding: 0;
	border: 0;
	background: none;
}

#es#es .es-mcat-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 2px 4px 2px 0;
	padding: 4px 8px;
	border-radius: 20px;
	background: #f0f2f5;
	font-size: 13px;
	line-height: 1.4;
}

#es#es .es-mcat-chip__remove {
	color: #888;
	text-decoration: none;
	font-weight: 700;
	line-height: 1;
}

#es#es .es-mcat-chip__remove:hover {
	color: #fc595b;
}

#es#es .es-mcat-chip.is-primary {
	background: #fff4d6;
}

#es#es .es-mcat-chip__star {
	color: #ccc;
	text-decoration: none;
	line-height: 1;
}

#es#es .es-mcat-chip__star:hover {
	color: #f5a623;
}

#es#es .es-mcat-chip.is-primary .es-mcat-chip__star {
	color: #f5a623;
}

#es#es .es-mcat-chip__star-indicator {
	color: #f5a623;
	font-size: 12px;
}

#es#es .es-mcat-picker__input {
	flex: 1 1 120px;
	min-width: 120px;
	border: 0;
	outline: none;
	padding: 4px 2px;
	font-size: 14px;
}

#es#es .es-mcat-suggestions {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 20;
	margin-top: 4px;
	max-height: 240px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #e1e1e1;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#es#es .es-mcat-suggestions__item {
	padding: 8px 12px;
	font-size: 14px;
	cursor: pointer;
}

#es#es .es-mcat-suggestions__item:hover {
	background: #f0f2f5;
}

#es#es .es-mcat-suggestions__empty {
	padding: 8px 12px;
	font-size: 13px;
	color: #888;
}
