/**
 * SecAnim Zugang: Login- und Registrierungs-Design.
 * Farben und Schrift entsprechen refood.de (Exo, lokal gebuendelt).
 */

.rfz-wrap {
	--rfz-green: #7da8ce;
	--rfz-green-deep: #032b55;
	--rfz-forest: #021d3a;
	--rfz-ink: #212934;
	--rfz-muted: #5c6670;
	--rfz-line: #e5e4e3;
	--rfz-bg: #f3f5f8;
	--rfz-danger: #c0392b;
	--rfz-danger-bg: #fdf0ee;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	display: flex;
	justify-content: center;
	padding: 40px 16px 64px;
	background:
		radial-gradient(1200px 400px at 50% -80px, rgba(125,168,206, 0.12), transparent 70%);
	color: var(--rfz-ink);
	box-sizing: border-box;
}
.rfz-wrap *,
.rfz-wrap *::before,
.rfz-wrap *::after {
	box-sizing: border-box;
}

.rfz-card {
	width: 100%;
	max-width: 460px;
	background: #ffffff;
	border: 1px solid var(--rfz-line);
	border-radius: 18px;
	box-shadow: 0 18px 45px rgba(3,43,85, 0.10), 0 2px 8px rgba(33, 41, 52, 0.05);
	padding: 36px 36px 28px;
	position: relative;
	overflow: hidden;
}
.rfz-card::before {
	content: '';
	position: absolute;
	inset: 0 0 auto 0;
	height: 6px;
	background: linear-gradient(90deg, var(--rfz-green-deep), var(--rfz-green));
}
.rfz-card-wide { max-width: 640px; }
.rfz-card-slim { text-align: center; }

/* Theme-Seitentitel auf Login-/Registrierungsseiten ausblenden
   (dieses Stylesheet laedt nur auf Seiten mit unseren Shortcodes). */
.entry-header,
.ast-single-entry-banner,
.page .entry-title {
	display: none !important;
}

.rfz-title {
	font-family: inherit;
	font-size: 26px;
	font-weight: 700;
	color: var(--rfz-ink);
	margin: 0 0 6px;
}
.rfz-intro {
	font-size: 14.5px;
	color: var(--rfz-muted);
	margin: 0 0 22px;
	line-height: 1.55;
}
.rfz-hello {
	font-size: 15.5px;
	margin: 0 0 18px;
}

.rfz-form { margin: 0; }
.rfz-field { margin-bottom: 16px; }
.rfz-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}
@media (max-width: 560px) {
	.rfz-grid { grid-template-columns: 1fr; }
	.rfz-card { padding: 26px 20px 22px; }
}

.rfz-label {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--rfz-ink);
	margin: 0 0 6px;
}
.rfz-optional {
	font-weight: 400;
	color: var(--rfz-muted);
	margin-left: 4px;
}

.rfz-wrap .rfz-input {
	display: block;
	width: 100%;
	font-family: inherit;
	font-size: 15px;
	color: var(--rfz-ink);
	background: #fafbfd;
	border: 1.5px solid var(--rfz-line);
	border-radius: 10px;
	padding: 11px 14px;
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	outline: none;
	min-height: 0;
	margin: 0;
}
.rfz-wrap .rfz-input:focus {
	border-color: var(--rfz-green);
	box-shadow: 0 0 0 3px rgba(125,168,206, 0.22);
	background: #ffffff;
}
.rfz-wrap select.rfz-select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235c6670' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 38px;
}

.rfz-field-error .rfz-input { border-color: var(--rfz-danger); }
.rfz-field-msg {
	font-size: 12.5px;
	color: var(--rfz-danger);
	margin: 5px 0 0;
}

.rfz-check,
.rfz-radio {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--rfz-ink);
	cursor: pointer;
	margin: 2px 0 18px;
}
.rfz-radio { margin: 0; }
.rfz-radio-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	padding-top: 2px;
}
.rfz-wrap .rfz-check input,
.rfz-wrap .rfz-radio input {
	accent-color: var(--rfz-green-deep);
	width: 17px;
	height: 17px;
	margin: 0;
}

.rfz-wrap .rfz-btn {
	text-decoration: none !important;
	display: inline-block;
	font-family: inherit;
	font-size: 15.5px;
	font-weight: 700;
	letter-spacing: 0.2px;
	color: #ffffff;
	background: linear-gradient(135deg, var(--rfz-green-deep), #005a9a);
	border: 0;
	border-radius: 10px;
	padding: 13px 26px;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	transition: filter 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
	box-shadow: 0 6px 16px rgba(3,43,85, 0.28);
}
.rfz-wrap .rfz-btn:hover {
	filter: brightness(1.06);
	color: #ffffff;
	box-shadow: 0 8px 20px rgba(3,43,85, 0.34);
}
.rfz-wrap .rfz-btn:active { transform: translateY(1px); }
.rfz-btn-block { display: block; width: 100%; }
.rfz-wrap .rfz-btn-ghost {
	background: #ffffff;
	color: var(--rfz-green-deep);
	border: 1.5px solid var(--rfz-green);
	box-shadow: none;
}
.rfz-wrap .rfz-btn-ghost:hover {
	background: rgba(125,168,206, 0.10);
	color: var(--rfz-forest);
}
.rfz-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0;
}

.rfz-error {
	background: var(--rfz-danger-bg);
	border: 1px solid rgba(192, 57, 43, 0.35);
	color: var(--rfz-danger);
	border-radius: 10px;
	padding: 11px 14px;
	font-size: 14px;
	margin-bottom: 18px;
	line-height: 1.45;
}

.rfz-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 6px 0 16px;
	color: var(--rfz-muted);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}
.rfz-divider::before,
.rfz-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--rfz-line);
}

.rfz-foot {
	margin: 20px 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--rfz-line);
	font-size: 13.5px;
	color: var(--rfz-muted);
	line-height: 1.7;
	text-align: center;
}
.rfz-foot a {
	color: var(--rfz-green-deep);
	font-weight: 600;
	text-decoration: none;
}
.rfz-foot a:hover { text-decoration: underline; }
.rfz-legal {
	margin: 10px 0 0;
	font-size: 12px;
	color: var(--rfz-muted);
	text-align: center;
}
.rfz-legal a {
	color: var(--rfz-muted);
	text-decoration: none;
}
.rfz-legal a:hover { text-decoration: underline; }

/* Start-Portal */
.rfz-portal {
	--rfz-green: #7da8ce;
	--rfz-green-deep: #032b55;
	--rfz-forest: #021d3a;
	--rfz-ink: #212934;
	--rfz-muted: #5c6670;
	--rfz-line: #e5e4e3;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	color: var(--rfz-ink);
	max-width: 900px;
	margin: 0 auto;
	padding: 28px 0 48px;
}
.rfz-portal * { box-sizing: border-box; }
.rfz-portal-hello {
	font-family: inherit;
	font-size: 30px;
	font-weight: 800;
	margin: 0 0 6px;
	color: var(--rfz-forest);
}
.rfz-portal-intro {
	font-size: 15.5px;
	color: var(--rfz-muted);
	margin: 0 0 26px;
	max-width: 640px;
	line-height: 1.6;
}
.rfz-portal-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
}
.rfz-portal a,
.rfz-portal a * {
	text-decoration: none !important;
}
.rfz-portal .rfz-tile {
	display: flex;
	flex-direction: column;
	gap: 6px;
	background: #ffffff;
	border: 1px solid var(--rfz-line);
	border-radius: 16px;
	padding: 22px 22px 20px;
	text-decoration: none;
	color: var(--rfz-ink);
	box-shadow: 0 3px 14px rgba(3,43,85, 0.06);
	transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
	border-top: 4px solid var(--rfz-green);
}
.rfz-portal .rfz-tile:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(3,43,85, 0.12);
	border-color: var(--rfz-green);
}
.rfz-portal .rfz-tile .t-title {
	font-size: 17px;
	font-weight: 800;
	color: var(--rfz-forest);
}
.rfz-portal .rfz-tile .t-sub {
	font-size: 13px;
	color: var(--rfz-muted);
	line-height: 1.5;
}
.rfz-portal .rfz-tile-primary {
	background: linear-gradient(135deg, var(--rfz-green-deep), #005a9a);
	border-color: transparent;
}
.rfz-portal .rfz-tile-primary .t-title { color: #ffffff; }
.rfz-portal .rfz-tile-primary .t-sub { color: rgba(255, 255, 255, 0.85); }

/* Honeypot: visually gone, still submittable by bots. */
.rfz-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	margin: 0;
}

/* Hinweis unter einem Feld (seit 1.8.0) */
.rfz-hint {
	margin: -6px 0 14px;
	font-size: 13.5px;
	line-height: 1.45;
	color: #5c6670;
}
