/* Multimaak Personalisatie - frontend styling */

.mmp-personalisatie {
	margin: 1.5em 0;
	padding: 1.25em 1.25em 1em;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	background: #fafafa;
}

.mmp-personalisatie .mmp-title {
	margin: 0 0 1em;
	font-size: 1.1em;
	font-weight: 600;
}

.mmp-personalisatie .mmp-field {
	margin: 0 0 1em;
	display: flex;
	flex-direction: column;
}

.mmp-personalisatie label {
	margin-bottom: .35em;
	font-weight: 600;
}

.mmp-personalisatie .mmp-field input[type="text"] {
	width: 100%;
	padding: .6em .75em;
	border: 1px solid #ccc;
	border-radius: 5px;
	box-sizing: border-box;
	font-size: 1em;
}

.mmp-personalisatie .mmp-field input[type="text"].mmp-invalid,
.mmp-personalisatie .mmp-file-field.mmp-invalid .mmp-file-controls {
	border-color: #e2401c;
}

.mmp-personalisatie abbr.required {
	color: #e2401c;
	border: none;
	text-decoration: none;
}

/* Bestandsveld */
.mmp-file-field {
	margin-top: 1em;
	padding-top: 1em;
	border-top: 1px dashed #ddd;
}

.mmp-file-label {
	display: block;
	font-weight: 600;
	margin-bottom: .35em;
}

.mmp-file-instructions {
	margin: 0 0 .6em;
	font-size: .875em;
	color: #666;
}

.mmp-file-controls {
	display: flex;
	align-items: center;
	gap: .5em;
}

.mmp-file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	opacity: 0;
}

.mmp-file-button {
	cursor: pointer;
}

/* Voortgangsbalk */
.mmp-progress {
	margin-top: .75em;
	display: flex;
	align-items: center;
	gap: .6em;
}

.mmp-progress-bar {
	flex: 1;
	height: 10px;
	background: #e6e6e6;
	border-radius: 6px;
	overflow: hidden;
}

.mmp-progress-bar span {
	display: block;
	height: 100%;
	width: 0;
	background: #4caf50;
	transition: width .2s ease;
}

.mmp-progress-text {
	font-size: .85em;
	color: #444;
	min-width: 3em;
	text-align: right;
}

/* Resultaat na upload */
.mmp-file-result {
	margin-top: .75em;
	display: flex;
	align-items: center;
	gap: .75em;
	padding: .5em .75em;
	background: #eef7ee;
	border: 1px solid #cfe8cf;
	border-radius: 5px;
}

.mmp-file-result .mmp-file-name {
	font-weight: 600;
	word-break: break-all;
}

.mmp-file-result .mmp-file-remove {
	background: none;
	border: none;
	color: #e2401c;
	cursor: pointer;
	text-decoration: underline;
	padding: 0;
	font-size: .9em;
}

/* Foutmelding */
.mmp-error {
	margin-top: .75em;
	padding: .6em .8em;
	background: #fdecea;
	border: 1px solid #f5c6c0;
	border-radius: 5px;
	color: #a12b1b;
	font-size: .9em;
}

/* Weergave in Mijn account / e-mails */
.mmp-customer-item-meta {
	margin-top: .5em;
	font-size: .9em;
}

.mmp-customer-item-meta__title {
	margin: 0 0 .25em;
}

.mmp-customer-item-meta__list {
	margin: 0;
	padding-left: 1em;
	list-style: disc;
}

.mmp-customer-item-meta .mmp-label {
	font-weight: 600;
}
