.mnc-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	background: #1e7e34;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}

.mnc-trigger:hover {
	background: #166529;
}

.mnc-overlay {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.55);
	z-index: 99999;
	padding: 16px;
}

.mnc-overlay.mnc-open {
	display: flex;
}

.mnc-modal {
	position: relative;
	width: 100%;
	max-width: 420px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	font-family: inherit;
}

.mnc-close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: none;
	font-size: 26px;
	line-height: 1;
	color: #666;
	cursor: pointer;
}

.mnc-title {
	margin: 0 0 16px;
	font-size: 20px;
}

.mnc-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mnc-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14px;
}

.mnc-field__label {
	font-weight: 600;
	color: #333;
}

.mnc-field input,
.mnc-field select,
.mnc-field textarea {
	padding: 9px 12px;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 15px;
	width: 100%;
	box-sizing: border-box;
}

.mnc-submit {
	margin-top: 6px;
	padding: 12px;
	border: 0;
	border-radius: 8px;
	background: #1e7e34;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.mnc-submit:disabled {
	opacity: 0.6;
	cursor: wait;
}

.mnc-msg {
	display: none;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
}

.mnc-msg--ok {
	display: block;
	background: #edfaef;
	color: #1e7e34;
}

.mnc-msg--error {
	display: block;
	background: #fdeaea;
	color: #b32d2e;
}
