.authplus-telegram-login,
.telegram-login-widget {
	display: flex;
	justify-content: center;
	margin: 0.35rem 0 0.75rem;
	width: 100%;
}

.authplus-social-login__btn--telegram,
.authplus-telegram-login__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	width: 100%;
	max-width: 320px;
	padding: 0.65rem 1rem;
	border-radius: 0.5rem;
	background: #54a9eb !important;
	border: 1px solid #54a9eb !important;
	color: #fff !important;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
	cursor: pointer;
}

.authplus-social-login__btn--telegram span,
.authplus-telegram-login__btn span {
	color: #fff !important;
	font-weight: 600;
}

.authplus-social-login__btn--telegram:hover,
.authplus-telegram-login__btn:hover {
	background: #2481cc !important;
	border-color: #2481cc !important;
	color: #fff !important;
	box-shadow: 0 2px 8px rgba(36, 129, 204, 0.5);
	transform: translateY(-1px);
}

.authplus-social-login__btn--telegram:hover span,
.authplus-telegram-login__btn:hover span {
	color: #fff !important;
}

.authplus-social-login__icon--telegram,
.authplus-telegram-login__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.15rem;
	line-height: 0;
	color: #fff !important;
}

.authplus-telegram-account-panel h4 i {
	color: #54a9eb;
}

.authplus-social-login__btn--compact.authplus-telegram-login__btn--compact,
.authplus-telegram-account-panel .authplus-social-login__btn--compact {
	max-width: 240px;
	font-size: 0.88rem;
	padding: 0.5rem 0.85rem;
}

#fnc-login .box-row.alter .authplus-telegram-login,
#fnc-registration .box-row.alter .authplus-telegram-login {
	width: 100%;
}

.box a.authplus-social-login__btn--telegram,
.box a.authplus-telegram-login__btn,
#fnc-login .box a.authplus-social-login__btn--telegram,
#fnc-registration .box a.authplus-social-login__btn--telegram {
	color: #fff !important;
	text-decoration: none;
}

.box a.authplus-social-login__btn--telegram:hover,
.box a.authplus-telegram-login__btn:hover,
#fnc-login .box a.authplus-social-login__btn--telegram:hover,
#fnc-registration .box a.authplus-social-login__btn--telegram:hover {
	color: #fff !important;
}

.telegram-login-page.authplus-google-page {
	min-height: 50vh;
}

.telegram-login-page .authplus-google-card h1 {
	margin: 0 0 0.5rem;
	font-size: 1.35rem;
	color: var(--fnc-text, #f3f4f6);
}

.telegram-login-page__actions {
	margin: 1rem 0 0;
	text-align: center;
}

.telegram-login-widget__noscript {
	margin: 0;
	font-size: 0.9rem;
	opacity: 0.85;
}

.telegram-widget-start__embed {
	display: flex;
	justify-content: center;
	margin-top: 0.5rem;
}

.telegram-widget-start__embed .tgme_widget_login,
.telegram-widget-start__embed .tgme_widget_login_wrap {
	width: 100%;
	max-width: 320px;
}

.telegram-widget-start__embed .tgme_widget_login_button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	width: 100% !important;
	max-width: 320px;
	min-height: 0;
	padding: 0.65rem 1rem !important;
	border-radius: 0.5rem !important;
	background: #54a9eb !important;
	border: 1px solid #54a9eb !important;
	color: #fff !important;
	font-size: 0.95rem !important;
	font-weight: 600 !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.telegram-widget-start__embed .tgme_widget_login_button:hover {
	background: #2481cc !important;
	border-color: #2481cc !important;
}

.telegram-widget-start__embed .tgme_widget_login_button_icon {
	background: transparent !important;
}

.authplus-telegram-account-panel .authplus-google-account-panel__unlink {
	margin: 0;
	display: block;
}

.authplus-telegram-account-panel .telegram-account-unlink {
	display: inline-block;
	width: auto;
	max-width: none;
	min-width: 0;
	margin: 0;
	padding: 0.15rem 0.55rem;
	font-size: 0.75rem;
	line-height: 1.25;
	border-radius: 0.35rem;
	border: 1px solid var(--fnc-border, rgba(255, 255, 255, 0.22));
	background: transparent;
	color: var(--fnc-text-muted, rgba(255, 255, 255, 0.7));
	font-weight: 500;
	cursor: pointer;
}

.authplus-telegram-account-panel .telegram-account-unlink:hover {
	color: var(--fnc-text, #fff);
	border-color: rgba(255, 255, 255, 0.38);
	background: rgba(255, 255, 255, 0.04);
}

.authplus-telegram-account-panel__success {
	color: #3d9a5f;
	font-size: 0.88rem;
	margin: 0 0 0.35rem;
}
