/* Peleven – Bewerbung über RhyForce: Hinweisfenster (Design wie Prototyp)
 * Alle Regeln unter .pel-bw-*, damit das Bridge-Theme nicht beeinflusst wird.
 */
.pel-bw-overlay {
	--pel-teal: #0d6d7c;
	--pel-teal-dark: #0a5763;
	--pel-soft: #f4f7f8;
	--pel-line: #e6e6e6;
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(15, 30, 35, .62);
	font-family: "Titillium Web", Arial, sans-serif;
	line-height: 1.55;
	text-align: left;
}
.pel-bw-overlay[hidden] { display: none; }
html.pel-bw-open { overflow: hidden; }

.pel-bw-dialog {
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 32px);
	overflow: auto;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, .3);
	animation: pel-bw-pop .25s ease-out;
}
@keyframes pel-bw-pop { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

.pel-bw-progress { height: 4px; background: var(--pel-line); }
.pel-bw-progress span { display: block; width: 0; height: 100%; background: var(--pel-teal); }
.pel-bw-progress.is-running span { animation: pel-bw-fill var(--pel-bw-duration, 10s) linear forwards; }
@keyframes pel-bw-fill { to { width: 100%; } }

.pel-bw-logos {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 26px 24px 10px;
}
.pel-bw-logos img { display: block; width: auto; height: 36px; }
.pel-bw-arrow { font-size: 22px; color: #777; }

.pel-bw-body { padding: 8px 32px 28px; text-align: center; color: #444; font-size: 16px; }
.pel-bw-overlay h2#pel-bw-title {
	margin: 6px 0 10px;
	padding: 0;
	font-family: inherit;
	font-size: 22px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: #111;
}
.pel-bw-body p { margin: 0 0 12px; font-size: 16px; color: #444; }
.pel-bw-job { color: var(--pel-teal); }
.pel-bw-hint {
	margin: 16px 0 20px;
	padding: 12px 14px;
	border-radius: 6px;
	background: var(--pel-soft);
	font-size: 14px;
	text-align: left;
	color: #444;
}
.pel-bw-hint strong { color: #111; }

.pel-bw-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pel-bw-overlay a.pel-bw-btn {
	display: inline-block;
	padding: 11px 22px;
	border: 1px solid var(--pel-teal);
	border-radius: 3px;
	background: var(--pel-teal);
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.4;
}
.pel-bw-overlay a.pel-bw-btn:hover { background: var(--pel-teal-dark); color: #fff; }
.pel-bw-overlay a.pel-bw-btn--ghost { background: transparent; color: var(--pel-teal); }
.pel-bw-overlay a.pel-bw-btn--ghost:hover { background: var(--pel-soft); color: var(--pel-teal); }
.pel-bw-overlay a.pel-bw-btn:focus-visible { outline: 3px solid rgba(13, 109, 124, .35); outline-offset: 2px; }

/* Eigene Hinweis-Seite (direkter Aufruf eines Kurzlinks) */
body.pel-bw-page { margin: 0; min-height: 100vh; background: #f4f7f8; }
body.pel-bw-page .pel-bw-overlay { background: #eef3f4; }

@media (max-width: 480px) {
	.pel-bw-body { padding: 8px 18px 22px; }
	.pel-bw-overlay h2#pel-bw-title { font-size: 19px; }
	.pel-bw-logos img { height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
	.pel-bw-dialog { animation: none; }
	.pel-bw-progress.is-running span { animation: none; width: 100%; }
}
