/* Yandex OAuth login — brand-aligned control, works with prosilver .panel */

.yandex-oauth-login-block.panel {
	margin-bottom: 12px;
	padding: 1em;
}

.yandex-oauth-login-block .yandex-oauth-login-row {
	margin: 0;
	text-align: center;
}

.yandex-oauth-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	box-sizing: border-box;
	min-height: 44px;
	padding: 10px 20px;
	max-width: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	color: #fff !important;
	background: #000;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
	-webkit-tap-highlight-color: transparent;
}

.yandex-oauth-btn:hover,
.yandex-oauth-btn:focus {
	color: #fff !important;
	background: #333;
	border-color: #333;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.yandex-oauth-btn:focus {
	outline: 2px solid #fc3f1e;
	outline-offset: 2px;
}

.yandex-oauth-btn:active {
	transform: scale(0.98);
}

.yandex-oauth-btn__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 28px;
	height: 28px;
}

.yandex-oauth-btn__logo svg {
	display: block;
	width: 28px;
	height: 28px;
}

.yandex-oauth-btn__text {
	text-align: left;
}

@media (max-width: 700px) {
	.yandex-oauth-login-block .yandex-oauth-login-row {
		display: block;
	}

	.yandex-oauth-btn {
		width: 100%;
		min-height: 48px;
		padding: 12px 18px;
		font-size: 16px;
		border-radius: 14px;
	}

	.yandex-oauth-btn__text {
		text-align: center;
		flex: 1;
	}
}
