/* Auth component. Values are shared tokens, plugin overrides stay in this scope. */
:root {
  --control-radius: 8px;
  --control-height: 46px;
  --button-secondary-bg: #f0f3f5;
  --auth-text: #20262d;
  --auth-muted: #596570;
  --auth-line: #dce2e7;
  --auth-focus: #075985;
  --auth-error-bg: #fff0ee;
  --auth-error-text: #9a271f;
  --auth-success-bg: #edf8f0;
}
.panel_lk_recall.floatform {
  width: calc(100% - 24px);
  max-width: 440px;
  padding: 30px 28px;
  border-radius: 16px;
  box-shadow: 0 20px 80px rgb(0 0 0 / 20%);
}
.auth-panel { color: var(--auth-text); }
.panel_lk_recall .auth-panel .rcl-popup-main-content { width: 100%; max-width: 360px; margin: 0 auto; }
.panel_lk_recall .auth-panel .alf-header { margin-bottom: 22px; text-align: center; }
.panel_lk_recall .auth-panel .alf-header img { width: 40px; height: 40px; margin: 0 auto; }
.panel_lk_recall .auth-panel .alf-title { margin: 14px 0 0; font-size: 24px; line-height: 1.25; font-weight: 700; color: var(--auth-text); }
.panel_lk_recall .auth-panel .cancel-icon { width: 36px; height: 36px; top: 10px; right: 10px; background-size: 18px; background-repeat: no-repeat; border: 0; border-radius: var(--control-radius); }
.panel_lk_recall .auth-panel .cancel-icon:hover { background-color: var(--button-secondary-bg); }
.auth-providers { display: grid; gap: 10px; }
.auth-providers .rusdtp-tga { margin: 0; gap: 10px; }
.auth-providers .nsl-container { padding: 0; }
.auth-providers .nsl-container .nsl-container-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; padding: 0; }
.auth-providers .nsl-container .nsl-container-buttons > a { margin: 0; width: 100%; min-width: 0; }
.auth-providers .nsl-container .nsl-container-buttons > a:only-child { grid-column: 1 / -1; }
.auth-providers .nsl-container div.nsl-button { min-height: var(--control-height); border: 0 !important; box-shadow: none !important; border-radius: var(--control-radius); }
.auth-providers .nsl-container .nsl-button-google { background: var(--button-secondary-bg) !important; }
.auth-providers .nsl-container .nsl-button-label-container { font: 600 14px/1.4 var(--font-system, system-ui); align-self: center; }
.auth-providers .nsl-container .nsl-button:hover { filter: brightness(.96); }
.auth-providers .nsl-container .nsl-button:active { filter: brightness(.92); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--auth-muted); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; background: var(--auth-line); flex: 1; }
.auth-panel .auth-field-label { display: block; margin: 0 0 6px; font: 500 13px/1.4 var(--font-system, system-ui); color: var(--auth-text); }
.panel_lk_recall .auth-panel .form-block-rcl { margin: 0 0 14px; }
.panel_lk_recall .auth-panel .form-block-rcl:empty { display: none; }
.panel_lk_recall .auth-panel .default-field input { width: 100%; min-height: var(--control-height); padding: 11px 12px; border: 1px solid var(--auth-line); border-radius: var(--control-radius); font: 400 16px/1.4 var(--font-system, system-ui); box-sizing: border-box; }
.panel_lk_recall .auth-panel .default-field input:focus-visible { outline: 2px solid var(--auth-focus); outline-offset: 2px; }
.panel_lk_recall .auth-panel .rcl-bttn.rcl-bttn__type-primary { min-height: var(--control-height); margin: 0; padding: 13px 16px; border: 0; border-radius: var(--control-radius); font: 600 14px/1.4 var(--font-system, system-ui); }
.panel_lk_recall .auth-panel .rcl-bttn.rcl-bttn__type-primary:hover { filter: brightness(.96); }
.auth-panel :is(button,a):focus-visible { outline: 2px solid var(--auth-focus); outline-offset: 3px; }
.auth-panel .auth-hint { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--auth-muted); }
.panel_lk_recall .auth-panel .alf-footer { margin-top: 18px; }
.panel_lk_recall .auth-panel .alf-actions { gap: 12px; font-size: 14px; line-height: 1.5; }
.panel_lk_recall .auth-panel .alf-actions > div { margin: 0; flex-wrap: wrap; justify-content: center; }
.panel_lk_recall .auth-panel .alf-actions a { border: 0; padding: 4px 0; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
.auth-panel .login-error, .auth-panel .login-message { display: block; margin: 0 0 16px; padding: 12px; border: 0; border-radius: var(--control-radius); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.auth-panel .login-error { background: var(--auth-error-bg); color: var(--auth-error-text); }
.auth-panel .login-message { background: var(--auth-success-bg); color: var(--auth-text); }
@media (max-width: 480px) {
  .panel_lk_recall.floatform { padding: 26px 20px; }
  .panel_lk_recall .auth-panel .alf-title { font-size: 22px; }
  .auth-providers .rusdtp-tga button, .auth-providers .rusdtp-tga [data-tga-bot] { margin-bottom: 0; }
}
/* The mobile title receives programmatic focus without a decorative frame. */
.auth-panel .alf-title:focus { outline: 0; }
