.apev-verifier,
.apev-verifier * {
	box-sizing: border-box;
}

.apev-verifier {
	--apev-green: #25c589;
	--apev-green-soft: rgba(37, 197, 137, 0.2);
	--apev-red: #ff4b4f;
	--apev-red-soft: rgba(255, 75, 79, 0.2);
	--apev-gold: #ffb321;
	--apev-gold-soft: rgba(255, 179, 33, 0.16);
	--apev-text: #ffffff;
	--apev-muted: #b5b8ba;
	--apev-border: #45494b;
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(360px, 2fr);
	gap: 20px;
	width: 100%;
	min-height: 350px;
	padding: 0;
	overflow: hidden;
	font-family: Poppins, "Segoe UI", Arial, sans-serif;
	color: var(--apev-text);
	color-scheme: dark;
	background: transparent;
}

.apev-verifier::before {
	display: none;
	content: none;
}

.apev-card {
	position: relative;
	min-width: 0;
	min-height: 350px;
	border: 1px solid var(--apev-border);
	border-radius: 9px;
	background: #1a1c1c;
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.apev-form-card {
	padding: 31px 30px 29px;
}

.apev-verify-form {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
}

.apev-field {
	width: 100%;
	margin: 0 0 22px;
}

.apev-field-compact {
	width: 50%;
	min-width: 330px;
	margin-bottom: 32px;
}

.apev-field label {
	display: block;
	margin: 0 0 9px;
	padding: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
	color: #f3f4f4;
}

.apev-select-wrap {
	position: relative;
}

.apev-select-wrap::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 17px;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid #b0b3b5;
	border-bottom: 1.5px solid #b0b3b5;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

.apev-field select,
.apev-field input {
	display: block;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 15px;
	border: 1px solid #4a4e50;
	border-radius: 5px;
	outline: none;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 50px;
	color: #f7f7f7;
	background: #0e1010;
	box-shadow: none;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.apev-field select {
	padding-right: 42px;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.apev-field select option {
	color: #f7f7f7;
	background: #181919;
}

.apev-field input::placeholder {
	color: #727579;
	opacity: 1;
}

.apev-field select:focus,
.apev-field input:focus {
	border-color: var(--apev-green);
	box-shadow: 0 0 0 3px rgba(37, 197, 137, 0.13);
}

.apev-verifier.apev-is-success .apev-account-input {
	border-color: var(--apev-green);
}

.apev-verifier.apev-is-error .apev-account-input {
	border-color: var(--apev-red);
}

.apev-example {
	margin: 7px 0 0;
	padding: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
	color: #aeb1b3;
}

.apev-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 50%;
	min-width: 330px;
	height: 44px;
	margin: 1px 0 0;
	padding: 0 24px;
	border: 0;
	border-radius: 7px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
	background: var(--apev-green);
	box-shadow: 0 8px 22px rgba(37, 197, 137, 0.16);
	cursor: pointer;
	transition: background-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.apev-submit:hover,
.apev-submit:focus-visible {
	color: #fff;
	background: #1eb27b;
	transform: translateY(-1px);
	box-shadow: 0 10px 26px rgba(37, 197, 137, 0.23);
}

.apev-submit:disabled {
	opacity: 0.7;
	cursor: wait;
	transform: none;
}

.apev-submit svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.apev-result-card {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px 32px;
	overflow: hidden;
	background: #171919;
	transition: background 220ms ease;
}

.apev-is-idle .apev-result-card {
	border-color: rgba(255, 179, 33, 0.38);
}

.apev-is-success .apev-result-card {
	border-color: rgba(37, 197, 137, 0.48);
}

.apev-is-error .apev-result-card {
	border-color: rgba(255, 75, 79, 0.48);
}

.apev-result-card::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 220ms ease;
}

.apev-is-success .apev-result-card::before {
	opacity: 1;
	background:
		radial-gradient(circle at 0 0, var(--apev-green-soft), transparent 58%),
		linear-gradient(145deg, rgba(37, 197, 137, 0.055), transparent 58%);
}

.apev-is-idle .apev-result-card::before {
	opacity: 1;
	background:
		radial-gradient(circle at 0 0, var(--apev-gold-soft), transparent 58%),
		linear-gradient(145deg, rgba(255, 179, 33, 0.03), transparent 58%);
}

.apev-is-error .apev-result-card::before {
	opacity: 1;
	background:
		radial-gradient(circle at 0 0, var(--apev-red-soft), transparent 58%),
		linear-gradient(145deg, rgba(255, 75, 79, 0.045), transparent 58%);
}

.apev-result {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: 100%;
	text-align: center;
	opacity: 0;
	transform: translateY(5px);
	transition: opacity 180ms ease, transform 180ms ease;
}

.apev-verifier.apev-has-result .apev-result,
.apev-verifier.apev-is-loading .apev-result,
.apev-verifier.apev-is-idle .apev-result {
	opacity: 1;
	transform: translateY(0);
}

.apev-result-icon {
	position: relative;
	width: 58px;
	height: 58px;
	margin: 0 0 14px;
}

.apev-result-icon > svg {
	display: none;
	width: 58px;
	height: 58px;
	overflow: visible;
}

.apev-icon-success circle,
.apev-icon-error circle {
	stroke: none;
}

.apev-icon-idle .apev-shield {
	fill: var(--apev-gold);
}

.apev-icon-idle .apev-person {
	fill: #171818;
}

.apev-icon-success circle {
	fill: var(--apev-green);
}

.apev-icon-error circle {
	fill: var(--apev-red);
}

.apev-icon-success path,
.apev-icon-error path {
	fill: none;
	stroke: #fff;
	stroke-width: 6;
	stroke-linecap: square;
	stroke-linejoin: miter;
}

.apev-is-success .apev-icon-success,
.apev-is-error .apev-icon-error,
.apev-is-idle .apev-icon-idle {
	display: block;
}

.apev-spinner {
	display: none;
	width: 46px;
	height: 46px;
	margin: 6px;
	border: 4px solid rgba(37, 197, 137, 0.17);
	border-top-color: var(--apev-green);
	border-radius: 50%;
	animation: apev-spin 700ms linear infinite;
}

.apev-is-loading .apev-spinner {
	display: block;
}

.apev-result-message {
	max-width: 500px;
	margin: 0;
	padding: 0;
	font-size: 15.5px;
	font-weight: 400;
	line-height: 1.55;
	color: var(--apev-muted);
}

.apev-is-success .apev-result-message {
	color: #31e49a;
}

.apev-is-error .apev-result-message {
	color: #ff686c;
}

.apev-is-idle .apev-result-message {
	color: #e0e2e3;
}

.apev-employee-name {
	display: none;
	margin: 7px 0 0;
	font-size: 14px;
	color: #b9bbbd;
}

.apev-employee-name:not(:empty) {
	display: block;
}

@keyframes apev-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
	.apev-verifier {
		grid-template-columns: 1fr;
		padding: 0;
	}

	.apev-card {
		min-height: 0;
	}

	.apev-result-card {
		min-height: 260px;
	}

	.apev-verifier::before {
		right: 28px;
	}
}

@media (max-width: 600px) {
	.apev-verifier {
		gap: 14px;
		padding: 0;
	}

	.apev-form-card {
		padding: 25px 20px 22px;
	}

	.apev-field-compact,
	.apev-submit {
		width: 100%;
		min-width: 0;
	}

	.apev-field-compact {
		margin-bottom: 25px;
	}

	.apev-field label {
		font-size: 15px;
	}

	.apev-result-card {
		min-height: 235px;
		padding: 25px 20px;
	}

	.apev-result-message {
		font-size: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.apev-verifier *,
	.apev-verifier *::before,
	.apev-verifier *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
