.eiv-open-btn {
	background: #1b4332;
	color: #fff;
	border: none;
	padding: 14px 28px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.15s ease;
}
.eiv-open-btn:hover { background: #143028; }

.eiv-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 20, 0.6);
	z-index: 100000;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	transition: opacity 0.15s ease;
}
.eiv-overlay.eiv-visible {
	display: flex !important;
	opacity: 1;
}

.eiv-modal {
	background: #fff;
	width: 100%;
	max-width: 720px;
	max-height: 88vh;
	overflow-y: auto;
	border-radius: 10px;
	padding: 36px 40px;
	position: relative;
	box-shadow: 0 20px 60px rgba(0,0,0,0.3);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #1a1a1a;
}

.eiv-close {
	position: absolute;
	top: 14px;
	right: 18px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #888;
}
.eiv-close:hover { color: #222; }

.eiv-modal-title {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 8px;
}
.eiv-modal-title.eiv-center { text-align: center; }

.eiv-modal-desc {
	color: #555;
	font-size: 14px;
	margin: 0 0 24px;
	line-height: 1.5;
}

.eiv-boxes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
@media (max-width: 600px) {
	.eiv-boxes { grid-template-columns: 1fr; }
}

.eiv-box {
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.eiv-box:hover { border-color: #1b4332; box-shadow: 0 4px 14px rgba(27,67,50,0.12); }
.eiv-box h3 { font-size: 16px; margin: 0 0 10px; }
.eiv-box p { font-size: 13px; color: #666; line-height: 1.5; margin: 0 0 18px; }

.eiv-continue-btn,
.eiv-back-btn {
	border: none;
	padding: 11px 22px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.eiv-continue-btn { background: #1b4332; color: #fff; }
.eiv-continue-btn:hover { background: #143028; }
.eiv-continue-btn:disabled { background: #9bb3ab; cursor: not-allowed; }
.eiv-back-btn { background: #f0f0f0; color: #333; margin-right: auto; }
.eiv-back-btn:hover { background: #e2e2e2; }

.eiv-btn-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
}

.eiv-app-number-row {
	text-align: center;
	margin-bottom: 20px;
}
.eiv-app-number-row label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #888;
	margin-bottom: 6px;
}
.eiv-app-number-row input {
	text-align: center;
	font-weight: 700;
	font-size: 16px;
	border: 1px dashed #ccc;
	border-radius: 6px;
	padding: 8px 14px;
	background: #fafafa;
	color: #1b4332;
	width: 220px;
}

.eiv-employee-count-row {
	margin-bottom: 22px;
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
}
.eiv-employee-count-row select {
	padding: 8px 12px;
	border-radius: 6px;
	border: 1px solid #ccc;
}

.eiv-employee-block {
	border-top: 2px solid #f0f0f0;
	padding-top: 18px;
	margin-top: 18px;
}
.eiv-employee-heading {
	font-size: 16px;
	color: #1b4332;
	margin-bottom: 10px;
}
.eiv-section-heading {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #888;
	margin: 18px 0 10px;
}

.eiv-field-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
@media (max-width: 600px) {
	.eiv-field-grid { grid-template-columns: 1fr; }
}

.eiv-field label {
	display: block;
	font-size: 12px;
	color: #444;
	margin-bottom: 5px;
}
.eiv-field input[type="text"],
.eiv-field input[type="email"],
.eiv-field input[type="tel"],
.eiv-field input[type="file"],
.eiv-field select {
	width: 100%;
	padding: 9px 11px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 13px;
	box-sizing: border-box;
	background: #fff;
}
.eiv-field input:focus,
.eiv-field select:focus { outline: none; border-color: #1b4332; }
.eiv-optional { font-weight: 400; color: #999; }
.eiv-doc-hint { font-size: 12px; color: #888; margin: 18px 0 10px; }

.eiv-doc-upload-slot:empty { display: none; }
.eiv-doc-upload-slot {
	margin-top: 10px;
}
.eiv-doc-upload-slot label {
	display: block;
	font-size: 12px;
	color: #444;
	margin-bottom: 5px;
}

.eiv-price-summary {
	background: #f7f8f7;
	border-radius: 8px;
	padding: 16px 20px;
	margin-top: 24px;
}
.eiv-price-row {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	padding: 5px 0;
	color: #444;
}
.eiv-price-total {
	border-top: 1px solid #ddd;
	margin-top: 6px;
	padding-top: 10px;
	font-weight: 700;
	font-size: 16px;
	color: #1b4332;
}

.eiv-form-error { color: #c0392b; font-size: 13px; margin: 10px 0 0; }

.eiv-webcam-wrap {
	display: flex;
	justify-content: center;
	margin: 10px 0 20px;
}
#eivWebcamVideo, #eivWebcamPreview {
	width: 100%;
	max-width: 420px;
	border-radius: 8px;
	background: #000;
}

.eiv-order-summary-title {
	text-align: center;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #888;
	margin: -10px 0 4px;
}

.eiv-app-number-final {
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	color: #1b4332;
	margin: 10px 0 20px;
}

/* Tracker shortcode */
.eiv-tracker-wrap {
	max-width: 480px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.eiv-tracker-row {
	display: flex;
	gap: 10px;
	margin: 12px 0;
}
.eiv-tracker-row input {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
}
.eiv-tracker-row button {
	background: #1b4332;
	color: #fff;
	border: none;
	padding: 10px 18px;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
}
.eiv-tracker-result p { margin: 4px 0; font-size: 14px; }
.eiv-tracker-result .eiv-error { color: #c0392b; }
