.zgn-izi {
	margin: 12px 0;
	display: flex;
	justify-content: flex-end;
}

.zgn-izi-trigger {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border: none;
	border-radius: 999px;
	background: #2e9e44;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.zgn-izi-trigger-icon {
	flex: none;
}

.zgn-izi-trigger:hover {
	background: #268239;
}

.zgn-izi-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, .5);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.zgn-izi-modal[hidden] {
	display: none;
}

.zgn-izi-modal-inner {
	position: relative;
	background: #fff;
	border-radius: 10px;
	padding: 24px;
	max-width: 520px;
	width: 100%;
	max-height: 85vh;
	overflow-y: auto;
	box-sizing: border-box;
}

.zgn-izi-modal-inner h3 {
	margin: 0 0 8px;
	padding-right: 28px;
}

.zgn-izi-close {
	position: absolute;
	top: 12px;
	right: 12px;
	border: none;
	background: none;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.zgn-izi-hint {
	font-size: 13px;
	color: #666;
	margin: 0 0 20px;
}

.zgn-izi-hint-inline {
	font-size: 11px;
	color: #888;
	font-weight: normal;
}

.zgn-izi-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 18px;
}

.zgn-izi-form input,
.zgn-izi-form select,
.zgn-izi-form textarea {
	display: block;
	width: 100%;
	min-width: 0;
	margin-top: 6px;
	padding: 10px 12px;
	font-size: 14px;
	font-weight: normal;
	font-family: inherit;
	color: #1d2327;
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 6px;
	box-sizing: border-box;
}

.zgn-izi-form input:focus,
.zgn-izi-form select:focus,
.zgn-izi-form textarea:focus {
	outline: none;
	border-color: #2e9e44;
	box-shadow: 0 0 0 2px rgba(46, 158, 68, .2);
}

.zgn-izi-form select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23666'%3E%3Cpath d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='%23666' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 18px;
	padding-right: 34px;
}

.zgn-izi-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	min-width: 0;
}

.zgn-izi-row label {
	min-width: 0;
}

.zgn-izi-block {
	grid-column: 1 / -1;
}

@media (max-width: 480px) {
	.zgn-izi-row {
		grid-template-columns: 1fr;
	}
}

.zgn-izi-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.zgn-izi-msg {
	font-size: 13px;
	margin: 8px 0;
}

.zgn-izi-msg.is-error {
	color: #c00;
}

.zgn-izi-msg.is-success {
	color: #1a7a1a;
}

.zgn-izi-submit {
	cursor: pointer;
	width: 100%;
	padding: 12px 20px;
	border: none;
	border-radius: 999px;
	background: #2e9e44;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
}

.zgn-izi-submit:hover {
	background: #268239;
}

.zgn-izi-submit:disabled {
	opacity: .6;
	cursor: default;
}
