.gh-phone-auth {
	box-sizing: border-box;
	width: min(100%, 620px);
	margin: 0 auto 24px;
	padding: 24px;
	border: 1px solid #dfcfaa;
	border-radius: 18px;
	background: #fffdf8;
}

.gh-phone-auth h2,
.gh-phone-auth > p,
.gh-phone-fallback {
	text-align: center;
}

.gh-phone-auth label:not(.gh-phone-privacy),
.gh-phone-auth input,
.gh-phone-auth select,
.gh-phone-auth .button {
	box-sizing: border-box;
	width: 100%;
}

.gh-phone-auth label {
	display: block;
	margin: 0 0 12px;
	font-weight: 700;
}

.gh-phone-auth input,
.gh-phone-auth select {
	min-height: 48px;
	margin-top: 6px;
	border: 1px solid #dfcfaa;
	border-radius: 12px;
	background: #fff;
}

.gh-phone-row {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 10px;
	margin: -8px 0 14px;
	direction: ltr;
}

.gh-phone-privacy {
	display: flex !important;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400 !important;
}

.gh-phone-privacy input {
	width: auto !important;
	min-height: 0;
	margin-top: 5px;
}

.gh-phone-auth .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border-radius: 999px;
}

.gh-phone-code-step {
	margin-top: 16px;
}

.gh-phone-code-step[hidden] {
	display: none !important;
}

.gh-phone-resend {
	display: block;
	margin: 12px auto 0;
	border: 0;
	background: transparent;
	text-decoration: underline;
	cursor: pointer;
}

.gh-phone-auth-message {
	min-height: 24px;
	margin-bottom: 8px;
	color: #18794e;
	text-align: center;
}

.gh-phone-auth-message.is-error {
	color: #b42318;
}

@media (max-width: 520px) {
	.gh-phone-auth {
		width: calc(100vw - 24px);
		padding: 18px 14px;
	}

	.gh-phone-row {
		grid-template-columns: 92px minmax(0, 1fr);
	}
}


.gh-phone-auth [hidden]{display:none!important}
