/* Hagemann Bewerberportal – Frontend-Styles */

.hbp-wrap {
	max-width: 720px;
	margin: 1.5em 0;
	font-size: 16px;
	line-height: 1.5;
}

.hbp-form .hbp-field {
	margin-bottom: 1.1em;
}

.hbp-field-row {
	display: flex;
	gap: 1em;
	flex-wrap: wrap;
}

.hbp-field-row .hbp-field {
	flex: 1 1 220px;
}

.hbp-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35em;
}

.hbp-form input[type="text"],
.hbp-form input[type="email"],
.hbp-form input[type="file"],
.hbp-form select,
.hbp-form textarea {
	width: 100%;
	padding: 0.6em 0.7em;
	border: 1px solid #c7ced6;
	border-radius: 6px;
	box-sizing: border-box;
	font: inherit;
}

.hbp-form input:focus,
.hbp-form select:focus,
.hbp-form textarea:focus {
	border-color: #1a5fb4;
	outline: 2px solid rgba(26, 95, 180, 0.15);
}

.hbp-field--consent label {
	font-weight: 400;
	display: flex;
	gap: 0.5em;
	align-items: flex-start;
}

.hbp-required {
	color: #c0392b;
}

.hbp-button {
	background: #1a5fb4;
	color: #fff;
	border: 0;
	border-radius: 6px;
	padding: 0.75em 1.6em;
	font-size: 1em;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}

.hbp-button:hover {
	background: #154c91;
}

.hbp-link {
	color: #1a5fb4;
}

.hbp-notice {
	padding: 0.9em 1.1em;
	border-radius: 6px;
	margin-bottom: 1.2em;
	border: 1px solid transparent;
}

.hbp-notice--success {
	background: #e8f6ec;
	border-color: #b6e0c2;
	color: #1e6b34;
}

.hbp-notice--error {
	background: #fdecea;
	border-color: #f5c2b8;
	color: #a32c1c;
}

.hbp-hint,
.hbp-status-meta {
	color: #5a6470;
	font-size: 0.92em;
}

.hbp-field small.hbp-hint {
	display: block;
	margin-top: 0.4em;
}

/* Honeypot – visuell ausblenden, aber für Bots vorhanden. */
.hbp-hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
	height: 0;
	overflow: hidden;
}

/* Status-Ergebnis */
.hbp-current-status {
	display: inline-block;
	font-size: 1.15em;
	font-weight: 700;
	padding: 0.4em 0.9em;
	border-radius: 999px;
	background: #eef2f7;
	color: #1a5fb4;
	margin: 0.3em 0 1em;
}

.hbp-status--eingestellt {
	background: #e8f6ec;
	color: #1e6b34;
}

.hbp-status--abgesagt,
.hbp-status--abgelehnt {
	background: #fdecea;
	color: #a32c1c;
}

.hbp-status--zurueckgezogen {
	background: #eceef1;
	color: #5a6470;
}

/* Status-Seite: Aktionen & Kontakt */
.hbp-status-actions {
	margin: 1.4em 0;
}

.hbp-button--secondary {
	background: #fff;
	color: #a32c1c;
	border: 1px solid #e7b9b2;
}

.hbp-button--secondary:hover {
	background: #fdf4f3;
}

.hbp-contact-box {
	margin-top: 1.8em;
	padding: 1.2em 1.3em;
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	background: #fafbfc;
}

.hbp-contact-title {
	margin: 0 0 0.5em;
	font-size: 1.05em;
}

.hbp-contact-note {
	background: #fff8e1;
	border: 1px solid #ffe2a8;
	color: #7a5b00;
	padding: 0.7em 0.9em;
	border-radius: 6px;
	font-size: 0.92em;
	margin: 0 0 1em;
}

.hbp-status-foot {
	margin-top: 1.6em;
}

/* Fortschrittsanzeige */
.hbp-progress {
	list-style: none;
	margin: 1.5em 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}

.hbp-progress-step {
	flex: 1 1 0;
	min-width: 90px;
	text-align: center;
	position: relative;
}

.hbp-progress-dot {
	display: block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #d3dae3;
	margin: 0 auto 0.4em;
	border: 3px solid #d3dae3;
}

.hbp-progress-step--done .hbp-progress-dot {
	background: #1a5fb4;
	border-color: #1a5fb4;
}

.hbp-progress-step--active .hbp-progress-dot {
	background: #fff;
	border-color: #1a5fb4;
	box-shadow: 0 0 0 4px rgba(26, 95, 180, 0.18);
}

.hbp-progress-label {
	font-size: 0.85em;
	color: #5a6470;
}

.hbp-progress-step--active .hbp-progress-label {
	color: #1a5fb4;
	font-weight: 700;
}
