/* Исключительный auth-паттерн GetMeBack: login, 08.10.2026.
   Scoped: не меняет поля/свитчи обычной админки и не требует Bootstrap. */
@font-face { font-family: 'GMB Auth Gilroy'; src: url('./assets/auth-gilroy-regular.woff') format('woff'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'GMB Auth Gilroy'; src: url('./assets/auth-gilroy-medium.woff') format('woff'); font-style: normal; font-weight: 500; font-display: swap; }
.gmb-auth-page { margin: 0; background: #f7f7f7; }
.gmb-auth-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 100svh; padding: 10px; box-sizing: border-box; }
.gmb-auth { display: flex; width: 100%; max-width: 960px; border-radius: 10px; box-shadow: 6px 6px 8px rgb(0 0 0 / 10%); color: #333; font: 400 13px/1.473 Arial, 'Droid Sans', sans-serif; }
.gmb-auth *, .gmb-auth *::before, .gmb-auth *::after { box-sizing: border-box; }
.gmb-auth [hidden] { display: none !important; }
.gmb-auth p { margin: 0; }
.gmb-auth__welcome { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 50%; padding: 50px 50px 13px; border-radius: 10px 0 0 10px; color: #fff; background: #3f9adb; }
.gmb-auth__logo img { display: block; width: calc(100% - 40px); margin: 0 20px 20px; border: 0; }
.gmb-auth__safe { position: relative; flex-shrink: 0; width: 200px; height: 200px; margin: 35px 0 50px; }
.gmb-auth__safe::before { content: ''; position: absolute; top: 9px; left: 0; right: 0; z-index: 10; width: 14px; height: 12px; margin: auto; background: url('./assets/auth-pointer.svg') no-repeat center / contain; }
.gmb-auth__safe img { position: absolute; inset: 0; display: block; width: 200px; height: 200px; border-radius: 50%; }
.gmb-auth__dial { transition: transform 500ms ease-in-out 200ms; box-shadow: 0 0 10px rgb(0 0 0 / 25%); }
.gmb-auth__safe.is-rejected .gmb-auth__dial { animation: gmb-auth-rejection 950ms ease-in-out; }
.gmb-auth__safe.is-rejected::after { content: ''; position: absolute; inset: -3px; z-index: 11; border: 2px solid #a94442; border-radius: 50%; pointer-events: none; }
@keyframes gmb-auth-rejection {
  0%, 100% { transform: var(--gmb-auth-dial-angle, rotate(0deg)) rotate(0deg); }
  15% { transform: var(--gmb-auth-dial-angle, rotate(0deg)) rotate(-18deg); }
  32% { transform: var(--gmb-auth-dial-angle, rotate(0deg)) rotate(18deg); }
  49% { transform: var(--gmb-auth-dial-angle, rotate(0deg)) rotate(-14deg); }
  66% { transform: var(--gmb-auth-dial-angle, rotate(0deg)) rotate(10deg); }
  83% { transform: var(--gmb-auth-dial-angle, rotate(0deg)) rotate(-6deg); }
}
.gmb-auth__envelope { flex-shrink: 0; height: 200px; margin: 35px 0 50px; }
.gmb-auth__envelope img { display: block; height: 100%; }
.gmb-auth[data-auth-mode="recovery"] .gmb-auth__forgot { position: static; width: auto; margin: 0; transform: none; }
.gmb-auth__panel { position: relative; display: flex; flex-direction: column; justify-content: center; flex-shrink: 0; width: 50%; padding: 70px; border-radius: 0 10px 10px 0; background: #f1f4f7; }
.gmb-auth__form { display: block; margin: 0; }
.gmb-auth__field { position: relative; margin: 0 0 25px; }
.gmb-auth__label { display: block; max-width: 100%; margin: 0 0 3px 10px; color: #3a3a3a; font: 700 13px/16px Arial, 'Droid Sans', sans-serif; white-space: pre-line; }
.gmb-auth__input { display: block; width: 100%; height: 34px; margin: 0; padding: 10px 15px; border: 1px solid #b0bac4; border-radius: 16px; background: #fff; color: #555; box-shadow: inset 0 1px 1px rgb(0 0 0 / 7.5%); font: 400 13px/1.42857143 'GMB Auth Gilroy', sans-serif; appearance: none; transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; }
.gmb-auth__input:focus { outline: none; box-shadow: inset 0 1px 1px rgb(0 0 0 / 7.5%), 0 0 8px rgb(102 175 233 / 60%); }
.gmb-auth__input:disabled { background: #f1f4f7; color: #999; cursor: not-allowed; }
.gmb-auth .gmb-auth__error { display: block; margin: 5px 0 10px; color: #a94442; font: inherit; }
.gmb-auth__field[data-invalid="true"] .gmb-auth__label { color: #a94442; }
.gmb-auth__hint { color: #8c8c8c; font: 400 12px/14px Arial, sans-serif; }
.gmb-auth__actions { position: relative; display: flex; align-items: center; justify-content: space-between; }
.gmb-auth__remember-wrap { position: relative; margin: 10px 0; }
.gmb-auth__remember { position: relative; display: inline-block; max-width: 100%; min-height: 20px; margin: 0; padding: 0; font-weight: 400; }
.gmb-auth__remember input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.gmb-auth__remember span { position: relative; padding-right: 41px; cursor: pointer; user-select: none; color: #3a3a3a; font: 700 13px/16px Arial, 'Droid Sans', sans-serif; }
.gmb-auth__remember span::before { content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 33px; height: 20px; margin: auto; border-radius: 20px; background: rgb(120 120 128 / 16%); transition: all 200ms linear; }
.gmb-auth__remember span::after { content: ''; position: absolute; top: 0; bottom: 0; right: 14px; width: 16px; height: 16px; margin: auto; border: .323529px solid rgb(0 0 0 / 4%); border-radius: 50%; background: #fff; box-shadow: 0 1.94118px 5.17647px rgb(0 0 0 / 15%), 0 1.94118px .647059px rgb(0 0 0 / 6%); transition: all 200ms linear; }
.gmb-auth__remember input:checked + span::before { background: #34c759; }
.gmb-auth__remember input:checked + span::after { right: 1px; }
.gmb-auth__remember input:focus-visible + span::before { outline: 2px solid #3f9adb; outline-offset: 2px; }
.gmb-auth__button { position: relative; display: inline-flex; align-items: center; justify-content: center; margin: 0 0 0 auto; padding: 8px 18px; border: 0; border-radius: 4px; background: #26b99a; color: #fff; text-decoration: none; text-align: center; white-space: nowrap; font: 500 14px/16px 'GMB Auth Gilroy', Arial, sans-serif; cursor: pointer; transition: all 200ms linear; }
.gmb-auth__button:hover { background: #3f9adb; }
.gmb-auth__button:focus-visible, .gmb-auth__link:focus-visible { outline: 2px solid #3f9adb; outline-offset: 3px; }
.gmb-auth__button:disabled { opacity: .6; cursor: default; }
.gmb-auth__button:disabled:hover { background: #26b99a; }
.gmb-auth[data-auth-pending="true"] .gmb-auth__button { cursor: wait; }
.gmb-auth[data-auth-pending="true"] .gmb-auth__button::before { content: ''; flex-shrink: 0; width: 12px; height: 12px; margin-right: 6px; border: 2px solid rgb(255 255 255 / 35%); border-top-color: #fff; border-radius: 50%; animation: gmb-auth-loading 800ms linear infinite; }
@keyframes gmb-auth-loading { to { transform: rotate(360deg); } }
.gmb-auth__remember input:disabled + span { opacity: .6; cursor: not-allowed; }
.gmb-auth__link:disabled { opacity: .5; cursor: default; }
.gmb-auth__link { margin: 0; padding: 0; border: 0; background: none; color: #26b99a; font: 400 13px/16px Arial, 'Droid Sans', sans-serif; text-decoration: underline; cursor: pointer; }
.gmb-auth__link:hover { color: #26b99a; text-decoration: none; }
.gmb-auth__forgot { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); }
.gmb-auth .gmb-auth__status:not(:empty) { margin-top: 16px; font-weight: 700; }
.gmb-auth .gmb-auth__status[data-error="true"] { color: #a94442; }
.gmb-auth__support-mobile { display: none; padding-bottom: 20px; color: #fff; font: 400 13px/1.473 Arial, sans-serif; text-align: center; }
@media (max-width: 970px) {
  .gmb-auth-stage > .gmb-auth { width: calc(100% - 20px); }
  .gmb-auth__welcome { padding: 30px 30px 10px; }
  .gmb-auth__logo img { width: 100%; margin: 0 0 20px; }
  .gmb-auth__panel { padding: 30px 30px 20px; }
}
@media (max-width: 767px) {
  .gmb-auth-page, .gmb-auth-stage { background: #3f9adb; }
  .gmb-auth { flex-direction: column; box-shadow: none; }
  .gmb-auth-stage > .gmb-auth { margin: auto 0; }
  .gmb-auth__welcome { width: 100%; }
  .gmb-auth__safe, .gmb-auth__envelope, .gmb-auth__subtitle, .gmb-auth__support { display: none; }
  .gmb-auth__logo { max-width: 100%; }
  .gmb-auth__panel { width: 100%; border-radius: 10px; }
  .gmb-auth__forgot { position: static; display: block; width: max-content; max-width: 100%; margin: 30px auto 0; transform: none; }
  .gmb-auth__support-mobile { display: block; }
}
@media (prefers-reduced-motion: reduce) { .gmb-auth__dial, .gmb-auth__remember span::before, .gmb-auth__remember span::after, .gmb-auth__button { transition: none; } }
@media (prefers-reduced-motion: reduce) { .gmb-auth__safe.is-rejected .gmb-auth__dial { animation: none; } }
@media (prefers-reduced-motion: reduce) { .gmb-auth[data-auth-pending="true"] .gmb-auth__button::before { animation: none; } }
