:root {
	color-scheme: light;
	font-family: Arial, Helvetica, sans-serif;
	font-synthesis: none;
}

* {
	box-sizing: border-box;
}

html,
body {
	min-height: 100%;
	margin: 0;
}

.th-otp-page {
	min-height: 100vh;
	background: #f8ae3f;
	color: #080808;
}

.th-otp-language-bar {
	position: relative;
	z-index: 4;
	width: 100%;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	background: #fff;
	border-top: 1px solid #888;
	color: #202020;
	font-size: 13px;
}

.th-otp-language-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
}

.th-otp-language-icon {
	width: 18px;
	height: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #d5d5d5;
	border-radius: 50%;
	color: #174ea6;
	font-size: 12px;
}

.th-otp-language-bar select {
	max-width: min(230px, 48vw);
	height: 27px;
	padding: 2px 23px 2px 8px;
	border: 1px solid #ddd;
	border-radius: 2px;
	background-color: #fff;
	color: #151515;
	font: inherit;
	font-size: 13px;
}

.th-otp-shell {
	position: relative;
	width: 100%;
	min-height: calc(100vh - 50px);
	margin: 0;
	padding: 14px 16px 120px;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	background: #f8ae3f;
}

.th-otp-brand {
	position: relative;
	z-index: 1;
	display: block;
	width: 180px;
	max-width: 52vw;
	height: auto;
	margin: 0 auto 61px;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.th-otp-panel {
	position: relative;
	z-index: 1;
	width: min(100%, 450px);
}

.th-otp-panel h1 {
	margin: 0 0 16px;
	text-align: center;
	font-size: 24px;
	font-weight: 600;
}

.th-otp-phone-field {
	width: 100%;
	height: 54px;
	display: flex;
	align-items: center;
	border: 1px solid #444;
	border-radius: 5px;
	background: #fff;
	overflow: hidden;
}

.th-otp-country-code {
	padding: 0 0 0 15px;
	font-size: 15px;
	font-weight: 600;
}

.th-otp-phone-field input {
	width: 100%;
	height: 100%;
	min-width: 0;
	padding: 0 14px 0 9px;
	border: 0;
	outline: 0;
	background: transparent;
	font: inherit;
	font-size: 14px;
}

.th-otp-phone-field:focus-within {
	outline: 2px solid #132a63;
	outline-offset: 2px;
}

.th-otp-phone-field input::placeholder {
	color: #555;
	opacity: 1;
}

.th-otp-help {
	margin: 7px 0 11px;
	font-size: 12px;
}

.th-otp-consent {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 22px;
	margin: 12px 0 49px;
	font-size: 13px;
}

.th-otp-consent input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #111;
}

.th-otp-consent a {
	color: inherit;
}

.th-otp-sms-notice {
	margin: 6px 0 0;
	font-size: 10px;
	line-height: 1.4;
	text-align: center;
}

.th-otp-primary {
	width: 100%;
	min-height: 44px;
	border: 0;
	border-radius: 12px;
	background: #fff;
	color: #111;
	font: inherit;
	font-size: 15px;
	cursor: pointer;
}

.th-otp-primary:hover:not(:disabled) {
	background: #f6f6f6;
}

.th-otp-primary:focus-visible,
.th-otp-text-button:focus-visible {
	outline: 2px solid #132a63;
	outline-offset: 3px;
}

.th-otp-primary:disabled {
	cursor: wait;
	opacity: 0.75;
}

.th-otp-destination {
	margin: 0 0 30px;
	text-align: center;
	font-size: 14px;
}

.th-otp-digits {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 56px 8px 30px;
}

.th-otp-digit {
	width: 100%;
	min-width: 0;
	height: 38px;
	padding: 0 0 5px;
	border: 0;
	border-bottom: 2px solid #111;
	border-radius: 0;
	outline: 0;
	background: transparent;
	color: #111;
	font: inherit;
	font-size: 25px;
	text-align: center;
}

.th-otp-digit:focus {
	border-bottom-color: #132a63;
}

.th-otp-text-button {
	position: relative;
	z-index: 1;
	display: block;
	margin: 17px auto 0;
	padding: 3px 8px;
	border: 0;
	background: transparent;
	color: #111;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

.th-otp-text-button:disabled {
	cursor: default;
	opacity: 0.7;
}

.th-otp-message {
	position: relative;
	z-index: 1;
	min-height: 24px;
	margin-top: 14px;
	font-size: 13px;
	line-height: 1.45;
	text-align: center;
}

.th-otp-message.is-error {
	color: #681919;
}

.th-otp-illustration {
	position: absolute;
	z-index: 0;
	bottom: 100px;
	left: 50%;
	width: min(270px, 34vw);
	max-height: 44vh;
	transform: translateX(-50%);
	object-fit: contain;
	object-position: bottom center;
	pointer-events: none;
}

.th-otp-footer {
	position: fixed;
	z-index: 5;
	right: 0;
	bottom: 0;
	left: 0;
	height: 82px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
	padding: 7px 18px;
	background: #fff;
	color: #909090;
	font-size: 11px;
}

.th-otp-paytm {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
}

.th-otp-paytm img {
	display: block;
	width: 74px;
	max-height: 52px;
	object-fit: contain;
}

.th-otp-recaptcha {
	position: fixed;
	left: -10000px;
	top: 0;
}

.th-otp-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

[hidden] {
	display: none !important;
}

@media (max-width: 520px) {
	.th-otp-shell {
		padding-top: 17px;
	}
	.th-otp-brand {
		width: 164px;
		margin-bottom: 54px;
	}
	.th-otp-illustration {
		width: 170px;
		max-height: 30vh;
		bottom: 94px;
	}
	.th-otp-digits {
		gap: 8px;
		margin-top: 48px;
	}
}

@media (max-height: 760px) and (min-width: 521px) {
	.th-otp-brand {
		width: 155px;
		margin-bottom: 35px;
	}
	.th-otp-illustration {
		width: 175px;
		max-height: 30vh;
		bottom: 96px;
	}
	.th-otp-shell {
		padding-top: 8px;
	}
}
