.otix-imei-check {
	--otix-orange: #ff6733;
	--otix-orange-dark: #ef4f1f;
	--otix-orange-soft: #fff2ec;
	--otix-ink: #121212;
	--otix-text: #5f6368;
	--otix-muted: #7b818a;
	--otix-line: #e9eaec;
	--otix-line-strong: #dfe2e6;
	--otix-surface: #ffffff;
	--otix-soft: #fbfbfc;
	--otix-green: #129246;
	--otix-green-soft: #eaf8ef;
	--otix-red: #d92d20;
	--otix-red-soft: #fff0ef;
	--otix-outline: rgba(255, 103, 51, 0.22);
	--otix-outline-soft: rgba(255, 103, 51, 0.06);

	box-sizing: border-box;
	position: relative;
	isolation: isolate;
	container-type: inline-size;
	width: 100%;
	max-width: 620px;
	margin: 24px auto;
	padding: 0;
	border: 1px solid var(--otix-outline);
	border-radius: 18px;
	background: linear-gradient(180deg, #ffffff 0%, #ffffff 72%, #fffaf7 100%);
	color: var(--otix-text);
	box-shadow:
		0 0 0 5px var(--otix-outline-soft),
		0 18px 44px rgba(18, 18, 18, 0.09);
	font-family: Inter, "Plus Jakarta Sans", Arial, sans-serif;
	overflow: hidden;
}

.otix-imei-check *,
.otix-imei-check *::before,
.otix-imei-check *::after {
	box-sizing: border-box;
}

.otix-imei-check::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(255, 103, 51, 0.08);
	pointer-events: none;
}

.otix-imei-check__header {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	justify-content: space-between;
	margin: 0;
	padding: 24px 24px 14px;
	border-bottom: 0;
}

.otix-imei-check__header > div {
	position: relative;
	min-width: 0;
	padding-left: 15px;
}

.otix-imei-check__header > div::before {
	content: "";
	position: absolute;
	top: 1px;
	left: 0;
	width: 4px;
	height: 46px;
	border-radius: 999px;
	background: var(--otix-orange);
}

.otix-imei-check__eyebrow {
	margin: 0;
	color: var(--otix-orange);
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.otix-imei-check h2,
.otix-imei-check h3 {
	margin: 0;
	color: var(--otix-ink);
	font-family: "Plus Jakarta Sans", Inter, Arial, sans-serif;
	font-weight: 850;
	letter-spacing: 0;
	line-height: 1.18;
}

.otix-imei-check h2 {
	max-width: 100%;
	font-size: 26px;
	overflow-wrap: anywhere;
}

.otix-imei-check__badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 168px;
	min-height: 28px;
	padding: 6px 10px;
	border: 1px solid rgba(255, 103, 51, 0.24);
	border-radius: 999px;
	background: var(--otix-orange-soft);
	color: var(--otix-orange-dark);
	font-size: 11px;
	font-weight: 850;
	line-height: 1.1;
	text-align: center;
	white-space: normal;
	overflow-wrap: anywhere;
}

.otix-imei-check__form {
	margin: 0;
	padding: 0 24px 24px;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.otix-imei-check__field {
	padding: 16px;
	border: 1px solid rgba(18, 18, 18, 0.07);
	border-radius: 16px;
	background: linear-gradient(180deg, #fbfbfc 0%, #ffffff 100%);
	box-shadow:
		inset 0 0 0 1px rgba(255, 103, 51, 0.055),
		0 8px 22px rgba(18, 18, 18, 0.035);
}

.otix-imei-check__field label {
	display: block;
	margin: 0 0 10px;
	color: var(--otix-ink);
	font-size: 13px;
	font-weight: 850;
	line-height: 1.3;
}

.otix-imei-check__input-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 136px;
	gap: 10px;
	align-items: stretch;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.otix-imei-check input[type="text"] {
	appearance: none;
	width: 100%;
	min-width: 0;
	height: 52px;
	margin: 0;
	border: 1px solid var(--otix-line-strong);
	border-radius: 11px;
	background: #ffffff;
	color: var(--otix-ink);
	font: inherit;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	padding: 0 14px;
	outline: none;
	box-shadow:
		inset 0 1px 2px rgba(18, 18, 18, 0.025),
		0 1px 0 rgba(255, 255, 255, 0.9);
	transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.otix-imei-check input[type="text"]::placeholder {
	color: #9aa0a6;
	font-weight: 650;
	opacity: 1;
}

.otix-imei-check input[type="text"]:hover {
	border-color: rgba(255, 103, 51, 0.42);
}

.otix-imei-check input[type="text"]:focus {
	border-color: var(--otix-orange);
	background: #fffdfc;
	box-shadow:
		0 0 0 4px rgba(255, 103, 51, 0.14),
		inset 0 1px 2px rgba(18, 18, 18, 0.025);
}

.otix-imei-check__submit {
	appearance: none;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 136px;
	height: 52px;
	min-width: 136px;
	margin: 0;
	border: 0;
	border-radius: 11px;
	background: var(--otix-orange);
	color: #ffffff;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
	padding: 0 16px;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 10px 20px rgba(255, 103, 51, 0.26);
	transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease, background 140ms ease;
}

.otix-imei-check__submit:hover,
.otix-imei-check__submit:focus {
	background: var(--otix-orange-dark);
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow:
		0 0 0 4px rgba(255, 103, 51, 0.14),
		0 14px 26px rgba(255, 103, 51, 0.3);
	outline: none;
}

.otix-imei-check__submit:disabled {
	cursor: wait;
	opacity: 0.88;
	transform: none;
	box-shadow: 0 8px 18px rgba(255, 103, 51, 0.2);
}

.otix-imei-check__submit.is-loading span {
	visibility: hidden;
}

.otix-imei-check__submit.is-loading::after {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.45);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: otix-imei-spin 760ms linear infinite;
}

.otix-imei-check__captcha {
	min-height: 65px;
	margin-top: 12px;
	padding: 12px;
	border: 1px solid var(--otix-line);
	border-radius: 14px;
	background: #ffffff;
	box-shadow: inset 0 0 0 1px rgba(255, 103, 51, 0.045);
	display: flex;
	justify-content: center;
	overflow: hidden;
}

.otix-imei-check__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.otix-imei-check__message {
	min-height: 20px;
	margin: 11px 4px 0;
	color: var(--otix-orange-dark);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.45;
}

.otix-imei-check__message.is-error {
	color: var(--otix-red);
}

.otix-imei-check__message.is-success {
	color: var(--otix-green);
}

.otix-imei-check-modal-open {
	overflow: hidden;
}

.otix-imei-check__modal {
	--otix-orange: #ff6733;
	--otix-orange-dark: #ef4f1f;
	--otix-orange-soft: #fff2ec;
	--otix-ink: #121212;
	--otix-text: #5f6368;
	--otix-muted: #7b818a;
	--otix-line: #e9eaec;
	--otix-surface: #ffffff;
	--otix-soft: #f8f9fa;
	--otix-green: #129246;
	--otix-green-soft: #eaf8ef;
	--otix-red: #d92d20;
	--otix-red-soft: #fff0ef;
	--otix-outline: rgba(255, 103, 51, 0.2);

	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 18px;
	font-family: Inter, "Plus Jakarta Sans", Arial, sans-serif;
}

.otix-imei-check__modal[hidden] {
	display: none !important;
}

.otix-imei-check__modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(18, 18, 18, 0.58);
	backdrop-filter: blur(4px);
}

.otix-imei-check__modal-panel {
	position: relative;
	width: min(100%, 540px);
	max-height: min(660px, calc(100vh - 36px));
	overflow: auto;
	padding: 0;
	border: 1px solid var(--otix-outline);
	border-radius: 18px;
	background: var(--otix-surface);
	color: var(--otix-text);
	box-shadow:
		0 0 0 5px rgba(255, 103, 51, 0.055),
		0 26px 72px rgba(0, 0, 0, 0.24);
	outline: none;
}

.otix-imei-check__modal-close {
	appearance: none;
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0;
	border: 1px solid var(--otix-line);
	border-radius: 999px;
	background: #ffffff;
	color: var(--otix-ink);
	cursor: pointer;
	font: inherit;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	padding: 0;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.otix-imei-check__modal-close:hover,
.otix-imei-check__modal-close:focus {
	color: var(--otix-orange-dark);
	border-color: rgba(255, 103, 51, 0.28);
	outline: none;
}

.otix-imei-check__modal .otix-imei-check__result {
	margin: 0;
	padding: 24px 22px 22px;
}

.otix-imei-check__modal .otix-imei-check__result-card {
	border-top: 0;
	padding-top: 0;
}

.otix-imei-check__result-card,
.otix-imei-check__loading {
	width: 100%;
	border-top: 1px solid var(--otix-line);
	padding-top: 18px;
}

.otix-imei-check__result-card h3 {
	display: flex;
	gap: 10px;
	align-items: center;
	margin: 0 0 14px;
	padding-right: 44px;
	color: var(--otix-ink);
	font-size: 21px;
	font-weight: 850;
	line-height: 1.2;
}

.otix-imei-check__result-card h3::before {
	content: "";
	flex: 0 0 auto;
	width: 4px;
	height: 24px;
	border-radius: 999px;
	background: var(--otix-orange);
}

.otix-imei-check__result-card dl {
	display: grid;
	gap: 0;
	margin: 0;
	border: 1px solid rgba(18, 18, 18, 0.08);
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 0 0 1px rgba(255, 103, 51, 0.045);
	overflow: hidden;
}

.otix-imei-check__result-card dl > div {
	display: grid;
	grid-template-columns: minmax(136px, 0.34fr) minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	min-height: 48px;
	padding: 12px 14px;
	border-bottom: 1px solid var(--otix-line);
}

.otix-imei-check__result-card dl > div:nth-child(odd) {
	background: #fafafa;
}

.otix-imei-check__result-card dl > div:last-child {
	border-bottom: 0;
}

.otix-imei-check__result-card dt {
	color: var(--otix-muted);
	font-size: 12px;
	font-weight: 850;
	line-height: 1.35;
}

.otix-imei-check__result-card dd {
	margin: 0;
	color: var(--otix-ink);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.otix-imei-check__result-card dd.is-good,
.otix-imei-check__result-card dd.is-bad {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 28px;
	padding: 5px 10px;
	border-radius: 999px;
}

.otix-imei-check__result-card dd.is-good {
	background: var(--otix-green-soft);
	color: var(--otix-green);
}

.otix-imei-check__result-card dd.is-bad {
	background: var(--otix-red-soft);
	color: var(--otix-red);
}

.otix-imei-check__result-card pre {
	max-width: 100%;
	margin: 0;
	overflow: auto;
	white-space: pre-wrap;
	color: var(--otix-ink);
	font: inherit;
}

.otix-imei-check__loading {
	display: grid;
	gap: 12px;
	min-height: 142px;
}

.otix-imei-check__loading-line {
	display: block;
	height: 14px;
	border-radius: 999px;
	background: linear-gradient(90deg, #f0f0f0, #fff2ec, #f0f0f0);
	background-size: 220% 100%;
	animation: otix-imei-pulse 1.2s ease-in-out infinite;
}

.otix-imei-check__loading-line:nth-child(1) {
	width: 38%;
}

.otix-imei-check__loading-line:nth-child(2) {
	width: 78%;
}

.otix-imei-check__loading-line:nth-child(3) {
	width: 64%;
}

.otix-imei-check__loading-line:nth-child(4) {
	width: 84%;
}

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

@keyframes otix-imei-pulse {
	0% {
		background-position: 120% 0;
	}

	100% {
		background-position: -120% 0;
	}
}

@container (max-width: 560px) {
	.otix-imei-check__input-row {
		grid-template-columns: 1fr;
	}

	.otix-imei-check input[type="text"],
	.otix-imei-check__submit {
		width: 100%;
		min-width: 0;
	}
}

@container (max-width: 480px) {
	.otix-imei-check {
		border-radius: 18px;
		border-color: rgba(255, 103, 51, 0.28);
		box-shadow: 0 14px 30px rgba(18, 18, 18, 0.1);
	}

	.otix-imei-check::after {
		box-shadow:
			inset 0 0 0 2px rgba(255, 103, 51, 0.18),
			inset 0 0 0 6px rgba(255, 103, 51, 0.04);
	}

	.otix-imei-check__header {
		flex-direction: column;
		gap: 12px;
		padding: 22px 18px 14px;
	}

	.otix-imei-check__header > div {
		padding-left: 14px;
	}

	.otix-imei-check__header > div::before {
		height: 44px;
	}

	.otix-imei-check h2 {
		font-size: 22px;
	}

	.otix-imei-check__badge {
		justify-self: start;
		max-width: 100%;
	}

	.otix-imei-check__form {
		padding: 0 18px 18px;
	}

	.otix-imei-check__field {
		padding: 14px;
		border-color: rgba(255, 103, 51, 0.16);
		border-radius: 14px;
		box-shadow:
			inset 0 0 0 1px rgba(255, 103, 51, 0.08),
			0 8px 18px rgba(18, 18, 18, 0.035);
	}

	.otix-imei-check__input-row {
		gap: 10px;
	}

	.otix-imei-check input[type="text"],
	.otix-imei-check__submit {
		height: 50px;
	}

	.otix-imei-check__captcha {
		padding: 10px;
	}
}

@media (max-width: 560px) {
	.otix-imei-check {
		width: calc(100% - 24px);
		max-width: calc(100% - 24px);
		margin: 16px auto;
	}

	.otix-imei-check__modal {
		align-items: end;
		place-items: end center;
		padding: 8px 8px 0;
	}

	.otix-imei-check__modal-panel {
		width: 100%;
		max-height: 86vh;
		border-bottom: 0;
		border-right: 1px solid var(--otix-outline);
		border-left: 1px solid var(--otix-outline);
		border-radius: 18px 18px 0 0;
		box-shadow:
			0 0 0 4px rgba(255, 103, 51, 0.055),
			0 20px 54px rgba(0, 0, 0, 0.24);
	}

	.otix-imei-check__modal .otix-imei-check__result {
		padding: 24px 14px 16px;
	}

	.otix-imei-check__modal .otix-imei-check__result-card h3 {
		margin-bottom: 12px;
		padding-right: 42px;
		font-size: 19px;
	}

	.otix-imei-check__modal .otix-imei-check__result-card dl > div {
		grid-template-columns: 1fr;
		gap: 4px;
		min-height: 0;
		padding: 12px;
	}
}

@media (max-width: 380px) {
	.otix-imei-check h2 {
		font-size: 20px;
	}

	.otix-imei-check input[type="text"] {
		font-size: 15px;
	}

	.otix-imei-check__captcha .cf-turnstile {
		transform: scale(0.92);
		transform-origin: center;
	}
}
