.pm-telegram-auth-separator {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 17px 0;
	color: #839097;
	font-size: 13px;
}

.pm-telegram-auth-separator::before,
.pm-telegram-auth-separator::after {
	content: "";
	height: 1px;
	flex: 1;
	background: #e0e6e9;
}

.pm-telegram-auth-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	min-height: 48px;
	border: 0;
	border-radius: 9px;
	background: #229ed9;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .2s, transform .2s;
}

.pm-telegram-auth-button:hover {
	background: #168dc6;
	transform: translateY(-1px);
}

.pm-telegram-auth-button span {
	display: grid;
	place-items: center;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .18);
	font-size: 14px;
}

.pm-telegram-checkout {
	margin-top: 12px;
}

/* The profile column uses font-size: 0 for its legacy inline-block layout. */
.profile .pm-telegram-card {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 22px 0 0;
	padding: 20px;
	border: 1px solid #d9e4e8;
	border-radius: 13px;
	background: linear-gradient(145deg, #f8fcfe, #fff);
	color: #1c2530;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.45;
	text-align: left;
}

.profile .pm-telegram-card *,
.profile .pm-telegram-card *::before,
.profile .pm-telegram-card *::after {
	box-sizing: border-box;
}

.profile .pm-telegram-card__head {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	margin: 0 0 12px;
}

.profile .pm-telegram-card__head > div {
	min-width: 0;
}

.profile .pm-telegram-card__icon {
	display: grid;
	flex: 0 0 42px;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #229ed9;
	color: #fff;
	font-size: 20px;
	line-height: 1;
}

.profile .pm-telegram-card h3 {
	margin: 0;
	color: #1c2530;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
}

.profile .pm-telegram-card p {
	margin: 7px 0;
	color: #607078;
	font-size: 13px;
	line-height: 1.45;
}

.profile .pm-telegram-card p b {
	color: #34454d;
	font-weight: 700;
}

.profile .pm-telegram-card__status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 3px;
	color: #27804d;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
}

.profile .pm-telegram-card__actions {
	display: grid;
	grid-template-columns: minmax(150px, 1fr) auto;
	align-items: end;
	gap: 12px;
	width: 100%;
	margin: 16px 0 0;
}

.profile .pm-telegram-card__actions label,
.profile .pm-telegram-card__otp label {
	display: block;
	min-width: 0;
	margin: 0;
	color: #34454d;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.profile .pm-telegram-card__actions label span,
.profile .pm-telegram-card__otp label span {
	display: block;
	margin: 0 0 7px;
	color: #607078;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.profile .pm-telegram-card__actions select,
.profile .pm-telegram-card__otp input {
	display: block;
	width: 100%;
	min-width: 0;
	height: 46px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #c9d4d9;
	border-radius: 8px;
	outline: 0;
	background: #fff;
	color: #1c2530;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 44px;
	text-shadow: none;
}

.profile .pm-telegram-card__actions select:focus,
.profile .pm-telegram-card__otp input:focus {
	border-color: #229ed9;
	box-shadow: 0 0 0 3px rgba(34, 158, 217, .14);
}

.profile .pm-telegram-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0;
	min-height: 46px;
	margin: 0;
	padding: 10px 16px;
	border: 0;
	border-radius: 8px;
	outline: 0;
	background: #229ed9;
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-shadow: none;
	white-space: normal;
	cursor: pointer;
}

.profile .pm-telegram-card__button:hover,
.profile .pm-telegram-card__button:focus-visible {
	background: #168dc6;
}

.profile .pm-telegram-card__button:focus-visible {
	box-shadow: 0 0 0 3px rgba(34, 158, 217, .2);
}

.profile .pm-telegram-card__button--light {
	background: #edf2f4;
	color: #34454d;
}

.profile .pm-telegram-card__button--light:hover,
.profile .pm-telegram-card__button--light:focus-visible {
	background: #e1e9ec;
}

.profile .pm-telegram-card__button:disabled {
	opacity: .55;
	cursor: wait;
}

.profile .pm-telegram-card__otp {
	display: none;
	grid-template-columns: minmax(140px, 1fr) auto;
	align-items: end;
	gap: 12px;
	width: 100%;
	margin: 12px 0 0;
}

.profile .pm-telegram-card__otp.is-visible {
	display: grid;
}

.profile .pm-telegram-card__notice {
	display: none;
	margin: 12px 0 0;
	padding: 10px 12px;
	border-radius: 8px;
	background: #eff8ee;
	color: #236535;
	font-size: 13px;
	line-height: 1.4;
}

.profile .pm-telegram-card__notice.is-error {
	background: #fff0ef;
	color: #9a2b23;
}

.profile .pm-telegram-card__notice.is-visible {
	display: block;
}

@media screen and (max-width: 1199px) {
	.profile .pm-telegram-card__actions,
	.profile .pm-telegram-card__otp {
		grid-template-columns: minmax(0, 1fr);
	}

	.profile .pm-telegram-card__button {
		width: 100%;
	}
}

@media screen and (max-width: 600px) {
	.profile .pm-telegram-card {
		margin-top: 18px;
		padding: 16px;
	}

	.profile .pm-telegram-card__head {
		align-items: flex-start;
	}

	.profile .pm-telegram-card__icon {
		flex-basis: 40px;
		width: 40px;
		height: 40px;
	}

	.profile .pm-telegram-card h3 {
		font-size: 18px;
	}
}
