/* Privatkunden Anzeigen-Entwürfe */

.tma-am-customer-draft-actions {
	margin: 0.75rem 0 1rem;
}

.tma-am-customer-draft-notice {
	margin: 0.5rem 0 0;
	font-size: 0.9em;
}

.tma-am-customer-draft-notice.is-success {
	color: #1a7f37;
}

.tma-am-customer-draft-notice.is-error {
	color: #b32d2e;
}

.tma-am-customer-drafts-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.tma-am-customer-draft-item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.tma-am-customer-draft-preview {
	flex: 0 0 96px;
	width: 96px;
	min-height: 72px;
	background: #f3f3f3;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.tma-am-customer-draft-preview img {
	display: block;
	max-width: 100%;
	height: auto;
}

.tma-am-customer-draft-preview-placeholder {
	font-size: 0.75rem;
	color: #666;
	text-align: center;
	padding: 0.5rem;
}

.tma-am-customer-draft-body {
	flex: 1 1 auto;
	min-width: 0;
}

.tma-am-customer-draft-body h3 {
	margin: 0 0 0.35rem;
	font-size: 1.1rem;
}

.tma-am-customer-draft-meta {
	margin: 0 0 0.75rem;
	color: #666;
	font-size: 0.9em;
}

.tma-am-customer-draft-body .tma-am-customer-draft-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
}

.tma-am-customer-drafts-header .description {
	margin-top: 0.35rem;
}

@media (max-width: 600px) {
	.tma-am-customer-draft-item {
		flex-direction: column;
	}

	.tma-am-customer-draft-preview {
		width: 100%;
		flex-basis: auto;
	}
}
