/* Вход и регистрация через VK ID, Яндекс ID и Mail.ru.
   Разметка: login.tpl (выпадающая форма «Войти»), registration.tpl, userinfo.tpl (привязка аккаунта).
   Логотипы: символы #fstr-i-vk, #fstr-i-ya, #fstr-i-mail в main.tpl.
   Ни одна сеть не включена в админке: блок скрыт целиком. */
.fstr-social { text-align: left; }
.fstr-social:not(:has(.fstr-social__btn)) { display: none; }
.fstr-social__title { font-size: 13px; font-weight: 600; color: var(--fstr-muted); margin-bottom: 8px; }
.fstr-social__list { display: flex; flex-direction: column; gap: 8px; }
.fstr-social__btn {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	height: 40px; padding: 0 14px; box-sizing: border-box;
	border: 1px solid var(--fstr-border-strong); border-radius: 8px;
	background: var(--fstr-surface); color: var(--fstr-text);
	font-weight: 500; text-decoration: none; white-space: nowrap;
	transition: background-color .15s, border-color .15s;
}
.fstr-social__btn:hover, .fstr-social__btn:focus-visible { background: var(--fstr-bg); border-color: var(--fstr-blue); color: var(--fstr-text); text-decoration: none; }
.fstr-social__logo { width: 20px; height: 20px; flex-shrink: 0; }
.fstr-social__or { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; font-size: 12px; color: var(--fstr-muted); }
.fstr-social__or::before, .fstr-social__or::after { content: ""; flex: 1; border-top: 1px solid var(--fstr-border); }

/* В выпадающей форме «Войти»: под формой, только значки в ряд */
.fstr-social--icons .fstr-social__or { margin: 16px 0 12px; }
.fstr-social--icons .fstr-social__list { flex-direction: row; justify-content: center; gap: 12px; }
.fstr-social--icons .fstr-social__btn { width: 44px; height: 44px; padding: 0; border-radius: 50%; }
.fstr-social--icons .fstr-social__logo { width: 24px; height: 24px; }

/* На страницах регистрации и профиля: кнопки в ряд */
.fstr-social--page { margin: 20px 0 8px; }
.fstr-social--page .fstr-social__list { flex-direction: row; flex-wrap: wrap; }
.fstr-social--page .fstr-social__btn { flex: 1 1 160px; }
.fstr-social--page .fstr-social__or { margin-top: 20px; }
.fstr-social--attach { margin: 4px 0; }
@media (max-width: 480px) {
	.fstr-social--page .fstr-social__list { flex-direction: column; }
	.fstr-social--page .fstr-social__btn { flex: none; }
}

/* Окно «Завершение авторизации» для нового пользователя из соцсети (engine/init.php, jQuery UI) */
.dle-popup-social-auth input[type="text"] {
	height: 38px; margin-top: 6px; padding: 0 10px; box-sizing: border-box;
	border: 1px solid var(--fstr-border-strong); border-radius: 8px; font: inherit;
}
.dle-popup-social-auth input[type="text"]:focus { border-color: var(--fstr-blue); outline: none; box-shadow: 0 0 0 3px var(--fstr-blue-soft); }
