/* Vangstbericht Form Styles */

.vbf-form-wrapper {
	max-width: 640px;
	margin: 0 auto;
	background: #e7eef1;
	border-radius: 14px;
	padding: 32px;
	box-sizing: border-box;
}

.vbf-form {
	display: flex;
	flex-direction: column;
	gap: 22px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.vbf-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vbf-field label {
	font-weight: 600;
	font-size: 14px;
	color: #1b2733;
}

.vbf-required {
	color: #1b2733;
}

.vbf-field input[type="text"],
.vbf-field select,
.vbf-field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d4dde1;
	border-radius: 6px;
	padding: 11px 14px;
	font-size: 14px;
	background: #ffffff;
	color: #1b2733;
	font-family: inherit;
}

.vbf-field select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%23677580'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 32px;
}

.vbf-field textarea {
	resize: vertical;
	min-height: 130px;
}

.vbf-field input:focus,
.vbf-field select:focus,
.vbf-field textarea:focus {
	outline: none;
	border-color: #2aa6df;
	box-shadow: 0 0 0 3px rgba(42, 166, 223, 0.15);
}

/* Dropzone */

.vbf-dropzone {
	border: 1.5px dashed #b9c5cb;
	border-radius: 10px;
	background: #ffffff;
	text-align: center;
	padding: 48px 20px 32px;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.vbf-dropzone.vbf-dragover {
	border-color: #2aa6df;
	background-color: #f3fbff;
}

.vbf-upload-icon {
	width: 56px;
	height: 56px;
	color: #1b2733;
	margin-bottom: 18px;
}

.vbf-dropzone-text {
	margin: 0 0 6px;
	font-size: 14px;
	color: #1b2733;
}

.vbf-link-btn {
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	color: #2aa6df;
	text-decoration: underline;
	cursor: pointer;
}

.vbf-dropzone-hint {
	margin: 0;
	font-size: 13px;
	color: #8a98a1;
}

.vbf-preview-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.vbf-preview-item {
	position: relative;
	width: 84px;
	height: 84px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #d4dde1;
	background: #fff;
}

.vbf-preview-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vbf-preview-remove {
	position: absolute;
	top: 3px;
	right: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	border: none;
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vbf-preview-error {
	font-size: 12px;
	color: #c0392b;
	margin: 4px 0 0;
}

/* Checkbox / terms */

.vbf-checkbox-field {
	gap: 0;
}

.vbf-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 400;
	font-size: 14px;
	color: #1b2733;
	cursor: pointer;
}

.vbf-checkbox-label input[type="checkbox"] {
	margin-top: 3px;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.vbf-checkbox-label a {
	color: #2aa6df;
	text-decoration: none;
}

.vbf-checkbox-label a:hover {
	text-decoration: underline;
}

/* Submit button */

.vbf-submit-btn {
	align-self: flex-start;
	background: #2aa6df;
	color: #ffffff;
	border: none;
	border-radius: 20px;
	padding: 12px 28px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease, opacity 0.15s ease;
}

.vbf-submit-btn:hover {
	background-color: #1f93c8;
}

.vbf-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Status message */

.vbf-form-message {
	display: none;
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 14px;
}

.vbf-form-message.vbf-success {
	display: block;
	background: #e3f6e8;
	color: #2c7a3d;
	border: 1px solid #b9e5c4;
}

.vbf-form-message.vbf-error {
	display: block;
	background: #fdecea;
	color: #c0392b;
	border: 1px solid #f5c2bd;
}

@media (max-width: 480px) {
	.vbf-form-wrapper {
		padding: 20px;
		border-radius: 10px;
	}
	.vbf-dropzone {
		padding: 32px 14px 24px;
	}
}
