.auth-methods {
  background: #fff;
  padding: 0;
}

.auth-methods-item {
  display: flex;
  align-items: center;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 12px;
}

.auth-methods-item-body {
  display: flex;
  flex: 1;
  padding: 20px 24px 20px 0;
  align-items: center;
}

.auth-methods-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.auth-methods-item-drag {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d9d9d9;
  font-size: 20px;
  padding-left: 24px;
  padding-right: 16px;
  cursor: grab;
  align-self: stretch;
}

.auth-methods-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 16px;
}

.auth-methods-item-content {
  flex: 1;
  min-width: 0;
}

.auth-methods-item-header {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.auth-methods-item-title {
  font-size: 15px;
  font-weight: 500;
  color: #262626;
  margin-right: 8px;
}

.auth-methods-item-category {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
}

.auth-methods-item-category.general {
  color: #4096ff;
  background: #e6f4ff;
  border: 1px solid #91caff;
}

.auth-methods-item-category.password-free {
  color: #52c41a;
  background: #f6ffed;
  border: 1px solid #b7eb8f;
}

.auth-methods-item-category.auth-free {
  color: #8c8c8c;
  background: #f5f5f5;
  border: 1px solid #d9d9d9;
}

.auth-methods-item-category.oauth {
  color: #722ed1;
  background: #f9f0ff;
  border: 1px solid #d3adf7;
}

.auth-methods-item-description {
  font-size: 13px;
  color: #8c8c8c;
  line-height: 1.5;
}

.auth-methods-item-config-link {
  font-size: 12px;
  color: #4096ff;
  display: inline-block;
}

.auth-methods-item-config-link .anticon {
  margin-right: 4px;
  font-size: 14px;
}

.auth-methods-item-config-link:hover {
  text-decoration: underline;
  cursor: pointer;
}

.auth-methods-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
}

.auth-methods-dragging {
  opacity: 0.5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.auth-methods-empty {
  padding: 48px 24px;
  text-align: center;
  color: #8c8c8c;
}

