/* Loominda Kundenkonto – Farbschema wie alle loominda-Plugins */
.loom-konto {
	--loom-rot: #691511;
	--loom-rot-dunkel: #4a0e0b;
	--loom-titel: #4f100d;
	--loom-rose: #f8eceb;
	--loom-rose-rand: #ecd3d1;
}

.woocommerce-MyAccount-content .loom-konto h2,
.woocommerce-MyAccount-content .loom-konto h3 {
	color: var(--loom-titel);
}

.loom-konto-hinweis {
	background: var(--loom-rose);
	border-left: 3px solid var(--loom-rot);
	padding: 12px 16px;
	margin: 0 0 1.5em;
	border-radius: 0 4px 4px 0;
}

.loom-konto-stand {
	display: block;
	margin-top: 4px;
	font-size: 0.9em;
	opacity: 0.8;
}

/* Tabellen */
.loom-konto-tabelle th[scope="col"] {
	color: var(--loom-titel);
	background: var(--loom-rose);
}

.loom-konto-tabelle .loom-konto-titel {
	display: block;
	color: var(--loom-titel);
}

.loom-konto-tabelle .loom-konto-info {
	display: block;
	font-weight: normal;
	font-size: 0.9em;
	opacity: 0.85;
}

.loom-konto-tabelle .loom-konto-links {
	white-space: nowrap;
}

.loom-konto-tabelle a:not(.button) {
	color: var(--loom-rot);
}

.loom-konto-tabelle a:not(.button):hover {
	color: var(--loom-rot-dunkel);
}

.loom-konto-tabelle .loom-konto-betrag {
	white-space: nowrap;
}

.loom-konto a.loom-konto-btn,
.loom-konto button.loom-konto-btn,
.loom-konto .loom-konto-leer .button {
	background-color: var(--loom-rot);
	border-color: var(--loom-rot);
	color: #fff;
	padding: 6px 14px;
	margin: 2px 4px 2px 0;
	border-radius: 4px;
	font-size: 0.9em;
	line-height: 1.6;
	text-decoration: none;
	display: inline-block;
}

.loom-konto a.loom-konto-btn:hover,
.loom-konto a.loom-konto-btn:focus,
.loom-konto button.loom-konto-btn:hover,
.loom-konto button.loom-konto-btn:focus,
.loom-konto .loom-konto-leer .button:hover {
	background-color: var(--loom-rot-dunkel);
	border-color: var(--loom-rot-dunkel);
	color: #fff;
}

.loom-konto-leer .button {
	margin-left: 8px;
}

/* Formular Herstellerdaten */
.loom-konto-felder {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}

.loom-konto-felder .loom-konto-feld {
	width: auto;
	float: none;
	margin: 0 0 14px;
}

.loom-konto-felder .loom-konto-breit {
	grid-column: 1 / -1;
}

.loom-konto-felder label {
	display: block;
	margin-bottom: 4px;
	color: var(--loom-titel);
}

.loom-konto-felder input.input-text {
	width: 100%;
}

.loom-konto-felder input.input-text:focus {
	border-color: var(--loom-rot);
	outline: none;
	box-shadow: 0 0 0 1px var(--loom-rot);
}

.loom-konto-feldhinweis {
	display: block;
	font-size: 0.85em;
	opacity: 0.8;
	margin-top: 3px;
}

.loom-konto-check label {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.loom-konto-check input {
	margin-top: 5px;
	accent-color: var(--loom-rot);
}

.loom-konto-aktionen {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 8px;
}

.loom-konto button.loom-konto-loeschen {
	background: none;
	border: none;
	padding: 0;
	color: var(--loom-rot);
	text-decoration: underline;
	cursor: pointer;
	font-size: 0.9em;
}

.loom-konto button.loom-konto-loeschen:hover {
	color: var(--loom-rot-dunkel);
	background: none;
}

/* Hinweis auf der Protokoll-Produktseite */
.loom-konto-vorbefuellt {
	background: #f8eceb;
	border-left: 3px solid #691511;
	padding: 10px 14px;
	margin: 0 0 14px;
	border-radius: 0 4px 4px 0;
	font-size: 0.92em;
}

.loom-konto-vorbefuellt a {
	color: #691511;
}

@media (max-width: 600px) {
	.loom-konto-felder {
		grid-template-columns: 1fr;
	}

	.loom-konto-tabelle .loom-konto-links {
		white-space: normal;
	}
}

/* 0.2.0: Gutscheine */
.loom-konto-tabelle .loom-konto-code {
	font-family: ui-monospace, Menlo, Consolas, monospace;
	letter-spacing: .05em;
}
