.oauth-block {
  width: 100%;
  margin: 0 0 1rem;
}

.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.oauth-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 52px;
  border-radius: 6px;
  border: 1.5px solid #202020;
  background: #fff;
  color: #111;
  font-family: var(--font-primary, 'Inter', sans-serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.oauth-btn:hover,
.oauth-btn:focus {
  background: #fafafa;
  color: #0d0d0d;
  outline: none;
}

.oauth-btn__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.oauth-btn__icon svg {
  display: block;
  width: 26px;
  height: 26px;
}

.oauth-btn__label {
  line-height: 1.2;
}

.oauth-btn__avatar {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.oauth-btn__avatar svg {
  display: block;
  width: 26px;
  height: 26px;
}

.oauth-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0 1.15rem;
  color: #9ca3af;
  font-family: var(--font-primary, 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
}

.oauth-divider span {
  padding: 0;
  background: transparent;
}

.oauth-legal-hint {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #7f8c8d;
  text-align: center;
}

.oauth-legal-hint a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.oauth-legal-hint a:hover,
.oauth-legal-hint a:focus {
  color: inherit;
}

.ym-guest-form .oauth-block,
.nb-register-form .oauth-block,
.auth-form .oauth-block {
  margin-top: 0;
}

@media (max-width: 420px) {
  .oauth-btn {
    font-size: 14px;
    padding: 12px 46px;
    min-height: 48px;
  }

  .oauth-btn__label {
    white-space: nowrap;
  }
}


/* Auth pages: hide site chrome only (header + mobile menu), keep login/register */
body.ym-auth-no-nav #site-header > header.header,
body.ym-auth-no-nav #site-header > .mobile-menu,
body.ym-auth-no-nav header.header,
body.ym-auth-no-nav .mobile-menu,
body.ym-auth-no-nav #mobileMenu,
body.ym-auth-no-nav #mobileMenuToggle {
    display: none !important;
}
body.ym-auth-no-nav .btn-login--caps {
    font-family: inherit;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.auth-form .btn-login,
.auth-form .btn-login--caps {
  border-radius: 6px !important;
}
.auth-form .form-input {
  border-radius: 6px !important;
}
