/* ==================================== 
	List form
======================================*/

.list_form {
	display: flex;
	position: sticky;
	top: 0;
	inset-inline-start: 0;
	width: 100%;
	padding: 20px;
	padding-inline-end: 0;
	box-sizing: border-box;
	background-color: var(--bg-color);
}

.list_inputs {
	flex: 1;
}
.list_search {
	width: 100%;
	padding: 0;
	padding-inline-start: 10px;
	box-sizing: border-box;
	background-color: var(--vvvlight-color);
	border: 1px solid var(--vvlight-color);
	border-radius: 5px;
}

.list_search > svg {
	margin-top: -3px;
}

.list_search > input[type="text"] {
	width: calc(100% - 34px);
	padding: 10px;
	padding-inline-start: 0px;
	padding-inline-end: 20px;
	box-sizing: border-box;
	font-family: var(--font-family);
	line-height: var(--line-height);
	font-size: 1em;
	color: var(--main-color);
	background-color: var(--vvvlight-color);
	border: 0;
	outline: none;
	outline-width: 0;
	-webkit-appearance: none;
	-webkit-tap-highlight-color: transparent;
}

.list_filters {
	width: 24px;
	height: 24px;
	padding: 11px;
	padding-inline-start: 20px;
	padding-inline-end: 20px;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
}

.list_filters_box {
	display: none;
	position: absolute;
	margin-top: 66px;
	inset-inline-end: 20px;
	width: 200px;
	padding: 10px;
	box-sizing: border-box;
	border: 1px solid var(--vvlight-color);
	border-radius: 5px;
	background-color: var(--vvvlight-color);
}

.list_filters_box::before {
	content: "";
	position: absolute;
	top: -7px;
	inset-inline-end: 5px;
	width: 12px;
	height: 12px;
	box-sizing: border-box;
	background-color: var(--vvvlight-color);
	border-top: 1px solid var(--vvlight-color);
	border-inline-start: 1px solid var(--vvlight-color);

	transform: rotate(45deg);
}

.list_filters_box > div {
	font-size: 0.8em;
	font-weight: 400;
	margin-bottom: 5px;
}
.list_filters_box > select {
	width: 100%;
	padding: 5px;
	box-sizing: border-box;
	font-family: var(--font-family);
	line-height: var(--line-height);
	font-size: 0.8em;
	color: var(--main-color);
	background-color: var(--bg-color);
	border: 1px solid var(--vvlight-color);
	border-radius: 5px;
	outline: none;
	outline-width: 0;
	-webkit-tap-highlight-color: transparent;
}

.list_filters_box > select + div {
	margin-top: 10px;
}

/* ==================================== 
	List floating buttons
======================================*/

.list_floating_bottom_end_btn {
	display: none;
	position: fixed;
	bottom: 20px;
	inset-inline-end: 20px;
	width: 24px;
	height: 24px;
	padding: 20px;
	background-color: var(--hl-color);
	border-radius: 50%;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	overflow: hidden;
}

/* ==================================== 
	List records
======================================*/

.list_noresults {
	width: calc(100% - 40px);
	margin-right: auto;
	margin-left: auto;
	margin-top: 40px;
	text-align: center;
	color: var(--main-color);
}

.list_records {		
	width: 100%;
}

.list_records_sep {
	width: 100%;
	padding-top: 5px;
	padding-bottom: 5px;
}

.list_record {
	display: flex;
	width: calc(100% - 20px);
	margin-inline-start: 20px;
	margin-inline-end: 0;
	margin-bottom: 5px;
}

.list_record_enabled {}
.list_record_disabled {
	filter: grayscale(100%);
	opacity: 0.5;
}

.list_logo {
	width: 110px;
	height: 50px;
	text-align: center;
}

.list_logo > img {
	max-width: 100px;
	max-height: 50px;
	border-radius: 5px;
}

.list_photo {
	width: 60px;
	height: 50px;
}

.list_photo > img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
}

.list_photo_squared {
	width: 60px;
	height: 50px;
}

.list_photo_squared > img {
	width: 50px;
	height: 50px;
	border-radius: 5px;
}

.list_diamond {
	width: 60px;
	height: 50px;
}

.list_diamond > img {
	width: 50px;
	height: 50px;
	object-fit: cover;
	clip-path: polygon(
		25% 0,
		75% 0,
		100% 50%,
		75% 100%,
		25% 100%,
		0 50%
	);
}

.list_colors {
	width: 60px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.list_color_circle {
	width: 50px;
	height: 50px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
	border-radius: 5px;
	overflow: hidden;
	box-sizing: border-box;
	border: 1px solid var(--vvlight-color);
	background-color: var(--vvvlight-color);
}

.list_color_circle > span {
	display: block;
	width: 100%;
	height: 100%;
}

.list_details {
	flex: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.list_line1 {
	width: 100%;
	font-size: 1.1em;
	font-weight: 400;
	color: var(--hl-color);
	margin-bottom: 5px;
}

.list_line2 {
	width: 100%;
	font-size: 0.8em;
}

.list_action {
	display: none;
	width: 24px;
	padding: 11px;
	padding-inline-start: 20px;
	padding-inline-end: 20px;
	cursor: pointer;
}

.list_load_more {
	width: calc(100% - 40px);
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	cursor: pointer;
	background: var(--vvvlight-color);
	border: 1px solid var(--vvlight-color);
	border-radius: 5px;
	user-select: none;
	-webkit-user-select: none;
}