.nxtcc-auth-widget {
	width: 100%;
	margin: 0;
}

.nxtcc-login-entry {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 1.1rem 0 0;
	clear: both;
}

.nxtcc-login-entry,
.nxtcc-login-entry * {
	box-sizing: border-box;
}

.nxtcc-login-entry-separator {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 0.75rem;
	color: #6b7280;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.nxtcc-login-entry-separator:before,
.nxtcc-login-entry-separator:after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: #d1d5db;
}

.nxtcc-login-entry-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	min-height: 40px;
	padding: 0.65rem 1rem;
	border-radius: 999px;
	background: var( --nxtcc-login-btn-bg );
	color: var( --nxtcc-login-btn-text );
	font-weight: 600;
	line-height: 1.2;
	font-size: 0.98rem;
	text-align: center;
	text-decoration: none;
}

.nxtcc-login-entry-btn.is-rectangle {
	border-radius: 8px;
}

.nxtcc-login-entry-btn:hover,
.nxtcc-login-entry-btn:focus {
	color: var( --nxtcc-login-btn-text );
	text-decoration: none;
}

.nxtcc-auth-widget,
.nxtcc-auth-widget * {
	box-sizing: border-box;
}

.nxtcc-auth-card {
	width: 100%;
	max-width: 560px;
	margin: 0;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba( 0, 0, 0, 0.04 );
}

.nxtcc-auth-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid #eef2f7;
	color: #0a7c66;
}

.nxtcc-auth-title {
	font-weight: 600;
	font-variant: all-small-caps;
	letter-spacing: 0.03em;
}

.nxtcc-auth-body {
	padding: 1.25rem;
}

.nxtcc-label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.9rem;
	font-weight: 500;
	text-align: left;
}

.nxtcc-row {
	display: grid;
	grid-template-columns: 112px minmax( 0, 1fr );
	align-items: center;
	gap: 0.75rem;
}

.nxtcc-auth-body .nxtcc-country,
.nxtcc-auth-body .nxtcc-phone {
	width: 100%;
	height: 44px;
	line-height: normal;
}

.nxtcc-country {
	min-width: 0;
	border: 1px solid #d1d5db;
	border-radius: 12px;
	padding: 0.7rem 0.75rem;
	background: #fff;
	-webkit-appearance: auto;
	appearance: auto;
}

.nxtcc-phone {
	min-width: 0;
	border: 1px solid #d1d5db;
	border-radius: 12px;
	padding: 0.7rem 0.9rem;
}

.nxtcc-help {
	margin: 0.45rem 0 0;
	font-size: 0.78rem;
	color: #6b7280;
	text-align: left;
}

.nxtcc-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.nxtcc-btn-send,
.nxtcc-btn-verify,
.nxtcc-btn-change {
	min-height: 44px;
	padding: 0.7rem 1rem;
	border-radius: 12px;
	line-height: 1;
	cursor: pointer;
}

.nxtcc-btn-send,
.nxtcc-btn-verify {
	border: none;
	background: #075e54;
	color: #fff;
	font-weight: 600;
}

.nxtcc-btn-send[disabled] {
	cursor: not-allowed;
	opacity: 0.6;
}

.nxtcc-btn-change {
	border: 1px solid #d1d5db;
	background: #fff;
	color: #111827;
}

.nxtcc-actions > .nxtcc-link-alt {
	margin-inline-start: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	font-size: 0.78rem;
	line-height: 1.2;
	text-align: center;
}

.nxtcc-link-alt {
	color: #065f46;
	text-decoration: underline;
}

.nxtcc-otp-target {
	line-height: 1.5;
}

.nxtcc-otp-inputs {
	display: flex;
	gap: 0.5rem;
	margin: 0.9rem 0 0.75rem;
}

.nxtcc-otp-box {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border: 1px solid #d1d5db;
	border-radius: 12px;
	font-size: 1.1rem;
	text-align: center;
}

.nxtcc-otp-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem;
	font-size: 0.85rem;
}

.nxtcc-btn-resend {
	border: none;
	background: transparent;
	padding: 0;
	color: #065f46;
	font-size: 0.85rem;
	text-decoration: underline;
	cursor: pointer;
}

.nxtcc-btn-resend[disabled] {
	cursor: not-allowed;
	opacity: 0.55;
	text-decoration: none;
}

.nxtcc-error {
	margin-top: 0.75rem;
	border: 1px solid #fee2e2;
	border-radius: 10px;
	background: #fef2f2;
	padding: 0.65rem 0.75rem;
	color: #991b1b;
}

.nxtcc-auth-foot {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	border-top: 1px solid #eef2f7;
	border-bottom-left-radius: inherit;
	border-bottom-right-radius: inherit;
	background: #f9fafb;
	padding: 0.85rem 1.25rem;
	font-size: 0.75rem;
	color: #6b7280;
}

.nxtcc-legal {
	flex: 1 1 auto;
	margin: 0;
	line-height: 1.6;
}

.nxtcc-branding {
	flex: 0 0 auto;
	white-space: nowrap;
}

.nxtcc-branding a {
	color: #065f46;
}

.nxtcc-btn-send.is-loading {
	position: relative;
	pointer-events: none;
}

.nxtcc-btn-send .nxtcc-spinner {
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-left: 0.5em;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	vertical-align: -0.2em;
	animation: nxtcc-spin 0.6s linear infinite;
}

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

.nxtcc-auth-widget.nxtcc-phone-valid .nxtcc-phone {
	outline: none;
	box-shadow: 0 0 0 2px rgba( 16, 185, 129, 0.25 );
}

@media ( max-width: 1023px ) {
	.nxtcc-auth-card {
		max-width: 100%;
	}

	.nxtcc-auth-body {
		padding: 1.125rem;
	}

	.nxtcc-auth-foot {
		flex-direction: column;
	}

	.nxtcc-branding {
		white-space: normal;
	}
}

@media ( max-width: 640px ) {
	.nxtcc-auth-card {
		border-radius: 14px;
	}

	.nxtcc-auth-head {
		padding: 1rem;
	}

	.nxtcc-auth-body {
		padding: 1rem;
	}

	.nxtcc-row {
		grid-template-columns: 1fr;
	}

	.nxtcc-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.nxtcc-actions > * {
		width: 100%;
	}

	.nxtcc-actions > .nxtcc-link-alt {
		margin-inline-start: 0;
	}

	.nxtcc-otp-inputs {
		gap: 0.375rem;
	}

	.nxtcc-otp-box {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
		height: 46px;
	}

	.nxtcc-otp-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.nxtcc-auth-foot {
		padding: 0.8rem 1rem;
	}
}

@media ( max-width: 420px ) {
	.nxtcc-auth-head {
		padding: 0.9rem 1rem;
	}

	.nxtcc-auth-body {
		padding: 0.9rem;
	}

	.nxtcc-otp-box {
		height: 44px;
		font-size: 1rem;
	}
}
