/* Companion – Registrierung, Login, Konto. Läuft im Theme-Layout. */
.cmp-auth {
	--cmp-accent: #c4436e;
	--cmp-accent-dark: #a5335a;
	--cmp-border: #e6dfe1;
	--cmp-muted: #7a7075;
	max-width: 460px;
	margin: 0 auto;
	line-height: 1.5;
}
.cmp-auth *, .cmp-auth *::before, .cmp-auth *::after { box-sizing: border-box; }
.cmp-account { max-width: 640px; }
.cmp-auth-form { display: flex; flex-direction: column; gap: 14px; }
.cmp-auth-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.cmp-auth-form label small { font-weight: 400; color: var(--cmp-muted); }
.cmp-auth-form input[type="text"], .cmp-auth-form input[type="email"], .cmp-auth-form input[type="password"], .cmp-auth-form input[type="date"] {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--cmp-border);
	border-radius: 10px;
	font: inherit;
	font-weight: 400;
}
.cmp-auth-form input:focus { outline: none; border-color: var(--cmp-accent); box-shadow: 0 0 0 3px rgba(196,67,110,.15); }
.cmp-auth-check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; }
.cmp-auth-check input { margin-top: 4px; }
.cmp-auth-note { margin: 0; font-size: .9em; color: var(--cmp-muted); }
.cmp-auth-btn {
	display: inline-block;
	padding: 12px 20px;
	border-radius: 999px;
	border: 0;
	background: var(--cmp-accent);
	color: #fff !important;
	font: inherit;
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
	text-align: center;
	align-self: flex-start;
}
.cmp-auth-btn:hover { background: var(--cmp-accent-dark); }
.cmp-auth-form > .cmp-auth-btn { align-self: stretch; }
.cmp-auth-btn--ghost { background: transparent; color: var(--cmp-accent) !important; border: 1px solid var(--cmp-border); }
.cmp-auth-btn--ghost:hover { background: #fde2ea; }
.cmp-auth-btn--danger { background: #b3261e; }
.cmp-auth-btn--danger:hover { background: #8f1d17; }
.cmp-auth-link { background: none; border: 0; padding: 0; color: var(--cmp-accent); text-decoration: underline; cursor: pointer; font: inherit; }
.cmp-auth-alt { font-size: .95em; color: var(--cmp-muted); margin: 4px 0 0; }
.cmp-auth-alt a { color: var(--cmp-accent); }
.cmp-auth-error, .cmp-auth-ok, .cmp-auth-warn { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; }
.cmp-auth-error { background: #fdecea; color: #8f1d17; }
.cmp-auth-ok { background: #e9f7ee; color: #1a5d2e; }
.cmp-auth-warn { background: #fff7e6; color: #6b5321; }
.cmp-inline-form { display: inline; }
.cmp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cmp-account-status {
	display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center;
	padding: 16px 18px; border: 1px solid var(--cmp-border); border-radius: 12px; margin-bottom: 18px;
}
.cmp-account-status div { display: flex; flex-direction: column; }
.cmp-account-status span { font-size: .85em; color: var(--cmp-muted); }
.cmp-account-status .cmp-auth-btn { margin-left: auto; }
.cmp-account-section { border: 1px solid var(--cmp-border); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
.cmp-account-section summary { padding: 14px 0; font-weight: 600; cursor: pointer; }
.cmp-account-section > *:not(summary) { margin-bottom: 18px; }
.cmp-account-section .cmp-auth-form p { margin: 0; color: var(--cmp-muted); font-size: .95em; }
.cmp-auth-danger { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--cmp-border); }
