.attachments-admin {
	padding: 6px 0;
}

.attachments-empty-icon {
	color: var(--bg-primary);
	font-size: 34px;
	opacity: .45;
}

.attachments-admin__workspace {
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1fr) 360px;
}

.attachments-admin__panel {
	background: #fff;
	border: 1px solid #edf0f5;
	border-radius: 8px;
	box-shadow: 0 8px 22px rgba(28, 39, 60, 0.05);
	padding: 18px;
}

.attachments-admin__panel--main {
	min-height: 360px;
}

.attachments-admin__panel-head {
	align-items: center;
	border-bottom: 1px solid #edf0f5;
	display: flex;
	justify-content: space-between;
	margin: -2px 0 16px;
	padding-bottom: 14px;
}

.attachments-admin__panel-head h3 {
	color: #1a1d2e;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

.attachments-admin__panel-head span {
	color: #8a8fa3;
	display: block;
	font-size: 12px;
	margin-top: 4px;
}

.attachments-admin__list {
	display: grid;
	gap: 10px;
}

.attachments-admin__item {
	align-items: center;
	background: #fbfcfe;
	border: 1px solid #edf0f5;
	border-radius: 8px;
	display: grid;
	gap: 14px;
	grid-template-columns: 22px 58px minmax(0, 1fr) 36px;
	padding: 12px;
}

.attachments-admin__drag {
	align-items: center;
	color: #b8bdca;
	cursor: grab;
	display: flex;
	height: 34px;
	justify-content: center;
}

.attachments-admin__drag:active {
	cursor: grabbing;
}

.attachments-admin__filetype {
	align-items: center;
	background: var(--bg-primary);
	border: 1px solid var(--bg-primary);
	border-radius: 7px;
	color: #fff;
	display: flex;
	font-size: 11px;
	font-weight: 800;
	height: 52px;
	justify-content: center;
	letter-spacing: 0;
	text-transform: uppercase;
	width: 58px;
}

.attachments-admin__file {
	min-width: 0;
}

.attachments-admin__file strong {
	color: #1a1d2e;
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.attachments-admin__file div {
	color: #8a8fa3;
	display: flex;
	font-size: 12px;
	gap: 10px;
	margin-top: 4px;
}

.attachments-admin__remove {
	align-items: center;
	background: #fff;
	border: 1px solid #ffe1e1;
	border-radius: 7px;
	color: #d92525;
	display: flex;
	height: 34px;
	justify-content: center;
	text-decoration: none;
	width: 34px;
}

.attachments-admin__sort-placeholder {
	background: #eef6ff;
	border: 1px dashed var(--bg-primary);
	border-radius: 8px;
	min-height: 78px;
}

.attachments-admin__remove:hover {
	background: #fff5f5;
	color: #b91c1c;
}

.attachments-admin__empty {
	align-items: center;
	color: #8a8fa3;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 260px;
	text-align: center;
}

.attachments-admin__empty i {
	color: var(--bg-primary);
	font-size: 34px;
	margin-bottom: 10px;
	opacity: 0.45;
}

.attachments-admin__empty h4 {
	color: #3a3f58;
	font-size: 15px;
	font-weight: 700;
	margin: 0;
}

.attachments-admin__side {
	display: grid;
	gap: 18px;
}

@media (max-width: 1199px) {
	.attachments-admin__workspace {
		grid-template-columns: 1fr;
	}

	.attachments-admin__side {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.attachments-admin__side {
		grid-template-columns: 1fr;
	}

	.attachments-admin__item {
		grid-template-columns: 22px 52px minmax(0, 1fr) 34px;
	}

	.attachments-admin__filetype {
		height: 48px;
		width: 52px;
	}
}

/* Styles extracted from addon templates. */
[data-addon-style="attachments-b983325b27"] {
	width:3%;
}
[data-addon-style="attachments-d2d0807c4f"] {
	width:12%;
}
[data-addon-style="attachments-db53baa3f2"] {
	width:10%;
}
[data-addon-style="attachments-de98479e18"] {
	width:16%;
}
