/* Herroepingsknop – front-end styling (v1.0.2) */

.hrk-open-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--hrk-color, #111111);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 14px 24px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	text-decoration: none;
	transition: filter .15s ease;
}

.hrk-open-btn:hover,
.hrk-open-btn:focus {
	filter: brightness( 1.15 );
	color: #fff;
}

/* Modal */
.hrk-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding: 28px 16px;
	overflow-y: auto;
	-webkit-font-smoothing: antialiased;
}

.hrk-modal.is-open {
	display: flex;
}

.hrk-modal__overlay {
	position: fixed;
	inset: 0;
	background: rgba( 15, 23, 42, .5 );
}

.hrk-modal__dialog {
	position: relative;
	background: #fff;
	border-radius: 16px;
	max-width: 480px;
	width: 100%;
	margin: auto;
	padding: 34px 32px 30px;
	font-size: 15px;
	color: #1e293b;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.hrk-modal__close {
	position: absolute;
	top: 16px;
	right: 18px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	color: #94a3b8;
	cursor: pointer;
	transition: color .15s ease;
}

.hrk-modal__close:hover {
	color: #334155;
}

.hrk-modal__title {
	margin: 0 0 8px;
	font-size: 23px;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -.01em;
}

.hrk-modal__intro {
	margin: 0 0 22px;
	color: #64748b;
	font-size: 14.5px;
	line-height: 1.55;
}

.hrk-field {
	margin-bottom: 16px;
}

.hrk-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 7px;
	font-size: 13.5px;
	color: #334155;
}

.hrk-field input[type="text"],
.hrk-field input[type="email"],
.hrk-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 13px 15px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	font-size: 15px;
	font-family: inherit;
	color: #0f172a;
	background: #fff;
	transition: border-color .15s ease;
}

.hrk-field input::placeholder,
.hrk-field textarea::placeholder {
	color: #94a3b8;
}

.hrk-field input:focus,
.hrk-field textarea:focus {
	outline: none;
	border-color: #111111;
}

.hrk-req {
	color: #ef4444;
}

.hrk-hint {
	display: block;
	margin-top: 6px;
	color: #94a3b8;
	font-size: 12px;
}

/* Honeypot verbergen */
.hrk-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.hrk-captcha {
	margin-top: 4px;
}

.hrk-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	background: var(--hrk-color, #111111);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 15px 16px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 8px;
	transition: filter .15s ease;
}

.hrk-submit:hover {
	filter: brightness( 1.15 );
}

.hrk-submit:disabled {
	opacity: .65;
	cursor: default;
}

.hrk-submit .hrk-arrow {
	font-size: 18px;
	line-height: 1;
	transition: transform .15s ease;
}

.hrk-submit:hover .hrk-arrow {
	transform: translateX( 3px );
}

.hrk-message {
	margin: 4px 0 12px;
	font-size: 14px;
	min-height: 0;
}

.hrk-message.is-error {
	color: #b91c1c;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 8px;
	padding: 10px 12px;
}

/* Succes */
.hrk-success {
	text-align: center;
	padding: 14px 0 6px;
}

.hrk-success__icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: #ecfdf5;
	color: #16a34a;
	font-size: 30px;
	line-height: 60px;
	font-weight: 700;
}

.hrk-success h3 {
	margin: 0 0 8px;
	font-size: 19px;
	color: #0f172a;
}

.hrk-success p {
	color: #475569;
	font-size: 14.5px;
	line-height: 1.55;
}

@media ( max-width: 520px ) {
	.hrk-modal__dialog {
		padding: 28px 20px 24px;
	}
	.hrk-modal__title {
		font-size: 21px;
	}
}
