.t8-extlinks {
	margin-top: 2rem;
}

.t8-extlinks__title {
	margin-bottom: 0.6rem;
}

.t8-extlinks__list {
	list-style: disc;
	margin: 0;
	padding-inline-start: 1.2rem;
}

.t8-extlinks__item + .t8-extlinks__item {
	margin-top: 0.35rem;
}

.t8-extlinks__link {
	text-decoration: none;
}

.t8-extlinks__link:hover {
	text-decoration: underline;
}

.t8-extlinks-admin {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.t8-extlinks-admin .t8-extlinks__item {
	border: 1px solid #ccd0d4;
	background: #fff;
}

.t8-extlinks-admin summary {
	padding: 8px 10px;
	background: #f6f7f7;
	cursor: pointer;
	font-weight: 600;
}

.t8-extlinks__drag {
	display: inline-block;
	margin-right: 8px;
	color: #9ca3af;
	cursor: grab;
	user-select: none;
}

.t8-extlinks__item.is-dragging {
	opacity: 0.6;
}

.t8-extlinks__body {
	padding: 10px 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.t8-extlinks__row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.t8-extlinks__row--name .t8-extlinks__input {
	flex: 1 1 auto;
}

.t8-extlinks__row--url .t8-extlinks__input {
	flex: 1 1 auto;
}

.t8-extlinks__label {
	min-width: 110px;
	font-weight: 600;
}

.t8-extlinks__lang {
	display: flex;
	gap: 10px;
	margin-left: auto;
	font-size: 0.9em;
}

.t8-extlinks__open {
	text-decoration: none;
	font-size: 0.9em;
}

.t8-extlinks__help {
	margin: 0;
	color: #666;
	font-size: 0.9em;
}

.t8-extlinks__warning {
	margin: 0;
	color: #b45309;
	font-size: 0.9em;
}

.t8-extlinks__actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

.t8-extlinks__reorder {
	display: flex;
	gap: 6px;
}

.t8-extlinks__footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.t8-extlinks__count {
	color: #444;
	font-size: 0.9em;
}

.t8-extlinks__disclaimer {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #e5e7eb;
}

@media (max-width: 700px) {
	.t8-extlinks__row {
		flex-direction: column;
		align-items: flex-start;
	}

	.t8-extlinks__label {
		min-width: 0;
	}

	.t8-extlinks__lang {
		margin-left: 0;
	}

	.t8-extlinks__actions {
		flex-direction: column;
		align-items: flex-start;
	}

	.t8-extlinks__footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}
